Thursday, 2016-11-17

*** guoshan has quit IRC00:01
*** zhurong has joined #senlin00:19
*** zhurong has quit IRC00:40
*** guoshan has joined #senlin00:51
*** Drago1 has joined #senlin00:51
*** root___11 has joined #senlin00:52
*** Drago has quit IRC00:52
*** root___11 has left #senlin00:54
*** guoshan has quit IRC00:55
*** Drago1 has quit IRC00:56
*** miaohb has quit IRC00:58
*** miaohb has joined #senlin01:02
*** ruijie has joined #senlin01:12
*** yanyanhu has joined #senlin01:17
*** yanyanhu has quit IRC01:20
*** yanyanhu has joined #senlin01:21
*** guoshan has joined #senlin01:34
*** elynn has joined #senlin01:44
*** zhurong has joined #senlin01:51
*** elynn_ has joined #senlin01:53
*** shu-mutou-AWAY is now known as shu-mutou01:53
openstackgerritRUIJIE YUAN proposed openstack/senlin: api support policy-type-list2  https://review.openstack.org/39759101:53
*** elynn has quit IRC01:55
*** EldonZhao has joined #senlin01:55
openstackgerritMerged openstack/senlin: fields support policy-type-list2  https://review.openstack.org/39756501:56
openstackgerritMerged openstack/senlin: engine service support policy-type-list2  https://review.openstack.org/39756901:56
openstackgerritgengchc2 proposed openstack/senlin: Translate info-level log messages for LOG.error  https://review.openstack.org/39869502:09
openstackgerritRUIJIE YUAN proposed openstack/senlin: remove dead code about policy-type-list  https://review.openstack.org/39759502:17
openstackgerritMerged openstack/senlin: Fix environment unit test  https://review.openstack.org/39755502:26
openstackgerritMerged openstack/senlin: Move approved spec into the 'approved dir  https://review.openstack.org/39747502:26
*** lvdongbing has joined #senlin02:39
Qimingreminder02:53
Qimingthis week is ocata-1 release deadline02:54
ruijiehi, Qiming.03:01
Qimingyes03:01
ruijieFor the improvement of batch policy03:02
ruijieDo I need to keep the BP in processing or mark it as completed03:02
Qimingas far as that bp goes, it can be marked as completed03:03
Qimingthere could still be things for improvement, but those can be left for future work03:04
Qimingmy original expectation is that the policy can just focus on cluster update03:04
Qimingbut we have already added cluster-delete support, that is fine03:05
ruijieyes, Qiming.03:05
EldonZhaohttps://github.com/openstack/senlin/blob/master/senlin/profiles/os/nova/server.py#L9303:05
ruijieAnd in fact, I thinking if we could let the user decide whether use the policy for resizing or scaling03:06
ruijieam03:06
Qimingit is up to you though, whether you want to revisit all cluster actions and see if there are some actions missing support for batch policy03:06
EldonZhaowhat does this id mean? all the servers in this cluster use the same volume?03:06
Qimingem, interesting question, EldonZhao03:07
Qimingmy answer is that "I don't know"03:08
Qimingfor a guest Linux system, volume can be mounted at different location03:08
EldonZhaoIn cmcc product, we create volume before creating every node.03:09
Qimingit could be a shared CDROM03:09
Qimingmounted by every VM for shared installation/update source03:09
EldonZhaoShared storage?03:09
Qimingit could be03:09
Qimingwe let the users choose03:09
EldonZhaoMaybe we should support creating one storage for every node.03:10
Qiminghaving many VMs boot from the same disk volume may not make senses, but I think users should know it03:10
Qimingso you mean a new cinder volume created and then attached to a VM ?03:11
EldonZhaoYes, I this so03:11
*** yanyanhu has quit IRC03:11
Qimingthe nova server spec is not designed to support creation of other resources ...03:11
EldonZhaoand my product has made it sense.03:11
EldonZhaoWe may call cinder first03:12
Qimingso ... can you tell nova to do this if without senlin?03:12
Qimingmy guess is no03:12
EldonZhaowe create pool in advance in lb_policy03:12
Qimingokay, that is a different story03:13
EldonZhaoI think this is same as pool03:13
Qimingyou have volumes created beforehand03:13
EldonZhaostorage can be aotumatically created03:13
EldonZhaovolumeS, that is the point03:13
Qiming"storage can be aotumatically created" --- not yet senlin's scope, right?03:14
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Revise the help message of policy binding list  https://review.openstack.org/39398103:14
EldonZhaohow could people write the profile to allocate volumeS to every node?03:14
Qimingokay, if you have a 1:1 map between the VM and the volume to be used03:15
Qimingyou will have to create a profile per VM03:15
EldonZhaoHmm03:16
EldonZhaoBut how can this vms be a cluster?03:16
*** yanyanhu has joined #senlin03:17
Qimingfor vol_id in my_vol_pool { pid = create_a_profile_with_vol(vol_id); nid = create_a_node(pid); cluster_add_node(n1, my_cluster) }03:17
openstackgerritMerged openstack/senlin: Revise profile-validate2 object fields  https://review.openstack.org/39821003:17
Qimingthe fundamental thing here is that, in a strict sense, your VMs are not identical to each other, thus not the "homogeneous" objects senlin meant to manage03:18
openstackgerritMerged openstack/python-senlinclient: Add sort key "oid" in event list  https://review.openstack.org/39819103:18
Qimingbut senlin does allow you to build a pool of "similar-but-not-so-identical" things03:18
EldonZhaook, but that doesn't support receiver, as receiver is used in cluster03:20
Qimingwhy it doesn't support receiver?03:20
Qimingyou can create VMs in whatever ways you want and add them into a single cluster03:21
Qimingyou can still define receivers on the cluster03:21
EldonZhao....03:22
EldonZhaoWhen we call receiver url, it scale_out node based on the cluster's profile03:23
Qimingyes03:23
EldonZhaothat profile is the same as node has already scaled out03:24
Qimingthen you want to pretend that you can scale-out the cluster and the scale-out is smart enough to use a volume from a pool?03:24
EldonZhaonot a pool..03:24
Qimingit that case, the cluster's profile has already becoming not that useful03:25
EldonZhaoI guess we can create a volume for the new node03:25
Qimingif you want a new volume to be created along with a VM, you will use heat stack profile, not a nova-server03:25
openstackgerritlvdongbing proposed openstack/senlin: Revise versioned object fields for profile-create2  https://review.openstack.org/39872703:26
Qimingthat brings us back to the question, can you ask nova to create a volume for you when booting a VM? the answer is no...03:26
EldonZhaoThat's great~03:26
Qimingif you want to combine a lot of things to be created together, you will write your own heat stack template03:27
Qimingthere are some discussions in the community whether this process can be simplified03:27
EldonZhaoMaybe I should review the heat profile first~03:28
Qimingfor the network case, it has taken a long time to land "get me a network" feature03:28
openstackgerritRUIJIE YUAN proposed openstack/senlin: remove some useless rpc code  https://review.openstack.org/39759703:35
*** yanyanhu_ has joined #senlin03:39
*** yanyanhu has quit IRC03:41
openstackgerritRUIJIE YUAN proposed openstack/senlin: api support policy-type-list2  https://review.openstack.org/39759103:52
openstackgerritRUIJIE YUAN proposed openstack/senlin: remove dead code about policy-type-list  https://review.openstack.org/39759503:52
*** elynn_ has quit IRC04:46
*** guoshan has quit IRC04:50
*** guoshan has joined #senlin04:51
*** guoshan has quit IRC05:01
*** yanyanhu_ has quit IRC05:02
*** guoshan has joined #senlin05:03
*** yanyanhu_ has joined #senlin05:05
*** elynn has joined #senlin05:06
openstackgerritMerged openstack/python-senlinclient: Add "cluster_id" column to  `openstack cluster event list`  https://review.openstack.org/39765505:08
openstackgerritMerged openstack/python-senlinclient: Revise the help message of policy binding list  https://review.openstack.org/39398105:08
*** elynn has quit IRC05:10
openstackgerritmiaohb proposed openstack/python-senlinclient: Add sortkey "priority" in policy binding list's help message  https://review.openstack.org/39398505:20
openstackgerritMerged openstack/senlin: Engine support for profile-delete2  https://review.openstack.org/39813705:33
*** guoshan has quit IRC05:34
*** yanyanhu_ has quit IRC05:49
*** yanyanhu_ has joined #senlin05:54
QimingEldonZhao, still there?05:55
openstackgerritMerged openstack/senlin: api support policy-type-list2  https://review.openstack.org/39759106:00
openstackgerritMerged openstack/senlin: remove dead code about policy-type-list  https://review.openstack.org/39759506:01
*** guoshan has joined #senlin06:13
openstackgerritMerged openstack/senlin: Remove unsupported sort key "priority"  https://review.openstack.org/39805506:57
openstackgerritMerged openstack/senlin: Remove unsupported sort key "user"  https://review.openstack.org/39809107:02
openstackgerritRUIJIE YUAN proposed openstack/senlin: remove some useless rpc code  https://review.openstack.org/39759707:04
openstackgerritmiaohb proposed openstack/senlin: Support sort key "oid" in event list  https://review.openstack.org/39811607:15
*** yanyanhu_ has quit IRC07:23
openstackgerritQiming Teng proposed openstack/senlin: Support sort key "oid" in event list  https://review.openstack.org/39811607:26
openstackgerritgengchc2 proposed openstack/senlin: Translate info-level log messages for LOG.error  https://review.openstack.org/39869507:27
*** guoshan has quit IRC08:31
*** guoshan has joined #senlin08:32
openstackgerritMerged openstack/senlin: Revise ex_lbas.yaml cannot be found  https://review.openstack.org/39802708:33
*** yanyanhu_ has joined #senlin08:57
*** yanyanhu_ has quit IRC08:57
openstackgerritlvdongbing proposed openstack/senlin: Engine support for profile-validate2  https://review.openstack.org/39886309:07
QimingEldonZhao, online?09:12
*** zhurong has quit IRC09:20
*** zhurong has joined #senlin09:21
*** yanyanhu_ has joined #senlin09:22
lvdongbingQiming, could you please help review this patch: https://review.openstack.org/#/c/398863/109:23
openstackgerritQiming Teng proposed openstack/senlin: Add TODO item about referencing existing pool  https://review.openstack.org/39887209:23
yanyanhu_hi, Qiming, around?09:24
Qimingyes09:24
yanyanhu_so the Senlin release version of ocata-1 should be 3.0.0.0b1?09:24
yanyanhu_and I guess we don't need to cut the version of senlin-dashboard and senlinclient?09:25
QimingI think so09:25
yanyanhu_I see09:25
yanyanhu_will propose the patch soon09:25
Qimingcheck the release model for them09:25
openstackgerritMerged openstack/senlin: remove some useless rpc code  https://review.openstack.org/39759709:25
yanyanhu_ok09:25
lvdongbingQiming, not sure about that we should pass ProfileValidateRequest or ProfileValidateRequestBody from API to engine when deal with profile validate09:26
Qimingoh, seems the release model has been removed from governance ...09:26
yanyanhu_they are "cycle-with-intermediary"?09:27
yanyanhu_based on the release history09:27
Qimingyes09:27
yanyanhu_if we didn't change it09:27
Qimingyep09:27
yanyanhu_so we don't need to follow the milestone for them ?09:27
Qimingcheck this: https://review.openstack.org/#/q/project:openstack/releases09:27
Qimingthen you will get an idea how server and client are supposed to be released09:27
yanyanhu_got it09:28
yanyanhu_will refer to it09:28
Qimingpulling release repo now09:29
Qimingyes, service is 'cycle-with-milestones', client and dashboard are 'cycle-with-intermediaries'09:32
Qiminglvdongbing, it all depends on how would you model the request from API side09:34
Qimingthe current implementation seems a little bit plumpy but it leaves room for future extension09:37
Qimingthere could be extensions such as a "deep" validation or a "shallow" validation09:38
Qimingwhere a "deep" validation checks if the image specified does exist, the port specified does exist, etc09:38
yanyanhu_hi, Qiming, after read this guide, https://releases.openstack.org/reference/release_models.html, I guess we don't have to cut client and dashboard release based on milestone unless we think it is necessary?09:39
Qiminga "shallow" one could just do validation at senlin engine level, i.e. check if there are data type mistakes in the spec etc.09:39
Qimingcorrect, yanyanhu_, we don't have to09:39
Qimingwe have to cut a release by the end of a cycle though09:39
yanyanhu_I see09:40
Qimingmost client projects are using this model I think09:40
yanyanhu_will propose patch for service now09:40
Qimingany specific patches we want to merge ?09:42
lvdongbingQiming, thanks, got it09:43
Qimingwe are building a pipeline for review now: https://review.openstack.org/#/q/project:openstack/senlin+status:open09:43
Qimingyanyanhu_, need to be careful and see if there a high-priority patch that needs to be go in09:44
yanyanhu_Qiming, ok, will make a check now09:44
QimingI'd suggest this: https://review.openstack.org/39811609:44
Qimingand this: https://review.openstack.org/39652209:44
Qimingand this: https://review.openstack.org/39792009:45
Qimingand this: https://review.openstack.org/39804909:45
Qimingespecially the global requirements one09:45
yanyanhu_right09:46
yanyanhu_that one should be included09:46
yanyanhu_Qiming, we are allowed to specify the hash of an pending patch, right?09:47
yanyanhu_although that patch should be merged asap09:47
*** openstackgerrit has quit IRC09:48
yanyanhu_will wait for those patches and update the cut09:49
*** openstackgerrit has joined #senlin09:49
*** ChanServ sets mode: +v openstackgerrit09:49
*** lvdongbing has quit IRC09:57
*** zhurong has quit IRC10:02
Qimingno ...10:02
Qimingthe commit has to appear in git history10:02
Qimingyou are not supposed to ask those cores from release team to verify that the commit id is being merged10:03
Qimingjust posted -1 to the release patch10:04
*** elynn has joined #senlin10:08
yanyanhu_Qiming, yes, I see. Have w-1 on it10:13
yanyanhu_will wait for those patch merged and update the cut10:13
openstackgerritMerged openstack/senlin: add batch policy spec  https://review.openstack.org/39804910:17
openstackgerritMerged openstack/senlin: Support sort key "oid" in event list  https://review.openstack.org/39811610:17
openstackgerritMerged openstack/senlin: Add toggle in devstack plugin to run senlin-api under Apache2  https://review.openstack.org/39652210:17
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/39792010:29
*** yanyanhu_ has quit IRC10:31
*** EldonZhao has quit IRC10:36
*** guoshan has quit IRC10:42
*** ruijie has quit IRC11:00
*** guoshan has joined #senlin11:13
openstackgerritXueFeng Liu proposed openstack/senlin: Api support for event_list2  https://review.openstack.org/39834111:16
*** guoshan has quit IRC11:18
openstackgerritqinchunhua proposed openstack/senlin: Delete python bytecode file  https://review.openstack.org/38689411:28
openstackgerritqinchunhua proposed openstack/python-senlinclient: Delete python bytecode file  https://review.openstack.org/38689711:30
*** elynn has quit IRC11:32
*** guoshan has joined #senlin12:07
*** guoshan has quit IRC12:12
*** zhurong has joined #senlin12:24
openstackgerritXueFeng Liu proposed openstack/senlin: Revise action's raise catch  https://review.openstack.org/39898812:38
openstackgerritXueFeng Liu proposed openstack/senlin: Remove dead code about action list  https://review.openstack.org/39691412:42
openstackgerritXueFeng Liu proposed openstack/senlin: Remove dead code about action get  https://review.openstack.org/39691712:44
*** catintheroof has joined #senlin12:46
*** guoshan has joined #senlin13:01
*** guoshan has quit IRC13:06
*** zhurong has quit IRC13:28
*** zhurong has joined #senlin13:28
*** zhurong has quit IRC13:43
openstackgerritMerged openstack/senlin: Remove dead code about action list  https://review.openstack.org/39691413:44
*** zhurong has joined #senlin13:44
openstackgerritMerged openstack/senlin: Remove dead code about action get  https://review.openstack.org/39691713:48
*** guoshan has joined #senlin13:56
*** guoshan has quit IRC14:01
*** zhurong has quit IRC14:21
*** Drago1 has joined #senlin14:36
*** guoshan has joined #senlin14:50
*** guoshan has quit IRC14:55
openstackgerritOpenStack Proposal Bot proposed openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/39537715:09
*** guoshan has joined #senlin15:45
*** guoshan has quit IRC15:49
*** guoshan has joined #senlin16:45
*** guoshan has quit IRC16:50
*** guoshan has joined #senlin18:18
*** guoshan has quit IRC18:22
*** guoshan has joined #senlin19:19
*** guoshan has quit IRC19:23
*** openstackgerrit has quit IRC19:48
*** openstackgerrit has joined #senlin19:49
*** ChanServ sets mode: +v openstackgerrit19:49
*** guoshan has joined #senlin21:20
*** guoshan has quit IRC21:25
*** guoshan has joined #senlin22:21
*** guoshan has quit IRC22:25
*** Drago1 has quit IRC22:40
*** catintheroof has quit IRC23:29
*** catintheroof has joined #senlin23:30
*** catintheroof has quit IRC23:35
*** shu-mutou is now known as shu-mutou-AWAY23:42

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