Wednesday, 2015-10-07

*** Qiming_ has joined #senlin00:07
*** Qiming_ has quit IRC00:40
*** jruano has quit IRC01:50
*** mathspanda has joined #senlin01:57
*** Shijia has joined #senlin01:57
*** mathspanda has quit IRC02:24
*** mathspanda has joined #senlin02:24
*** mathspanda has quit IRC02:26
*** mathspanda has joined #senlin02:26
*** jdandrea has quit IRC02:26
*** mathspanda has quit IRC02:39
openstackgerritxu-haiwei proposed stackforge/senlin: Make deletion policy work for cluster resize action  https://review.openstack.org/22876003:05
*** jruano has joined #senlin03:21
*** Shijia has quit IRC03:41
*** Shijia has joined #senlin03:42
*** jruano has quit IRC03:48
*** Shijia has quit IRC03:50
*** Shijia has joined #senlin04:10
*** Qiming has joined #senlin05:29
*** xuhaiwei has quit IRC05:33
*** xuhaiwei has joined #senlin05:36
xuhaiweiQiming, are you around?06:25
Qiminghi06:25
xuhaiweisorry , just saw your comment, give me a few minutes06:26
Qimingok06:26
xuhaiweiyour comment makes sense to me, just one question, the pre_op is a common method which will be used to hanlder other actions like SCALE_IN, is it ok to add get_resize_count to it?06:31
Qimingit is okay to add a test in it06:31
xuhaiweiok06:32
Qimingif the current action is CLUSTER_RESIZE, then we do get_resize_count06:32
xuhaiweigot it06:32
Qimingwhat matters more is we want to keep the cluster action handler agnostic to the policies attached06:33
Qimingbut a policy may on the contrary do different things regarding the actions handled06:33
Qimingin other words, we are struggling to keep action handlers from being hijacked by any particular policy06:34
Qimingthere might be a lot variants to a policy06:34
Qimingafter all, policies are plug-ins06:34
Qimingthey are cheap, they can be modified freely06:35
Qiminghope this philosophy makes sense to you06:35
xuhaiweiI dont know why actions handle will do the opposite to the policy? actions handle is always controlled by policy, isnt is06:36
xuhaiweiit06:36
Qimingactions should work despite of any policies06:36
Qimingwe don't want to make a lot assumptions (customizations) in action handlers06:37
xuhaiweiyou mean action will do differently with policy attached or detached?06:37
Qimingit will eventually make the action handlers very complicated to maintain06:37
Qimingaction handlers only cares about inputs, policy data and outputs06:38
Qimingtake the CLUSTER_RESIZE handler (i.e. do_resize()) for example06:38
Qimingit is probably okay to make it aware of certain policy data, certain inputs06:39
Qimingbut we should avoid customize it to any named policy06:39
Qimingif those policies want to have an impact on the action handler, they should do it by customizing the inputs06:40
Qimingor the policy data06:40
xuhaiweiyes, agree06:40
Qimingthis is not well documented06:41
Qimingthe framework is still taking shape06:41
xuhaiweithat's why we should fix the problem on the deletion policy side but not the action side06:41
Qimingyep06:42
Qimingif the deletion policy cannot handle CLUSTER_RESIZE action, it is the policy to be blamed, not the action handler06:43
Qimingthere will be cases where we need to improve the action handler so that it can understand more policy_data, but those cases should be treated as a protocol change06:45
xuhaiweiyes06:45
*** pm90_ has joined #senlin06:49
*** pm90_ has quit IRC07:20
openstackgerritxu-haiwei proposed stackforge/senlin: Make deletion policy work for cluster resize action  https://review.openstack.org/23188508:10
Qimingxuhaiwei, posted comments to your patch08:41
Qimingplease check if it makes sense to you08:41
*** shu has quit IRC09:30
*** Shijia has quit IRC10:07
*** Shijia has joined #senlin10:07
*** Shijia_ has joined #senlin10:15
*** Shijia has quit IRC10:19
*** Shijia_ has quit IRC11:03
*** Shijia has joined #senlin11:04
*** Shijia_ has joined #senlin11:04
*** Shijia has quit IRC11:08
*** lawrancejing has joined #senlin12:14
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add profile spec properties in profile table  https://review.openstack.org/22949312:34
*** Shijia_ has quit IRC12:35
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add profile spec column in profile table  https://review.openstack.org/22949313:27
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Use profile type form spec  https://review.openstack.org/23199413:34
*** jruano has joined #senlin14:02
*** pm90_ has joined #senlin14:33
*** pm90__ has joined #senlin14:38
*** pm90_ has quit IRC14:40
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Support creating profile form yaml and file  https://review.openstack.org/22947414:49
*** jdandrea has joined #senlin14:49
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add node table  https://review.openstack.org/23206015:31
*** janonymous_ has joined #senlin15:31
*** lawrancejing has quit IRC15:31
*** lawrancejing has joined #senlin15:32
*** lawrancejing has quit IRC15:33
*** janonymous_ has quit IRC15:50
*** Qiming has quit IRC16:00
*** pm90__ has quit IRC16:04
*** pm90_ has joined #senlin16:44
*** pm90__ has joined #senlin16:49
*** pm90_ has quit IRC16:52
*** jdandrea has quit IRC17:07
*** jdandrea has joined #senlin17:12
*** pm90__ has quit IRC20:11
*** jruano has quit IRC20:39
*** pm90_ has joined #senlin21:05
*** pm90__ has joined #senlin21:15
*** pm90_ has quit IRC21:17
*** pm90__ has quit IRC22:56
*** pm90_ has joined #senlin22:59
*** yuanying has quit IRC23:16
*** yuanying has joined #senlin23:19
*** lawrancejing has joined #senlin23:44
*** lawrancejing has quit IRC23:44
*** lawrancejing has joined #senlin23:54

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