Friday, 2015-10-09

*** jdandrea has quit IRC00:46
*** lawrancejing has joined #senlin01:34
*** Qiming has joined #senlin01:41
openstackgerritxu-haiwei proposed stackforge/senlin: Make deletion policy work for cluster resize action  https://review.openstack.org/23188502:05
openstackgerritxu-haiwei proposed stackforge/senlin: Make deletion policy work for cluster resize action  https://review.openstack.org/23188502:14
openstackgerritMerged stackforge/senlin-dashboard: Hide metadata while metadata dict is empty  https://review.openstack.org/23259602:31
openstackgerritYanyan Hu proposed stackforge/senlin: Add a TODO item about document  https://review.openstack.org/23149003:09
openstackgerritMerged stackforge/senlin: Make deletion policy work for cluster resize action  https://review.openstack.org/23188503:12
openstackgerritMerged stackforge/senlin: Fix alarm rule parsing behavior  https://review.openstack.org/22880203:16
*** Qiming_ has joined #senlin03:27
*** Qiming has quit IRC03:27
*** Qiming_ is now known as Qiming03:39
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add cluster create action  https://review.openstack.org/23257503:54
openstackgerritMerged stackforge/senlin: Add a TODO item about document  https://review.openstack.org/23149004:07
*** mathspanda has joined #senlin04:23
openstackgerritMerged stackforge/senlin-dashboard: Add cluster create api  https://review.openstack.org/23248704:28
openstackgerritMerged stackforge/senlin-dashboard: Add cluster create action  https://review.openstack.org/23257504:29
*** Zhenqi has joined #senlin04:37
openstackgerritMerged stackforge/senlin: Revise node index assignment  https://review.openstack.org/23131704:39
*** mathspanda has quit IRC05:17
*** Zhenqi has quit IRC05:48
openstackgerritMerged stackforge/senlin: Updated from global requirements  https://review.openstack.org/23290806:15
*** gongysh has joined #senlin06:54
*** xuhaiwei has quit IRC07:09
*** xuhaiwei has joined #senlin07:10
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add node create api  https://review.openstack.org/23293907:48
*** Shijia has quit IRC07:49
*** Shijia has joined #senlin07:53
xuhaiweiQiming08:03
Qiminghi08:04
xuhaiweistill about deletion policy08:04
xuhaiweiI found cluster_del_nodes action just remove specified node out of cluster, so deletion policy should not take effect?08:05
Qimingit doesn't hurt if the policy is implemented correctly08:05
Qimingin previous comments I mentioned that some of the code in the deletion policy can be optimized08:07
QimingI was referring to the case when CLUSTER_DEL_NODES is the action, we don't need to compute candidates08:08
xuhaiweiI think the deletion policy's TARGET should not have CLUSTER_DEL_NODES08:08
Qimingfine08:08
Qimingthat makes sense too08:09
xuhaiweiwe just dont need to check the pre_op at all08:09
Qimingit the TARGET doesn't include CLUSTER_DEL_NODES, the policy won't be effected08:10
xuhaiweiyes08:10
xuhaiweishould it be?08:10
QimingI'm okay with removing CLUSTER_DEL_NODES from target08:10
xuhaiweiok08:11
Qimingif you are looking into the deletion policy (at least it seems so)08:11
Qimingyou may want to think of other possibilities08:11
xuhaiweiyes?08:12
Qimingwhen doing SCALE_IN or RESIZE, we may want to remove nodes that are not ACTIVE first08:12
xuhaiweicurrently deleting ERROR nodes first08:13
Qimingright08:13
Qimingthat logic is not incorrect08:13
Qimingwe may want to remove nodes that are still being created08:14
xuhaiweiyou mean the deletion policy should be improved?08:14
Qimingyes08:15
Qimingif you are looking into that policy, there are something not yet done08:15
xuhaiweiok, I will make a change08:15
Qiminganother aspect that can be improved is about grace period08:15
Qimingand reduce_desired_capacity08:16
Qimingthose two parameters are not handled08:16
Qiminggrace period is an interval during which you will not delete the node08:17
Qimingyou want to grant the app/service running in those nodes some extra time to complete their on-going services08:17
xuhaiweiyes08:18
xuhaiweiI will think about this too08:19
Qimingcool08:19
xuhaiweiby the way, we will have a three days vocation at this weekend08:20
Qimingthat means only one day off, ;)08:20
xuhaiweiyes, one day more08:22
Qiminggood for you08:22
Qimingwe have 10+ days off08:22
Qimingstill working from at home now08:22
xuhaiweithat is IBM's special vocation?08:23
Qimingno, it's China08:24
Qimingpublic holiday08:24
Qimingplus IBM's forced annual leave08:24
xuhaiweiIBM is good08:24
Qimingstill, not everyone is happy about being forced to spend their annual leaves, ;)08:25
xuhaiweiwhy not take it freely?08:26
Qimingit's company's policy08:26
Qimingthey "help" you to balance work and life08:26
xuhaiweiIBM is not so good08:26
Qiminglol08:26
xuhaiweianyway, you have vocation08:27
Qimingyep, it's fun, watching how people get jammed on road, pressed by crowds, cheated/threatened by restaurants08:29
xuhaiweiit really needs time to improve this08:30
Qimingit's safer to stay at home08:31
Qimingthough boring08:31
xuhaiweiyap08:31
openstackgerritxu-haiwei proposed stackforge/senlin: Remove CLUSTER_DEL_NODES from deletion policy's TARGET  https://review.openstack.org/23295308:40
Qimingxuhaiwei, just saw your patch08:48
QimingI'm wondering if we are doing the right thing08:49
Qimingmaybe we can give it a second thought08:50
Qimingstill there?08:50
xuhaiweiyes08:51
Qimingprobably okay, probably not08:52
xuhaiweiI just dont understand why you think cluster_del_nodes need deletion policy at the design state08:52
Qimingwe are not only choosing candidates for deletion in the policy08:52
xuhaiweiyes?08:52
Qimingthe policy also outputs or even enforce 'grace_period'08:53
Qimingso I'm thinking whether these values are relevant to CLUSTER_DEL_NODES use case08:54
xuhaiweiit makes a little sense to me now08:54
xuhaiweifor outputs, should we do it in the action?08:54
Qimingyes, a "tiny" sense to me08:54
lawrancejingQiming: where could get the node/cluster/profile status list (active, creating....)08:56
Qimingnode-list, cluster-list will show their statuses?08:57
xuhaiweifor grace_period, because CLUSTER_DEL_NODES just remove nodes, but not delete them, there should be ok I think08:57
Qiminglawrancejing,  also node-show, cluster-show08:57
Qimingxuhaiwei, think from a user's perspective08:57
Qimingwhen you are typing (for example): senlin cluster-del-nodes -n n1 -n n2 cluster108:58
Qimingwhat would you expect?08:58
xuhaiweiremove these two nodes from cluster1, maybe add them to other clusters08:59
xuhaiweior just delete them08:59
Qimingit is kind of a semantic dilemma, right?08:59
Qimingbut if we provide options like this: senlin cluster-del-nodes --destroy-after-delete -n n1 -n n2 cluster109:00
Qimingthere won't be any ambiguity09:01
xuhaiweiyes09:01
Qimingsounds a better option to me09:02
xuhaiweiwhat opinion?09:03
Qimingprovide a more flexible command interface (also API interface) for deleting nodes from cluster09:03
xuhaiweiadd a destroy_after_deletion option?09:05
Qimingyes09:05
lawrancejingnode-show could show only one status of node..i want to get the all status and distinguish loading and end-state  status so that the node table row could be loading status(yellow) while the node is loading status(creating,deleting)09:05
Qiminglawrancejing, node-list is not giving you the status?09:06
lawrancejingQiming, it does, but i wanna to get all status choices of node.09:08
Qimingoh I see09:08
xuhaiweijust notice 'destroy_after_deletion' is also in the deletion policy, this is especially for cluster_del_nodes action I think09:08
Qiminghttp://git.openstack.org/cgit/stackforge/senlin/tree/senlin/engine/node.py#n3709:08
Qimingokay, they are orthogonal09:09
lawrancejingOK, got that09:09
lawrancejingthanks09:10
Qiminglawrancejing, you are terrific!09:10
xuhaiweiyes, maybe remove it from deletion policy?09:10
Qimingxuhaiwei, on one hand, we can enhance the api/cli to add this option09:10
Qimingon the other hand, we cannot force users to specify everything from api calls or commands09:11
lawrancejing::::)09:11
xuhaiweiyou mean remain both?09:11
Qimingso ... the option 'destroy_after_deletion' and 'grace_period' still useful09:11
Qimingyep09:11
Qimingmaybe we should keep CLUSTER_DEL_NODES one of the TARGET in deletion policy?09:14
Qimingit can be treated as a special case of CLUSTER_SCALE_IN09:14
Qimingit is special because it know very well which nodes are to be removed from the cluster09:15
xuhaiweiyes09:15
xuhaiweithat means only some policies of deletion policy will take effect09:16
Qimingwe really need more discussions of this kind09:16
Qimingyep09:16
xuhaiweifor most users, say deletion policy, only the deletion order comes to their minds09:16
xuhaiweilike me09:17
Qimingyes09:17
Qimingwe added two more options in the policy, ;)09:17
Qimingand so far we believe they are useful, if implemented correctly09:18
xuhaiweijust leave the patch there, I will try to fix grace_period and reduce_desired_capacity09:18
Qimingok09:19
xuhaiweiI will go home now, see u09:19
Qimingwhen those features are implemented09:19
Qimingwe can gain a better understanding how things inter-related09:19
Qimingsee you man!09:19
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add node creation action  https://review.openstack.org/23297909:38
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add cluster delete action  https://review.openstack.org/23298009:39
*** lawrancejing has quit IRC09:43
*** lawrancejing has joined #senlin10:02
*** zhenguo has quit IRC10:03
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add some help text for profle create form  https://review.openstack.org/23298510:04
openstackgerritMerged stackforge/senlin-dashboard: Add cluster delete action  https://review.openstack.org/23298010:11
*** mathspanda has joined #senlin10:12
*** mathspan_ has joined #senlin10:13
*** mathspan_ has quit IRC10:13
*** mathspan_ has joined #senlin10:13
*** mathspan_ has quit IRC10:13
*** mathspan_ has joined #senlin10:13
*** mathspanda has quit IRC10:17
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add node creation action  https://review.openstack.org/23297910:21
*** lawrancejing has quit IRC10:23
*** mathspan_ has quit IRC10:30
*** mathspanda has joined #senlin10:31
*** mathspan_ has joined #senlin10:37
*** mathspanda has quit IRC10:37
*** mathspan_ has quit IRC10:46
*** mathspanda has joined #senlin10:47
*** mathspan_ has joined #senlin11:40
*** mathspanda has quit IRC11:44
*** mathspan_ has quit IRC12:31
*** mathspanda has joined #senlin12:31
*** mathspan_ has joined #senlin12:43
*** mathspanda has quit IRC12:46
*** lawrancejing has joined #senlin13:02
*** mathspan_ has quit IRC13:05
*** mathspanda has joined #senlin13:05
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add some help text for profle create form  https://review.openstack.org/23298513:07
*** mathspan_ has joined #senlin13:54
*** mathspanda has quit IRC13:57
*** Shijia has quit IRC14:23
*** Shijia has joined #senlin14:23
*** Qiming has quit IRC14:26
*** Shijia has quit IRC14:32
*** mathspan_ has quit IRC15:10
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Detemine the cluster row status base on cluster status via ajax  https://review.openstack.org/23311315:11
*** Shijia has joined #senlin15:31
*** Shijia has quit IRC15:37
openstackgerritMerged stackforge/senlin-dashboard: Add node create api  https://review.openstack.org/23293915:49
*** lawrancejing has quit IRC16:11
*** gongysh has quit IRC17:09
*** gongysh has joined #senlin17:09
*** Shijia has joined #senlin17:42
*** Shijia has quit IRC17:47
*** Shijia has joined #senlin18:46
*** Shijia has quit IRC18:51
*** Shijia has joined #senlin19:52
*** Shijia has quit IRC19:56
*** Shijia has joined #senlin20:56
*** Shijia has quit IRC21:02
*** Shijia has joined #senlin22:01
*** Shijia has quit IRC22:06
*** Shijia has joined #senlin23:06
*** Shijia has quit IRC23:12
*** Qiming has joined #senlin23:42
openstackgerritMerged stackforge/python-senlinclient: Updated from global requirements  https://review.openstack.org/23290723:51
*** Shijia has joined #senlin23:58

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