Monday, 2017-06-05

*** zhurong has joined #senlin01:33
*** zhurong has quit IRC01:44
*** LHB has joined #senlin02:06
openstackgerritLingyong Xu proposed openstack/senlin master: Replace oslo_utils.timeutils.isotime  https://review.openstack.org/46979002:22
Qiminghi02:29
QimingLHB, online?02:29
LHBQiming, Hi02:29
QimingI was looking at the several blueprints you proposed02:30
Qimingthanks for leading those efforts02:30
Qimingwhen looking at the text description, I'm still not very clear about some of the details02:31
Qimingfor example: https://blueprints.launchpad.net/senlin/+spec/cluster-scale-out-use-existing-node02:31
Qimingthis one proposes scaling out a cluster to some existing nodes02:31
Qimingand https://blueprints.launchpad.net/senlin/+spec/add-attribute-fast-scaling-to-cluster02:31
Qimingproposes a similar function, scaling a cluster using nodes backed by a standby cluster02:32
Qimingso ... I'm wondering if we can merge these two proposals02:32
*** zhurong has joined #senlin02:32
Qiminganyway, a user has to specify the candicate nodes for a scale-out operation, if we follow the design in the first BP02:33
LHBI think scale out use existing nodes means if we have not create a standby cluster, but if there have any nodes created by the same profile with the cluster, maybe we could consider to use these nodes.02:37
Qimingthen you can use cluster-node-add for the same purpose, right?02:38
LHByes, cluster-node-add is manual, I want automatic to use scale-out to add these nodes .02:40
Qimingscale-out is not repeatable ...02:40
Qimingthere are two options, based on my understandings02:41
Qimingeither you do "cluster-scale-out -c 1 --candidate <a-node-id>", or you let senlin engine choose a node for you02:41
Qimingthe first command is the same as cluster-node-add, because it explicitly specifies the node to add02:42
Qimingwhile the second option is very dangerous, senlin doesn't know what other nodes are used for02:42
LHBEn...I thought to use second option, but have not  considered the security.02:47
Qimingthere must be some other constraints when adding a node to a cluster02:47
Qimingwe cannot make such a decision simply based on profile type02:47
Qimingso ... from a user's perspective, your second BP makes better sense02:48
openstackgerritTuan Luong-Anh proposed openstack/senlin master: Replace assertTrue(isinstance()) with assertIsInstance()  https://review.openstack.org/47081702:49
Qimingpreviously, I have been thinking about adding a different property to 'Cluster' which specifies the shadow/standby cluster directly02:49
Qimingmaybe this idea should be merged into your design as well02:49
Qimingsince it is gonna be a very useful feature, I'd suggest we start with a more detailed design to make sure everyone understands where we are going02:50
Qimingwhat I'm actually suggesting is a spec file proposed to the senlin/doc/specs directory02:51
Qimingwe can exchange thoughts using gerrit review process, which is much more convenient than the launchpad blueprint02:52
Qiminghere is a template: http://git.openstack.org/cgit/openstack/senlin/tree/doc/specs/template.rst02:52
LHBThanks for your suggestions,  I will think seriously and then wirte a specs later, because I'm basy for someting about graduation  recently.02:56
Qimingokay, take your time02:56
Qimingsome drafts would be very helpful for the team to discuss02:57
openstackgerritRUIJIE YUAN proposed openstack/senlin master: reduce DB interaction in affinity-policy  https://review.openstack.org/47082803:25
*** ruijie_ is now known as ruijie03:26
*** XueFeng has joined #senlin03:59
*** XueFeng has quit IRC05:38
*** XueFeng has joined #senlin05:38
openstackgerritMerged openstack/senlin master: Remove usage of parameter enforce_type  https://review.openstack.org/46971706:15
openstackgerritQiming Teng proposed openstack/senlin master: Remove a TODO item  https://review.openstack.org/47085306:18
chenyb4Hi, I have a question. How can i join senlin team ?06:18
Qiminghi, chenyb4, what do you mean by joining the team06:19
chenyb4the nova allow user use this url https://launchpad.net/~nova join06:19
Qimingeveryone working on the development is considered part of the team06:19
Qimingthe launchpad team is meaningless, afaict06:20
chenyb4ok, thanks06:20
openstackgerritQiming Teng proposed openstack/senlin master: Use get_rpc_transport instead of get_transport  https://review.openstack.org/47085506:27
*** XueFeng has quit IRC06:28
*** XueFeng has joined #senlin06:29
*** elynn has joined #senlin06:29
*** LHB has quit IRC06:50
*** LHB has joined #senlin06:50
ruijiehi Qiming, there?06:51
Qimingyes06:52
ruijieI am trying to use action's runtime data in policies instead of querying it from DB06:52
ruijieis that acceptable :)06:52
openstackgerritQiming Teng proposed openstack/senlin master: Remove a TODO item related to oslo.messaging  https://review.openstack.org/47085906:54
Qimingit is a little bit dangerous, but doable06:54
Qimingprobably you will need a review of the Cluster (or Node) object initialization logic at the base Action class06:55
Qimingwe need to ensure (at least) when an action is intialized, we are seeing the latest resource status from database.06:55
Qimingduring Action execution, most of the time, the 'entity' is locked, so its properties won't get changed by other concurrent Actions06:56
Qimingthat was the reason we 'invented' the runtime data thing06:56
openstackgerritMerged openstack/senlin master: reduce DB interaction in affinity-policy  https://review.openstack.org/47082807:00
ruijieyes Qiming, that should be fine: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/base.py#n46707:01
ruijiewe will load the action every time we process it, the action will load the entity then07:02
Qimingwell, I meant this line: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/cluster_action.py#n5307:03
Qimingthe entity is loaded afresh, that should be fine07:03
ruijieyes Qiming :)07:05
*** elynn has quit IRC07:14
*** zhurong has quit IRC07:31
*** zhurong has joined #senlin07:40
openstackgerritRUIJIE YUAN proposed openstack/senlin master: revise deletion-policy to use action's runtime data  https://review.openstack.org/47086707:41
*** zhurong has quit IRC08:20
*** zhurong has joined #senlin08:50
*** XueFeng has quit IRC09:30
*** XueFeng has joined #senlin09:30
*** zhurong has quit IRC09:59
*** zhurong has joined #senlin10:13
*** LHB has quit IRC10:28
*** zhurong has quit IRC12:04
*** catintheroof has joined #senlin12:35
openstackgerritMerged openstack/senlin master: Remove a TODO item related to oslo.messaging  https://review.openstack.org/47085913:17
*** chenyb4_ has joined #senlin13:28
*** zhurong has joined #senlin13:46
openstackgerritMerged openstack/senlin master: Use get_rpc_transport instead of get_transport  https://review.openstack.org/47085514:40
*** zhurong has quit IRC15:15
*** XueFeng has quit IRC15:40
*** XueFeng has joined #senlin15:41
*** chenyb4_ has quit IRC16:39
*** catintheroof has quit IRC21:53
*** catintheroof has joined #senlin23:13

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