Wednesday, 2016-11-02

*** guoshan has joined #senlin00:03
*** guoshan has quit IRC01:05
*** Drago5 has joined #senlin01:22
*** guoshan has joined #senlin01:24
*** guoshan has quit IRC01:31
*** guoshan has joined #senlin01:32
*** yanyanhu has joined #senlin01:34
openstackgerritAllen proposed openstack/senlin-dashboard: Add angular policies table  https://review.openstack.org/38907601:35
*** zhurong has joined #senlin01:35
*** elynn has joined #senlin01:38
*** elynn has quit IRC01:43
*** elynn has joined #senlin01:44
openstackgerritAllen proposed openstack/senlin-dashboard: Add angular policies table  https://review.openstack.org/38907601:44
ruijiehi, yanyanhu :)01:52
yanyanhuhi, ruijie01:52
elynnmorning :)01:53
ruijiemorning :). I didn't see your message yesterday01:53
yanyanhumorning01:53
yanyanhuruijie, it's ok :)01:54
yanyanhujust tried to get some update about batch policy. We can make it in next meeting or you can leave some information in etherpad :)01:54
ruijieokay. For now, the batch policy can support cluster_delete and cluster_update01:55
ruijieJust have some work for functional test01:55
yanyanhuruijie, great. Any further issue, please ping us in the channel02:04
ruijieokay, yanyanhu :)02:06
*** Drago5 has quit IRC02:14
yanyanhuhi, ruijie, around?02:17
ruijieyes, yanyanhu02:18
yanyanhuI'm checking this patch, https://review.openstack.org/#/c/390731/4/senlin/engine/actions/node_action.py02:19
yanyanhuI noticed the default value of check_constraint is set to False02:19
yanyanhuI'm thinking maybe we should set it to True by default?02:19
ruijie:)02:20
yanyanhusince that is the logic of current implementation. And actually in most cases node join/leave is invoked individually, constraint check is needed02:20
yanyanhuonly for case of node_replace, constraint check should be ignored02:20
ruijieYes, yanyanhu. That is true. Most of the actions need that check02:21
yanyanhuAnd in current patch set, you actually change the condition of constraint check. That means the constraint check will be skipped in all node leave/join02:22
QimingNODE_JOIN and NODE_LEAVE were triggered only by CLUSTER_ADD_NODES and CLUSTER_DEL_NODES02:23
ruijiehttps://review.openstack.org/#/c/390752/302:23
Qimingpreviously we have node_join and node_leave APIs which are already removed02:23
ruijieI also changed the parameter in cluster action layer02:23
Qimingfor CLUSTER_ADD_NODES and CLUSTER_DEL_NODES, size check is already done before the action was executed02:24
yanyanhuah, missed this patch02:24
yanyanhuif so, the logic is ok02:25
QimingI'd suggest we completely remove the size check logic from that two methods02:25
ruijieWill the cluster be locked when one action being executed02:26
Qimingbecause ... in all occasions these two methods are invoked, the size check has already been done02:26
yanyanhuruijie, yes, if action targets on that cluster or a node belongs to that cluster02:27
Qiminghttp://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/cluster_action.py#n91202:28
Qimingthe fact is that node_join and node_leave are always derived actions, there is no such a strong need to size check again02:29
yanyanhuyes, for those two node actions are use invisible, when they are invoked, size checking should have been done in cluster action02:29
Qimingexactly02:29
yanyanhumaybe in later patch02:29
Qimingthis patch is about adding a logic to control wether size check should be performed02:30
Qimingmaybe a simpler, more direct way to fix it is to remove size check directly, instead of introducing some additional conditions to be removed in a future patch02:31
Qimingthoughts?02:31
ruijieI think remove the logic is better.02:32
yanyanhuQiming, yes, that is ok. Just I found size checking is not done in cluster_add_node and cluster_del_node actions?02:32
yanyanhumay need to add it first02:32
Qimingthey are done02:32
Qimingin engine service02:32
yanyanhuah, saw it02:33
yanyanhucheck_size_params is invoked with strict as True02:33
yanyanhuif so, it should be safe to remove that check directly02:34
yanyanhuhi, ruijie, if so, I think this patch is not needed https://review.openstack.org/#/c/390752/302:36
yanyanhuonly need this one https://review.openstack.org/#/c/390731/02:37
ruijieyes, yanyanhu. Will fix it soon. :)02:45
yanyanhuthanks :)02:45
yanyanhuhi, Qiming, around?02:54
Qimingyes02:55
yanyanhusince brian has made 0.9.9 release of sdk, should we propose patch to requirements to bump the upper constraint of sdk to that version?02:55
yanyanhuor the requirement version?02:56
Qimingnot sure02:56
yanyanhuor usually, sdk team will propose the patch?02:56
Qimingyou can check the gate log for your latest patch02:56
Qimingand see if 0.9.9 is already used02:56
yanyanhuI see02:56
Qimingif we have to use 0.9.902:56
yanyanhuwill tigger a gate job first02:56
Qimingthat may need a version bump request02:57
yanyanhugot it02:57
Qimingyou may need to convince the requirements team why 0.9.9 is a must02:57
yanyanhuthe current upper constraint is 0.9.8, so not sure whether 0.9.9 can be applied during the test02:57
yanyanhuI see02:57
yanyanhuwill make a test first02:57
openstackgerritMerged openstack/senlin: functional test for batch policy  https://review.openstack.org/39023403:04
openstackgerritMerged openstack/senlin: Engine support for node_update2  https://review.openstack.org/39174603:05
openstackgerritMerged openstack/senlin: API support for node_update2  https://review.openstack.org/39205203:05
openstackgerritMerged openstack/senlin: Remove dead code about node update  https://review.openstack.org/39205503:05
openstackgerritMerged openstack/senlin: Add Zaqar messaging client for tempest integration test  https://review.openstack.org/38902403:18
openstackgerritCarl proposed openstack/python-senlinclient: Fix syntax errors  https://review.openstack.org/39240903:49
openstackgerritMerged openstack/senlin: Add a bandit environment to tox  https://review.openstack.org/39163003:52
openstackgerritMerged openstack/senlin: cluster delete action handler for batch policy  https://review.openstack.org/39169603:52
openstackgerritMerged openstack/senlin: Use 'openstack' command-client to replace 'senlin receiver-create'  https://review.openstack.org/39000103:52
*** guoshan has quit IRC04:03
openstackgerritYanyan Hu proposed openstack/senlin: Integration test for message receiver  https://review.openstack.org/38909804:03
*** yuanying has quit IRC04:24
*** elynn has quit IRC04:30
*** yuanying has joined #senlin04:36
*** elynn has joined #senlin04:58
*** elynn has quit IRC05:02
*** elynn has joined #senlin05:03
*** guoshan has joined #senlin05:03
*** guoshan has quit IRC05:07
*** elynn_ has joined #senlin05:22
*** elynn has quit IRC05:23
*** elynn__ has joined #senlin05:28
*** elynn_ has quit IRC05:30
ruijiehi, for the size limitation check, I still have a question.05:45
ruijieWe do size check in engine service, then put the action to queue, and then the cluster will be locked.05:46
ruijieIf there are 2 action, cluster with max:2 desire:0, min:0. action1 add 2 nodes, and then action2 add other 2 nodes05:47
ruijiehi,yanyanhu, around05:59
yanyanhuhi, ruijie, just came back05:59
yanyanhuruijie, good question, let me see06:00
ruijieWill that be safe if we remove the size check login in node action layer?06:00
ruijielogic06:00
yanyanhuthere could be risk I think06:02
yanyanhuhi, Qiming, any thought about this issue?06:02
*** guoshan has joined #senlin06:04
Qimingyes, there would be06:07
Qimingthere seem something to do with cluster locked06:07
yanyanhuyes, have the same feeling06:08
*** guoshan has quit IRC06:09
yanyanhuso the point is size check done inside action is safe and accurate06:11
yanyanhuMaybe we let ruijie finish the current patches as a workaround. Then we can think more here for a better solution.06:12
*** guoshan has joined #senlin06:21
openstackgerritQiming Teng proposed openstack/senlin: Request object for cluster policy attach operation  https://review.openstack.org/39242206:22
openstackgerritQiming Teng proposed openstack/senlin: Engine layer cluster-policy-attach2  https://review.openstack.org/39242706:32
*** lvdongbing has joined #senlin06:40
*** yuanying has quit IRC06:46
*** yuanying has joined #senlin06:49
*** elynn_ has joined #senlin06:50
openstackgerritYanyan Hu proposed openstack/senlin: Versioned req object and engine support for node delete  https://review.openstack.org/39243206:52
Qimingem ... what's the point for adding some code which will be removed?06:52
*** elynn__ has quit IRC06:53
openstackgerritYanyan Hu proposed openstack/senlin: Integration test for message receiver  https://review.openstack.org/38909806:54
openstackgerritQiming Teng proposed openstack/senlin: API layer support for cluster-policy-attach2  https://review.openstack.org/39243306:57
ruijieSo, we can check the size limitation after acquire the cluster lock?07:01
Qimingyes, maybe we should07:02
QimingI'd suggest we reaim the current patch to "move" the check from node_join/node_leave to cluster_actions07:03
Qimingsince we all now have a better understanding of the problem to be solved and we have got a consensus on the way to solve it, the patch won't take long to implement or review07:04
Qimingjust a suggestion, if you prefer get the current patch in and propose another patch to add cluster leve check, then another patch to remove checks in node_join/node_leave07:05
Qimingthat is fine also07:05
openstackgerritQiming Teng proposed openstack/senlin: Remove dead engine code wrt cluster policy attach  https://review.openstack.org/39243507:07
ruijieThanks, Qiming. Will propose another patch to add the check to cluster action layer to reduce risk07:08
Qimingokay07:09
Qimingyou already have my +207:09
openstackgerritQiming Teng proposed openstack/senlin: Request object for policy update and detach  https://review.openstack.org/39244107:29
openstackgerritKenji Ishii proposed openstack/senlin-dashboard: Add filterFacets for angular profile table  https://review.openstack.org/38954407:39
*** openstackgerrit has quit IRC07:48
*** openstackgerrit has joined #senlin07:49
*** ChanServ sets mode: +v openstackgerrit07:49
openstackgerritQiming Teng proposed openstack/senlin: Engine support for policy update/detach  https://review.openstack.org/39244907:52
xuhaiweihi Qiming07:59
xuhaiweihi yanyanhu, elynn_, If i create a cluster with heat stack type, and in the heat template i create a new subnet, then when scaling out this cluster, many new subnet will be created, can we avoid this?08:01
xuhaiweiactually we only want the nodes to be in a subnet08:02
xuhaiweiit seems the only way is pre-creating a subnet, and then attach nodes to it, right?08:03
Qiminga minute08:04
yanyanhuxuhaiwei, um, I think currently, we can't08:05
Qimingit looks doesn't like a senlin problem ...08:06
yanyanhuif we use the current heat stack profile08:06
openstackgerritQiming Teng proposed openstack/senlin: API layer objectified policy detach and update  https://review.openstack.org/39245508:13
*** yanyanhu has quit IRC08:13
Qimingit actually depends on whether heat has a support like:08:15
Qimingcreate a port with this name, or reuse the specified port if it exists08:15
Qimingxuhaiwei, what is the requirement ?08:15
Qimingokay, I see, it is about subnet, not port08:16
xuhaiweithe requirement is user wants to create a new subnet with some nodes attached to it, and the nodes are scable08:17
Qimingif a template is about CREATING a subnet, when you are creating stacks out of that template, it will definitely try create multiple subnet08:17
Qimingthen you will precreate that subnet08:18
xuhaiweiif user doesn't want to precreate the subnet?08:19
openstackgerritQiming Teng proposed openstack/senlin: Kill dead code wrt cluster policy detach/update  https://review.openstack.org/39246108:19
Qimingteach heat to do that for you then08:19
xuhaiweiif we use senlin heat resource, this problem can be avoided, create a subnet, then pass the resource to senlin network param08:20
Qimingyou mean heat should be smart enough to make a decision? if a subnet resource is in a template, and that named subnet already exists when creating the stack, heat should just ignore it?08:20
Qimingokay, if you want to do the whole thing using heat, that's fine08:21
openstackgerritmiaohb proposed openstack/senlin: Add filters "policy_name" and "policy_type" for policy binding list  https://review.openstack.org/38850508:28
openstackgerritQiming Teng proposed openstack/senlin: API layer objectified policy detach and update  https://review.openstack.org/39245508:58
*** zhurong has quit IRC09:06
*** elynn_ has quit IRC09:40
*** lvdongbing has quit IRC09:44
openstackgerritQiming Teng proposed openstack/senlin: Kill dead code wrt cluster policy detach/update  https://review.openstack.org/39246109:46
*** guoshan has quit IRC09:48
*** guoshan has joined #senlin09:49
openstackgerritRUIJIE YUAN proposed openstack/senlin: check size constraint in cluster action layer  https://review.openstack.org/39251209:54
openstackgerritRUIJIE YUAN proposed openstack/senlin: remove dead code in node action layer  https://review.openstack.org/39073110:05
*** guoshan has quit IRC10:28
*** guoshan has joined #senlin10:46
*** test_test has joined #senlin11:20
*** test_test has left #senlin11:20
*** XueFeng has joined #senlin11:21
*** XueFeng has left #senlin11:26
openstackgerritQiming Teng proposed openstack/senlin: remove dead code in node action layer  https://review.openstack.org/39073111:50
*** guoshan has quit IRC11:56
*** guoshan has joined #senlin12:08
openstackgerritMerged openstack/senlin: Request object for cluster policy attach operation  https://review.openstack.org/39242212:17
openstackgerritMerged openstack/senlin: Engine layer cluster-policy-attach2  https://review.openstack.org/39242712:25
openstackgerritMerged openstack/senlin: API layer support for cluster-policy-attach2  https://review.openstack.org/39243312:25
openstackgerritMerged openstack/senlin: Remove dead engine code wrt cluster policy attach  https://review.openstack.org/39243512:26
openstackgerritMerged openstack/senlin: Request object for policy update and detach  https://review.openstack.org/39244112:26
openstackgerritMerged openstack/senlin: Engine support for policy update/detach  https://review.openstack.org/39244912:26
openstackgerritMerged openstack/senlin: API layer objectified policy detach and update  https://review.openstack.org/39245512:27
openstackgerritMerged openstack/senlin: Kill dead code wrt cluster policy detach/update  https://review.openstack.org/39246112:27
openstackgerritQiming Teng proposed openstack/senlin: Versioned objects for check/recover requests  https://review.openstack.org/39264013:04
openstackgerritQiming Teng proposed openstack/senlin: Engine support to objectified cluster check/recover  https://review.openstack.org/39266513:39
*** Drago5 has joined #senlin13:51
*** guoshan has quit IRC14:00
*** Drago5 is now known as Drago14:04
*** guoshan has joined #senlin14:09
*** guoshan has quit IRC14:23
*** zzxwill has joined #senlin14:31
*** guoshan has joined #senlin14:48
*** guoshan has quit IRC14:59
*** guoshan has joined #senlin15:13
openstackgerritQiming Teng proposed openstack/senlin: API layer support to cluster check/recover v2  https://review.openstack.org/39271215:17
*** guoshan has quit IRC15:23
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/39282915:40
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/39283415:41
openstackgerritOpenStack Proposal Bot proposed openstack/senlin-dashboard: Updated from global requirements  https://review.openstack.org/39283515:41
openstackgerritQiming Teng proposed openstack/senlin: Tune health manager to use new RPC  https://review.openstack.org/39284315:44
*** zzxwill_ has joined #senlin16:01
*** zzxwill has quit IRC16:04
*** zzxwill_ has quit IRC16:24
*** Drago has quit IRC16:48
*** Drago5 has joined #senlin16:53
*** Drago5 is now known as Drago16:54
*** openstackgerrit has quit IRC18:18
*** openstackgerrit has joined #senlin18:19
*** ChanServ sets mode: +v openstackgerrit18:19
*** yuanying has quit IRC19:03
*** openstack has joined #senlin20:02
*** openstackgerrit has quit IRC20:18
*** openstackgerrit has joined #senlin20:19
*** ChanServ sets mode: +v openstackgerrit20:19
*** Drago has quit IRC21:51
*** Drago5 has joined #senlin21:59
*** Drago5 is now known as Drago22:01
*** Drago has quit IRC22:12
*** Drago5 has joined #senlin22:20
*** Drago5 is now known as Drago22:28

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