Friday, 2016-11-18

*** zhurong has joined #senlin00:09
*** catintheroof has joined #senlin00:11
*** guoshan has joined #senlin00:22
*** zhurong has quit IRC00:24
*** guoshan has quit IRC00:26
*** catintheroof has quit IRC00:54
*** ruijie has joined #senlin01:08
*** yanyanhu_ has joined #senlin01:21
*** guoshan has joined #senlin01:25
*** zhurong has joined #senlin01:35
*** elynn has joined #senlin01:59
*** elynn_ has joined #senlin02:05
*** elynn_ has quit IRC02:07
*** elynn has quit IRC02:08
*** elynn has joined #senlin02:11
*** elynn_ has joined #senlin02:13
openstackgerritMerged openstack/senlin: Add request object for event-list  https://review.openstack.org/39758302:15
*** elynn has quit IRC02:17
*** guoshan has quit IRC02:20
*** guoshan has joined #senlin02:24
openstackgerritMerged openstack/senlin: Add engine support for event_list2  https://review.openstack.org/39834002:27
openstackgerritMerged openstack/senlin: Api support for event_list2  https://review.openstack.org/39834102:30
openstackgerritMerged openstack/senlin: Remove dead code related to profile list  https://review.openstack.org/39817902:30
openstackgerritMerged openstack/senlin: API support for profile-get2  https://review.openstack.org/39749302:30
openstackgerritMerged openstack/senlin: APi support for profile-delete2  https://review.openstack.org/39814702:30
openstackgerritMerged openstack/senlin: Update the cli in doc of policy command  https://review.openstack.org/39815602:30
*** lixinhui has joined #senlin02:50
*** zhurong_ has joined #senlin03:10
*** zhurong has quit IRC03:12
*** lixinhui has quit IRC03:15
*** guoshan has quit IRC03:17
*** lixinhui has joined #senlin03:18
*** guoshan has joined #senlin03:19
*** lixinhui has quit IRC03:25
*** elynn_ has quit IRC03:31
*** lixinhui has joined #senlin03:35
*** zhurong_ has quit IRC03:42
*** zhurong has joined #senlin03:43
*** guoshan has quit IRC03:57
*** lixinhui has quit IRC04:19
*** lixinhui has joined #senlin04:24
openstackgerritxu-haiwei proposed openstack/senlin: Add container node profile id to vm cluster's 'dependents' property  https://review.openstack.org/39815404:57
*** guoshan has joined #senlin04:58
*** guoshan has quit IRC05:03
*** XueFeng has joined #senlin05:19
*** XueFeng has quit IRC05:24
*** XueFeng has joined #senlin05:25
Qiminghi, all, just changed the status of the bp to review: https://blueprints.launchpad.net/senlin/+spec/generic-event05:37
ruijieHi, Qiming. This feature  is about sending the events and notification to a 3rd party tools or something periodically?05:44
Qimingruijie, my fault, I didn't add link to the spec in the bp05:47
Qimingbecause I was moving the spec file into the 'approved' directory after it was approved but that file movement patch wasn't approved for some days05:48
Qimingfixing the link now05:48
Qimingnow you can find the link to the spec from the bp05:48
Qimingjust edited it05:49
ruijiethanks Qiming, will read it05:50
*** elynn_ has joined #senlin05:54
*** guoshan has joined #senlin05:59
*** XueFeng has quit IRC06:01
*** XueFeng has joined #senlin06:01
*** elynn_ has quit IRC06:01
*** elynn_ has joined #senlin06:01
*** guoshan has quit IRC06:03
*** XueFeng has quit IRC06:22
*** XueFeng has joined #senlin06:22
*** XueFeng has quit IRC06:24
*** XueFeng has joined #senlin06:28
*** XueFeng has quit IRC06:29
*** XueFeng has joined #senlin06:30
*** guoshan has joined #senlin06:30
*** XueFeng has quit IRC06:40
*** XueFeng has joined #senlin06:41
*** XueFeng has quit IRC06:41
openstackgerritmiaohb proposed openstack/python-senlinclient: event list display error  https://review.openstack.org/39939106:42
openstackgerrithoward lee proposed openstack/python-senlinclient: Modify development doc url in CONTRIBUTING.rst  https://review.openstack.org/39939907:00
Qimingyanyanhu_, we still haven't got the mascot design draft?07:06
yanyanhu_Qiming, yes, not yet...07:06
yanyanhu_maybe I should send a mail to heidi07:06
Qimingseeing patch like this: https://review.openstack.org/#/c/399278/07:06
Qimingmaybe we should check with heidi07:06
yanyanhu_yes07:07
yanyanhu_will send her a mail today07:07
Qiminggreat07:07
yanyanhu_oh, BTW, do you have the image or a link to it when we proposed for senlin mascot?07:08
yanyanhu_want to include it in the mail as reference07:09
Qiminglemme check07:09
yanyanhu_ok, thanks07:09
Qimingsent07:09
Qimingcan any cores help review the event BP and get it approved? (https://blueprints.launchpad.net/senlin/+spec/generic-event) the spec has been merged.07:10
QimingI have commited two patches with bp/generic-event07:11
Qimingstill waiting for approval before continuing down this path ...07:11
yanyanhu_hi, have approved it07:11
openstackgerritmiaohb proposed openstack/senlin: Add sort key "cluster_id" for event list  https://review.openstack.org/39940307:12
Qiminggreat ...07:14
ruijiein my current understanding, all the events will be transfer to notifications if the user configure the spec ?07:17
Qimingno, not necessarily07:34
Qimingwe will build the infrastructure to enable that07:34
Qimingbut we will also provide some default configuration options for users to control what are the notifications they want to emit07:35
Qimingwe will make such decisions when we are there07:35
openstackgerritQiming Teng proposed openstack/python-senlinclient: Fix cluster_id field when listing events  https://review.openstack.org/39939107:38
openstackgerritQiming Teng proposed openstack/senlin: Revise event dump to use the DB driver  https://review.openstack.org/39941307:39
Qimingsigh ... the 399413 patch above was ... messing up with previous patches still under review07:39
Qimingguys, could you please help review these patches? https://review.openstack.org/#/c/398105/07:40
Qiminghttps://review.openstack.org/#/c/398225/07:40
Qimingmaybe I can get a chance to revive this one: https://review.openstack.org/#/c/399413/07:40
yanyanhu_hi, Qiming, I have approved this one. https://review.openstack.org/#/c/39810507:44
yanyanhu_you can rebase dependent after it is merged07:44
Qimingokay, forgot to create a branch for the latest patch07:48
Qimingforever waiting ...07:48
yanyanhu_...07:50
yanyanhu_so it's on master...07:50
yanyanhu_ok, if so, lets let them in and fix issues in other patches if needed07:51
yanyanhu_rebase is really a headache07:51
Qimingcannot move on now07:56
QimingThe outstanding commits are:07:56
Qimingdafd987 (HEAD -> db-event-driver) Revise event dump to use the DB driver07:56
Qiminge9570e2 Revise the DB event dumper07:56
Qimingb47d9b6 (mv-event-driver) Move event database driver out of engine07:56
QimingDo you really want to submit the above commits?07:56
QimingType 'yes' to confirm, other to cancel: yes07:56
Qimingremote: Processing changes: refs: 1, done07:56
Qimingremote: (W) No changes between prior commit d3a65e1 and new commit dafd98707:56
QimingTo https://tengqm:ZcK4qjpWkuIY@review.openstack.org/openstack/senlin.git07:56
Qiming ! [remote rejected] HEAD -> refs/publish/master/bp/generic-event (no changes made)07:56
Qimingerror: failed to push some refs to 'https://tengqm:ZcK4qjpWkuIY@review.openstack.org/openstack/senlin.git'07:56
*** openstackgerrit has quit IRC08:03
*** openstackgerrit has joined #senlin08:04
*** ChanServ sets mode: +v openstackgerrit08:04
yanyanhu_this is terrible...08:06
yanyanhu_maybe start from the dependency, one by one08:06
yanyanhu_have you made further changes on https://review.openstack.org/#/c/398225/ and https://review.openstack.org/#/c/39941308:07
yanyanhu_if not, we can merge 398225 first and then 39941308:07
openstackgerritXueFeng Liu proposed openstack/senlin: Support action project_safe in db layer  https://review.openstack.org/39942308:08
openstackgerritMerged openstack/senlin: Move event database driver out of engine  https://review.openstack.org/39810508:10
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Support  "global_project" arguments for action-list  https://review.openstack.org/39780508:11
openstackgerritmiaohb proposed openstack/python-senlinclient: The output of event-list by filter "cluster_id" return empty  https://review.openstack.org/39942508:17
openstackgerritmiaohb proposed openstack/python-senlinclient: The output of action list filtered by "target" returns empty  https://review.openstack.org/39943708:31
openstackgerritMerged openstack/senlin: Add sort key "cluster_id" for event list  https://review.openstack.org/39940308:38
*** gongysh2 has quit IRC08:39
openstackgerritQiming Teng proposed openstack/senlin: Revise event dump to use the DB driver  https://review.openstack.org/39941308:43
*** gongysh2 has joined #senlin08:51
openstackgerritmiaohb proposed openstack/python-senlinclient: The output of event-list by filter "cluster_id" return empty  https://review.openstack.org/39942508:57
ruijiehi Qiming.08:59
ruijiehttps://review.openstack.org/gitweb?p=openstack/senlin.git;a=blob;f=senlin/engine/service.py;h=2dedefa9a2082e4ebd99bad049b68d2b7b709e66;hb=e9570e2a363ed863d142e6820edd6e583175175f#l122008:59
ruijieFor this 'TODO', I didn't get the point of it ..09:00
*** XueFeng has joined #senlin09:00
Qimingokay, profile_find was provided as a convenience for finding a profile object using its name, or ID, or short ID09:01
Qimingthe logic is in the same module09:01
*** zhurong has quit IRC09:01
Qiminghowever, line 1221 is using cluster.profile_id, which is always a full ID of a profile09:01
Qimingwe should not waste time doing a 'find'09:01
Qimingjust go to the database and grab it would be fine09:02
*** zhurong has joined #senlin09:02
ruijieem, right09:02
ruijieand for the lines between 1264-128209:03
ruijieI set different msg depends on different situation09:04
Qimingthat is good, but not good enough09:04
Qimingthe point, or the value, of differentiating error situations is that we are attempting to report as many errors as possible in a single attempt09:05
ruijieall the wrong messages connot be combined together ?09:05
openstackgerritmiaohb proposed openstack/python-senlinclient: The output of action list filtered by "target" returns empty  https://review.openstack.org/39943709:06
Qimingor else we should have raise an exception directly in the loop at line 1231, abort the processing immediately09:06
Qimingit is like what a compiler does today09:06
ruijieyes, Qiming. Get the point now :) ..09:06
Qimingit will complain that a included file cannot be found, while at the same time, it also continues to check other things09:07
ruijieso, now we want to raise an exception once it happens or we collect all errors?09:07
Qimingthe current logic is killing the value for accumulating errors09:07
QimingI'd prefer we do an aggregation09:08
Qiminge.g.09:08
Qimingthere could be some nodes A, C could not be found, node B is in bad status09:08
Qimingthen we return a detailed error with all of that09:08
Qimingline 1263 can be this: msg = []09:09
Qimingthen we do msg.append(...) in each if or elif branch09:09
ruijiesure Qiming. we append all error messages to the list09:09
Qimingfinally, we combine them into LOG.error('\n'.join(msg))09:10
Qimingget the points now?09:10
ruijieyes Qiming, exactly :)09:10
ruijieWill fix it and other cluster_actions09:11
Qimingthx09:11
ruijiethanks for explaining :)09:12
Qimingnp09:13
*** elynn_ has quit IRC09:17
*** AlexeyAbashkin has joined #senlin09:53
*** zhurong has quit IRC09:59
openstackgerritMerged openstack/senlin: Revise action's raise catch  https://review.openstack.org/39898810:03
*** lixinhui has quit IRC10:04
*** yanyanhu_ has quit IRC10:05
*** AlexeyAbashkin has quit IRC10:16
*** ruijie has quit IRC10:30
*** guoshan has quit IRC10:32
*** guoshan has joined #senlin11:12
*** guoshan has quit IRC11:16
*** guoshan has joined #senlin12:13
*** guoshan has quit IRC12:15
*** zhurong has joined #senlin14:18
*** zhurong has quit IRC14:30
*** zhurong has joined #senlin14:35
*** zhurong has quit IRC14:55
*** Drago1 has joined #senlin16:32
*** Drago1 has quit IRC16:37
*** Drago1 has joined #senlin16:45
*** catintheroof has joined #senlin21:31

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