Tuesday, 2016-12-13

*** thorst has quit IRC00:25
*** thorst has joined #openstack-watcher00:26
*** thorst has quit IRC00:35
*** thorst has joined #openstack-watcher00:35
*** thorst_ has joined #openstack-watcher00:36
*** thorst has quit IRC00:39
*** thorst_ has quit IRC00:41
*** thorst has joined #openstack-watcher00:43
*** thorst has quit IRC00:48
*** thorst has joined #openstack-watcher01:03
*** eil397 has quit IRC01:07
*** thorst_ has joined #openstack-watcher01:07
*** thorst has quit IRC01:08
*** jwcroppe has quit IRC01:10
*** jwcroppe has joined #openstack-watcher01:10
*** yuanying has quit IRC01:11
*** yuanying has joined #openstack-watcher01:11
*** thorst_ has quit IRC01:12
*** thorst has joined #openstack-watcher01:35
*** thorst_ has joined #openstack-watcher01:38
*** thorst has quit IRC01:42
*** thorst_ has quit IRC01:44
*** thorst has joined #openstack-watcher01:49
*** thorst_ has joined #openstack-watcher01:51
*** thorst has quit IRC01:53
*** thorst has joined #openstack-watcher01:55
*** thorst_ has quit IRC01:56
*** thorst has quit IRC02:00
*** thorst has joined #openstack-watcher02:01
*** thorst has quit IRC02:06
*** thorst has joined #openstack-watcher02:11
*** yuanying has quit IRC02:11
*** thorst has quit IRC02:13
*** thorst has joined #openstack-watcher02:13
*** thorst has quit IRC02:23
*** thorst has joined #openstack-watcher02:25
*** thorst_ has joined #openstack-watcher02:40
*** thorst has quit IRC02:43
*** thorst has joined #openstack-watcher02:44
*** thorst_ has quit IRC02:45
*** thorst_ has joined #openstack-watcher02:53
*** thorst__ has joined #openstack-watcher02:55
*** thorst has quit IRC02:56
*** thorst_ has quit IRC02:58
*** thorst has joined #openstack-watcher02:58
*** thorst__ has quit IRC03:01
openstackgerritlicanwei proposed openstack/watcher: Function call pass parameter error  https://review.openstack.org/41001003:03
*** thorst_ has joined #openstack-watcher03:17
*** thorst has quit IRC03:19
*** thorst has joined #openstack-watcher03:19
*** thorst_ has quit IRC03:22
*** thorst_ has joined #openstack-watcher03:23
*** thorst has quit IRC03:27
*** thorst has joined #openstack-watcher03:36
*** thorst_ has quit IRC03:39
*** harlowja has quit IRC03:43
*** thorst has quit IRC03:44
*** thorst has joined #openstack-watcher03:51
*** thorst has quit IRC03:56
*** thorst has joined #openstack-watcher03:59
*** thorst has quit IRC04:04
*** harlowja has joined #openstack-watcher04:21
*** yuanying has joined #openstack-watcher04:33
*** thorst has joined #openstack-watcher05:02
*** harlowja has quit IRC05:08
*** thorst has quit IRC05:08
openstackgerritlicanwei proposed openstack/watcher: Get disk_capacity from the statistics  https://review.openstack.org/41004505:21
*** eil397 has joined #openstack-watcher05:22
*** harlowja has joined #openstack-watcher05:56
*** thorst has joined #openstack-watcher06:06
*** yuanying has quit IRC06:12
*** yuanying has joined #openstack-watcher06:12
*** yuanying has joined #openstack-watcher06:13
*** eil397 has quit IRC06:13
*** thorst has quit IRC06:13
*** yuanying has quit IRC06:17
*** atuly has joined #openstack-watcher06:19
atulyFor https://bugs.launchpad.net/watcher/+bug/164792706:20
openstackLaunchpad bug 1647927 in watcher "TypeError if no input_parameters added" [Undecided,New]06:20
atulyShould we raise an exception if Attribute type is none06:20
atulydefine a New eception InvalidType06:20
atulyor Something like InvalidAttribute06:21
atulyLet me know your thoughts06:22
*** thorst has joined #openstack-watcher07:11
*** dtardivel has joined #openstack-watcher07:14
*** thorst has quit IRC07:19
*** harlowja has quit IRC07:25
*** atuly has quit IRC07:45
*** atuly has joined #openstack-watcher07:47
hidekazuhi, atuly.07:50
*** yuanying has joined #openstack-watcher07:51
atulyhi hidekazu07:52
hidekazui reported https://bugs.launchpad.net/watcher/+bug/164792707:52
openstackLaunchpad bug 1647927 in watcher "TypeError if no input_parameters added" [Undecided,New]07:52
atulyYes07:52
atulyAre you working on it ?07:52
hidekazuNo, i am working on company work :)07:53
hidekazuare you?07:53
hidekazuif you are interested in this bug, please work on.07:54
atulyOkay :)07:55
hidekazuthis bug is actually edge case: only resource_id is given.07:55
atulyIn that case will it be okay to raise exception ?07:56
hidekazuI have an idea.07:56
hidekazubefore https://github.com/openstack/watcher/blob/master/watcher/decision_engine/solution/default.py#L4507:56
hidekazusimply add input_parameters = {}07:56
hidekazui am against to raise exception.07:58
atulyokay08:00
hidekazuthis bug is occured such a case that: solution.add_action(action_type=xxx,resource_id=yyy).08:00
hidekazuIn real case, solution.add_action(action_type=xxx,resource_id=yyy, input_parameters=parameters).08:01
hidekazureal case is not bug case.08:02
hidekazu"no input_parameters" means that.08:02
hidekazui wrote very simple case and hit the bug..08:03
atulyYes i am also checking in case where we would have passed without input_parameters08:03
atulybut yes it should also be handled.08:03
hidekazuactually for this bug, i am writing the following now: solution.add_action(action_type=xxx,resource_id=yyy, input_parameters={})08:05
hidekazusimply added  input_parameters={} :(08:06
atulyfor testing i guess it better to handled before passing08:09
atulyin that case we might not have to do any changes in code. or as a preventive check can be added in def add_action()08:11
hidekazuatuly: i image this is simply logical bug in add_action() method.08:12
hidekazuatuly, some bugs in ocata-2 are assigned to you,though.08:16
*** thorst has joined #openstack-watcher08:16
*** thorst has quit IRC08:23
openstackgerritlicanwei proposed openstack/watcher: Function call pass parameter error  https://review.openstack.org/41001008:24
*** alexchadin has joined #openstack-watcher08:30
openstackgerritAlexander Chadin proposed openstack/watcher: New default planner  https://review.openstack.org/40699108:44
openstackgerritAlexander Chadin proposed openstack/watcher: New default planner  https://review.openstack.org/40699108:46
*** exploreshaifali has joined #openstack-watcher08:49
*** atuly has quit IRC08:55
*** alexchadin has quit IRC09:18
*** alexchadin has joined #openstack-watcher09:19
*** thorst has joined #openstack-watcher09:21
alexchadinacabot: could you please approve it? https://blueprints.launchpad.net/watcher/+spec/parallel-applier09:22
*** thorst has quit IRC09:29
*** alexchadin has quit IRC09:39
*** alexchadin has joined #openstack-watcher09:39
*** yuanying has quit IRC09:47
*** alexchadin has quit IRC09:57
*** alexchadin has joined #openstack-watcher09:58
*** alexchadin has quit IRC10:03
*** alexchadin has joined #openstack-watcher10:03
*** alexchadin has quit IRC10:08
*** thorst has joined #openstack-watcher10:27
*** thorst has quit IRC10:34
*** alexchadin has joined #openstack-watcher10:41
*** alexchadin has quit IRC10:59
*** alexchadin has joined #openstack-watcher11:00
openstackgerritMerged openstack/watcher: improve statistic_aggregation  https://review.openstack.org/40966811:02
*** thorst has joined #openstack-watcher11:32
*** thorst has quit IRC11:38
*** thorst has joined #openstack-watcher11:48
*** thorst has quit IRC11:53
openstackgerritMerged openstack/watcher: Unnecessary exception  https://review.openstack.org/40843712:00
*** alexchadin has quit IRC12:01
*** alexchadin has joined #openstack-watcher12:01
sballe_Morning12:17
sballe_Thc for the comments and +1s on https://review.openstack.org/#/c/404972/6 and https://review.openstack.org/#/c/404972/612:18
sballe_dtardivel: can you please +2 my patches assuming you like them12:18
*** thorst has joined #openstack-watcher12:19
*** alexchadin has quit IRC12:24
*** alexchadin has joined #openstack-watcher12:25
*** alexchadin has quit IRC12:26
*** alexchadin has joined #openstack-watcher12:26
*** alexchadin has quit IRC12:58
*** alexchadin has joined #openstack-watcher12:58
*** alexchadin has quit IRC12:59
*** alexchadin has joined #openstack-watcher12:59
*** alexchadin has quit IRC12:59
*** alexchadin has joined #openstack-watcher13:00
*** alexchadin has quit IRC13:02
*** exploreshaifali has quit IRC13:02
*** alexchadin has joined #openstack-watcher13:02
*** alexchadin has quit IRC13:02
*** alexchadin has joined #openstack-watcher13:03
*** alexchadin has quit IRC13:03
*** alexchadin has joined #openstack-watcher13:04
*** alexchadin has quit IRC13:09
*** lamt has joined #openstack-watcher14:03
*** jwcroppe has quit IRC14:31
*** jwcroppe has joined #openstack-watcher14:42
*** jwcroppe has quit IRC14:44
*** michaelgugino has joined #openstack-watcher14:45
*** jwcroppe has joined #openstack-watcher15:00
*** alexchadin has joined #openstack-watcher15:18
openstackgerritMerged openstack/watcher: Specific exception for stale cluster state was added.  https://review.openstack.org/39920215:35
*** jwcroppe has quit IRC15:51
*** alexchadin has quit IRC15:59
*** alexchadin has joined #openstack-watcher15:59
*** alexchad_ has joined #openstack-watcher16:02
*** alexchadin has quit IRC16:03
*** alexchad_ has quit IRC16:05
*** eil397 has joined #openstack-watcher16:49
openstackgerritAmy Fong proposed openstack/watcher: multinode devstack update for live-migration  https://review.openstack.org/41033417:32
*** thorst has quit IRC17:37
*** thorst has joined #openstack-watcher17:37
*** thorst has quit IRC17:42
*** dtardivel has quit IRC17:54
*** thorst has joined #openstack-watcher19:06
*** dtardivel has joined #openstack-watcher19:38
dtardivelpshedimb: hi19:39
pshedimbdtardivel, hi19:44
*** thorst has quit IRC19:46
dtardivelwill you have time to work on https://review.openstack.org/#/c/403923/ ? we release ocata-2 tomorrow, and I would like to merge your changesets on config ;)19:49
pshedimbdtardivel, yes. I'm working on it now. I have a question on it.19:50
pshedimbShould we have auth options for each client, inside their client file (like watcher/conf/cinder_client will have its specific auth)19:51
pshedimbor a common clients_auth19:52
pshedimbI'm not sure if what I did in client_auth(https://review.openstack.org/#/c/403923/4/watcher/conf/clients_auth.py) is correct.19:53
pshedimbdtardivel, any suggestion?20:00
dtardivelpshedimb: sorry my internet connection is not stable tonight.20:02
dtardivelwe should have a common client_auth. It is used to initialize an unique session used after by any clients20:04
pshedimbAlso I have one more question.20:06
dtardivelpshedimb: did you have a look on Ironic project here : https://github.com/openstack/ironic/blob/master/ironic/conf/auth.py20:06
dtardivel?20:06
pshedimbdtardivel, nope. I was seeing conf options for nova project20:08
pshedimbI'll take a look at it now20:08
pshedimbAlso, dtardivel one more question.20:08
pshedimbin bp, Vincent said he took conifg options from nova20:09
pshedimbAnd for watcher/cmd/dbmanage.py20:10
pshedimbdbmanage has sub command opts20:10
pshedimbAnd nova left all sub command opts in their original files (did not move to nova/conf)20:10
pshedimbSub command opts register in cli_opt from whatever I have seen20:11
pshedimbSo you still want me to move them to the conf file?20:12
pshedimbDo*20:12
dtardivelno. it is not done in ironic as well20:14
pshedimbokay.20:18
pshedimbThen I will fix the client+auth and push it soon20:18
dtardivelpshedimb: thx a lot. I will review it tomorrow morning (for me). good luck :)20:20
pshedimbokay. dtardivel20:20
pshedimbdtardivel, one final question20:20
pshedimbconf/_opts.py all the test cases use that. I got a comment from Rong Han that it should be removed.20:21
pshedimbDo I do that now?20:21
dtardivelWhy should it be removed ?20:26
pshedimbi think after centralizing config options, it is not required. That was there before doing all this20:31
dtardivelok20:35
dtardivelyou can remove it if it is not used now20:37
*** diga has joined #openstack-watcher20:43
*** diga has quit IRC22:19
*** lamt has quit IRC22:31
*** lamt has joined #openstack-watcher22:33
*** dtardivel has quit IRC23:04
openstackgerritPrudhvi Rao Shedimbi proposed openstack/watcher: Implemented clients and auth config module  https://review.openstack.org/40392323:24
openstackgerritPrudhvi Rao Shedimbi proposed openstack/watcher: Implemented clients and auth config module  https://review.openstack.org/40392323:31

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!