Tuesday, 2016-10-25

openstackgerritKenji Ishii proposed openstack/senlin-dashboard: Add create profile action for angular profile panel  https://review.openstack.org/39041600:54
*** ruijie has joined #senlin01:03
openstackgerritRUIJIE YUAN proposed openstack/senlin: action handler support batch policy  https://review.openstack.org/38574101:11
openstackgerritRUIJIE YUAN proposed openstack/senlin: functional test for batch policy  https://review.openstack.org/39023401:13
*** guoshan has joined #senlin01:22
*** yanyanhu has joined #senlin01:29
ruijieHi, I have a question about the 'cluster_replace_nodes' action.02:06
ruijieThe action is now consists of 'node_leave' and 'node_join'02:07
yanyanhuhi, ruijie02:07
ruijieBoth of these two actions will check the desired_capacity before doing the job02:08
ruijieSo, in some case, this action may fail due to this reason02:08
ruijielike desired_Capacity:5 max:502:08
yanyanhuso, there should be dependency relationship between node join and node leave actions02:09
yanyanhuto ensure they won't touch the desired_capacity concurrently02:09
ruijiehi, yanyan. e.g. node_join depends on node_leave02:09
yanyanhue.g. performing node leave first which will reduce the desired_capacity02:09
yanyanhuthen performing node join02:10
ruijiehowever, the desired_capacity:1 and min:102:10
ruijieno matter how the dependency is, that may happen...02:10
yanyanhuI see02:11
yanyanhuunless we put them into the same action02:11
yanyanhubut that will cause other issues02:11
yanyanhulet me see02:11
ruijiethe replace_nodes action may not be able to change the desired_capacity and check it02:11
yanyanhuyes, that is another possible workaround02:12
ruijieyes yanyan. I thinking if we could modify the 'do_leave' and 'do_join' in node_action layer02:12
ruijieam02:12
ruijieor we just add another two methods to implement it...02:12
yanyanhuruijie, it is possible to add another two methods. The problem is it will be difficult to handle the lock if we mixed both removing node operation and adding node operation in the same action02:15
yanyanhus/mixed/mix02:15
ruijiesure yanyan. And then it will be much more easier to handle the index and role.02:16
yanyanhuso I think maybe we can add an input parameter for node_leave and node_join action. If that parameter is set to true, we skip size limitation check02:16
ruijieeh.. in fact, I think a 'replace' action do not need to check the size limitation02:17
yanyanhuruijie, yes, there is no requirement to check size limitation for "replace" action02:17
yanyanhujust those two sub actions "node leave" and "node join" have in other cases02:18
ruijieyes, yanyanhu. If we still use 'node_leave/join', we do need that param.02:19
ruijieSo, we keep using the old methods to implement it or we create another two methods to handle it?02:19
yanyanhuruijie, let me think about it02:22
ruijieThanks yanyanhu. :)02:22
yanyanhuruijie, currently, action target object(e.g. node for node_join/leave action) will be locked before it is operated(e.g. change its cluster_id). However, current design of action execution is only for single target for each action02:25
yanyanhue.g. a cluster action has only one target object which is a cluster02:25
yanyanhuand a node action has only one target object which is a node02:25
ruijieyes, yanyan02:26
yanyanhuso if we want to handle both removing and adding node in the same action(either cluster_node_replace or corresponding node action), we need redesign here02:26
yanyanhuthis will be a big change02:26
ruijieso, it should be divided to two parts02:27
yanyanhuruijie, yes, that is the current design of cluster_replace_nodes02:28
yanyanhunode leave and node join02:28
ruijieyes yanyan. that makes sense.02:28
yanyanhuso, maybe we start from adding parameter for node_join and node_leave action02:29
yanyanhuto see whether it can resolve this issue02:29
yanyanhuand won't cause negative impact02:29
ruijieso, we add parameters to tell 'replace' or 'add' and to see if we need to check the size limitation02:31
yanyanhuruijie, yes02:31
ruijieOkay, it makes sense.02:32
ruijiethanks yanyanhu. Thanks you for answering.02:33
yanyanhumy pleasure :)02:33
openstackgerritYanyan Hu proposed openstack/senlin: Add API support for node_create2  https://review.openstack.org/39025402:38
openstackgerritYanyan Hu proposed openstack/senlin: Add engine support for node_create2  https://review.openstack.org/39015202:38
*** heyongli has joined #senlin03:24
openstackgerritShan Guo proposed openstack/senlin: log.exception should use _LE of i18n  https://review.openstack.org/39043803:47
*** heyongli has quit IRC03:50
openstackgerritShan Guo proposed openstack/senlin: log.exception should use _LE of i18n  https://review.openstack.org/39043803:55
*** guoshan has quit IRC04:45
openstackgerritMerged openstack/senlin-dashboard: Add delete action for angular profile panel  https://review.openstack.org/38782705:02
*** Drago has quit IRC05:14
openstackgerritYanyan Hu proposed openstack/senlin: Remove dead code about node_create  https://review.openstack.org/39044205:43
openstackgerritMerged openstack/senlin: action handler support batch policy  https://review.openstack.org/38574105:56
openstackgerritMerged openstack/senlin: Request object for node-create  https://review.openstack.org/39013805:57
openstackgerritOpenStack Proposal Bot proposed openstack/senlin-dashboard: Imported Translations from Zanata  https://review.openstack.org/38928806:17
openstackgerritAllen proposed openstack/senlin: Use 'openstack' command-client to replace 'senlin receiver-create'  https://review.openstack.org/39000106:35
openstackgerritAllen proposed openstack/senlin: Use 'openstack' command-client to replace 'senlin receiver-create'  https://review.openstack.org/39000106:37
*** yuanying_ has joined #senlin06:38
openstackgerritMerged openstack/senlin: Add engine support for node_create2  https://review.openstack.org/39015206:39
*** yuanying has quit IRC06:42
openstackgerritYanyan Hu proposed openstack/senlin: Add NODE_STATUSES definition into consts  https://review.openstack.org/39045707:07
openstackgerritMerged openstack/senlin: log.exception should use _LE of i18n  https://review.openstack.org/39043807:21
*** zzxwill has joined #senlin07:42
*** zzxwill has quit IRC08:08
openstackgerritYanyan Hu proposed openstack/senlin: Add NODE_STATUSES definition into consts  https://review.openstack.org/39045708:24
openstackgerritYanyan Hu proposed openstack/senlin: Add request object for node-list  https://review.openstack.org/39047208:24
openstackgerritYanyan Hu proposed openstack/senlin: Add engine support for node_list2  https://review.openstack.org/39047308:24
openstackgerritMerged openstack/senlin-dashboard: Updated from global requirements  https://review.openstack.org/38994808:39
openstackgerritMerged openstack/senlin-dashboard: Add the detail link for the cluster in receiver detail page  https://review.openstack.org/39000908:40
openstackgerritAllen proposed openstack/senlin-dashboard: Add angular policies table  https://review.openstack.org/38907608:55
*** guoshan has joined #senlin09:11
*** Drago1 has joined #senlin09:12
*** Drago1 has quit IRC09:13
*** Drago1 has joined #senlin09:13
*** zzxwill has joined #senlin09:22
*** zzxwill has quit IRC09:26
*** heyongli has joined #senlin09:30
*** heyongli has quit IRC09:42
*** zzxwill has joined #senlin09:43
*** Drago1 has quit IRC09:58
*** zzxwill has quit IRC10:00
*** Drago1 has joined #senlin10:09
*** Drago1 has quit IRC10:10
*** Drago1 has joined #senlin10:10
*** yanyanhu has quit IRC10:23
*** zzxwill has joined #senlin10:25
Qimingruijie, welcome10:29
Qimingare you at Barcelona at the moment?10:29
ruijieQiming, you are asking me?10:30
Qimingyes10:30
ruijieNo, I am not...10:30
Qimingokay, I thought I can meet you in person here10:31
ruijieSorry Qiming. I am still in working overtime :)10:31
Qimingcool, :)10:31
Qiminga lot of people here at the summit are working "over time" now10:32
ruijiehaha, yeah. And still have several hours.10:32
*** zzxwill has quit IRC10:36
*** zzxwill has joined #senlin10:36
*** Drago1 has quit IRC10:39
*** zzxwill has quit IRC10:41
*** guoshan has quit IRC10:44
*** Drago1 has joined #senlin10:45
*** Drago1 has quit IRC10:45
*** Drago1 has joined #senlin10:45
*** Drago1 has quit IRC11:44
*** guoshan has joined #senlin11:45
*** guoshan has quit IRC11:49
*** Drago has joined #senlin12:15
*** Drago has quit IRC12:15
*** Drago has joined #senlin12:17
*** guoshan has joined #senlin12:22
*** guoshan has quit IRC12:27
*** Drago has quit IRC12:32
*** Drago has joined #senlin12:33
*** ruijie has quit IRC13:10
*** guoshan has joined #senlin13:23
*** guoshan has quit IRC13:27
openstackgerritJeremy Liu proposed openstack/senlin: Standardize log translation  https://review.openstack.org/39056113:35
*** miaohb has joined #senlin13:47
*** Drago has quit IRC13:49
*** openstackstatus has joined #senlin13:51
*** ChanServ sets mode: +v openstackstatus13:51
*** miaohb has quit IRC13:54
*** XueFengLiu has joined #senlin14:19
openstackgerritJeremy Liu proposed openstack/senlin: Standardize log translation  https://review.openstack.org/39056114:23
*** guoshan has joined #senlin14:24
*** guoshan has quit IRC14:28
*** Drago has joined #senlin14:49
*** Drago has quit IRC14:49
*** Drago has joined #senlin14:49
*** XueFengLiu has left #senlin15:09
*** guoshan has joined #senlin15:24
*** guoshan has quit IRC15:29
*** guoshan has joined #senlin16:25
*** guoshan has quit IRC16:30
*** Drago has quit IRC16:40
*** Drago has joined #senlin16:47
*** Drago has quit IRC16:51
*** Drago has joined #senlin17:07
*** Drago has quit IRC17:07
*** Drago has joined #senlin17:07
*** guoshan has joined #senlin17:26
*** guoshan has quit IRC17:30
*** guoshan has joined #senlin18:00
*** guoshan has quit IRC18:05
*** guoshan has joined #senlin19:02
*** yuanying_ has quit IRC19:04
*** guoshan has quit IRC19:06
*** Drago has quit IRC19:18
*** Drago has joined #senlin19:43
*** Drago has quit IRC19:45
*** Drago has joined #senlin19:45
*** guoshan has joined #senlin20:03
*** guoshan has quit IRC20:07
*** guoshan has joined #senlin21:03
*** xuhaiwei has quit IRC21:08
*** guoshan has quit IRC21:08
*** guoshan has joined #senlin22:04
*** guoshan has quit IRC22:08
*** guoshan has joined #senlin23:05
*** guoshan has quit IRC23:09
*** Drago has quit IRC23:15

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