Monday, 2017-01-23

*** yanyanhu has joined #senlin00:42
*** ruijie_ has joined #senlin01:15
*** hanwei has joined #senlin01:26
openstackgerritmiaohb proposed openstack/senlin: Return support status in profile type show  https://review.openstack.org/41867801:51
*** elynn has joined #senlin01:58
elynnMorning01:59
ruijie_Morning02:12
yanyanhumorning :)02:32
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise tempest api test for events  https://review.openstack.org/42389203:18
elynnHi Qiming03:35
Qimingyes?03:35
elynnIs there a way to expose node_ips in heat cluster resource?03:35
elynnI can not find a easy to support cluster-collect in heat.03:36
Qimingyou will need to do a cluster-collect api call03:36
elynneasy way03:36
Qimingyou can expose an attribute03:36
elynnSince the in heat, _resolve_attribute only accept a name03:37
Qimingand when implement that attribute, do a cluster-collect call03:37
Qimingin this case, you are exposing an attribute named 'node_ips' for example03:37
elynnI can add a node_ips attribute, but that seems too specific.03:37
Qimingright, that is where I dislike heat03:38
elynnokay, maybe that is the only way I can do.03:39
elynnWhat about the format of node_ips03:39
elynnSince one node maybe have more than one IP03:39
elynnlike this ? [[ip1, ip2, floating_ip], [ip1, ip2]]03:40
Qimingoh no03:40
Qimingyou don't have such a use case do you?03:40
elynnlixinhui are drafting the proposal, and in her solution, they use heat to create senlin vdu cluster03:41
QimingI'm looking at software deployment group resource03:41
elynnBut some cluster required other cluster's IP03:41
elynnFor her case, one cluster have only one node for now.03:41
Qimingget attribute can have a path parameter03:42
elynnyes, so the template would looks like get_attr: [cluster1, node_ips, 0, 0] to get a port ip03:43
Qimingthe second argument can be more general03:44
elynnI'm afraid not..03:44
Qimingthen the third one can be a json path03:44
elynnI go through the codes this morning, and the third parameter couldn't pass to res._resolve_attribute03:45
Qimingget_attr: [cluster1, collect, addresses.private[0].addr]03:46
elynnWhat heat do is res._resolve_attribute(node_ips) and then get item 0, then get item 003:47
Qimingif we have such a general solution, why cannot we override both get_attribute and _resolve_attribute?03:47
elynnQiming, that's the ideal way.03:47
elynnhmm... override get_attribute03:47
Qimingwhen override get_attribute, we decide how to deal with 'collect', and 'addresses.private[0].addr03:47
elynnMaybe that can do.03:47
elynnNever thought of that!03:49
elynnThanks03:49
Qimingokay, then try if it works ...03:49
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise tempest api test for node 1  https://review.openstack.org/42391306:03
yanyanhuhi, Qiming, around?06:43
yanyanhuwill sdk has 0.9.13 release by the end of this week?06:44
yanyanhusince we need to release senlinclient before this friday06:44
yanyanhuif it doesn't, I guess we may need to revert some changes in senlinclient06:44
Qimingnot sure06:48
Qimingneed to check with briancurtain06:48
Qimingand also a lot of other patches have to be reverted I think06:48
Qimingbecause the only version that known working for all is 0.9.1006:49
yanyanhuyes, a lot of them06:49
yanyanhuso hope there will be 0.9.13 sdk release06:49
Qiminglook here: https://review.openstack.org/#/c/418663/06:50
openstackgerritMerged openstack/python-senlinclient: Updated from global requirements  https://review.openstack.org/42368806:51
openstackgerritmiaohb proposed openstack/senlin: Return support status in policy type show  https://review.openstack.org/41869406:52
yanyanhuQiming, sigh, this is really a headache.06:53
yanyanhuI'm afraid they can't finish that patch before this weekend06:54
yanyanhuwill sdk 0.9.13 fix that network issue?06:54
yanyanhuif not, I think we should consider to start reverting those changes in senlinclient06:54
yanyanhuor at least provide an old commit id for release06:55
yanyanhulast release(1.1.0) of python-senlinclient was done based on this commit06:57
yanyanhuhttps://review.openstack.org/#/c/405158/06:57
yanyanhuat least these three patches need to be reverted07:02
yanyanhuhttp://paste.openstack.org/show/595997/07:02
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise versioned objects' exception message  https://review.openstack.org/42395307:08
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise tempest api test for node 1  https://review.openstack.org/42391307:12
*** hanwei has quit IRC07:13
*** hanwei has joined #senlin07:14
*** ruijie_ is now known as ruijie07:15
openstackgerritmiaohb proposed openstack/senlin: Fix typo in policy-type-list related code  https://review.openstack.org/42396807:46
elynnHi Qiming yanyanhu07:56
elynnDose openstacksdk support cluster_collect?07:56
yanyanhuhi, elynn, I'm not sure, Qiming, do you have any idea?07:57
elynnSaw it.08:01
yanyanhunice08:01
elynnBut found a but in senlinclient08:01
elynnbug08:01
yanyanhucollect_cluster_attrs08:01
yanyanhuthis is supported08:01
yanyanhuelynn, you mean?08:02
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise versioned objects' exception message  https://review.openstack.org/42395308:05
openstackgerritEthan Lynn proposed openstack/python-senlinclient: Fix cluster_collect interface  https://review.openstack.org/42397708:05
elynnyanyanhu, ^^08:05
yanyanhuthanks :)08:06
yanyanhuhi, elynn, you may need to update the unit test as well08:09
yanyanhuoh08:10
yanyanhumy fault, the unit test is only for osc client08:10
openstackgerritMerged openstack/senlin: revise tempest api test for cluster 5  https://review.openstack.org/42361308:10
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise versioned objects' exception message  https://review.openstack.org/42395308:11
elynnyanyanhu, Is this possible to release senlinclient with this patch this release08:11
yanyanhuhi, elynn, that depends on which version of sdk release includes cluster collect support08:12
yanyanhulet me check08:12
yanyanhuelynn, no problem I think08:13
elynn0.9.10 is fine.08:13
yanyanhuthis is a feature added Aug last year08:13
yanyanhuyep08:13
elynnBut since heat actually calls senlinclient instead of openstacksdk08:13
elynnSo I need this fixed in senlinclient08:14
yanyanhuelynn, yes, we can include in into senlinclient's ocata final release08:14
yanyanhuinclude it08:14
elynnHaven't got time to directly call openstacksdk in heat yet..08:14
yanyanhuelynn, you can start that work in next cycle :)08:15
elynnI prepare a patch actually, but don't have time to do a fully tests.08:16
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise tempest api test for node 2  https://review.openstack.org/42398008:21
openstackgerritMerged openstack/senlin: Return support status in profile type show  https://review.openstack.org/41867808:46
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise tempest api test for profile/policy types  https://review.openstack.org/42399108:48
openstackgerritmiaohb proposed openstack/senlin: Return support status in policy type show  https://review.openstack.org/41869408:52
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise versioned objects' exception message  https://review.openstack.org/42395308:56
openstackgerritMerged openstack/python-senlinclient: Fix cluster_collect interface  https://review.openstack.org/42397709:08
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise versioned objects' exception message  https://review.openstack.org/42395309:15
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise tempest api test for profile/policy types  https://review.openstack.org/42399109:17
openstackgerritRUIJIE YUAN proposed openstack/senlin: revise tempest api test for node 2  https://review.openstack.org/42398009:17
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add create and update actions for policy  https://review.openstack.org/42111909:31
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add delete action for cluster  https://review.openstack.org/42166709:32
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add update action for cluster  https://review.openstack.org/42171109:34
*** yanyanhu has quit IRC09:37
*** ruijie has quit IRC09:41
*** hanwei has quit IRC10:21
openstackgerritKenji Ishii proposed openstack/senlin-dashboard: Implement action updating cluster policies  https://review.openstack.org/42320910:21
openstackgerritMerged openstack/senlin-dashboard: Add angular policies table  https://review.openstack.org/38907610:30
openstackgerritMerged openstack/senlin-dashboard: Add details view into Policies panel  https://review.openstack.org/42107210:31
openstackgerritMerged openstack/senlin-dashboard: Add delete action for policies panel  https://review.openstack.org/42107810:31
openstackgerritKenji Ishii proposed openstack/senlin-dashboard: Implement action updating cluster policies  https://review.openstack.org/42320910:38
*** hanwei has joined #senlin10:52
*** x00350071_ has joined #senlin11:10
*** edisonxiang has quit IRC11:10
openstackgerritMerged openstack/senlin-dashboard: Implement action updating cluster policies  https://review.openstack.org/42320911:17
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add create and update actions for policy  https://review.openstack.org/42111911:38
*** x00350071_ is now known as edisonxiang11:39
openstackgerritXueFeng Liu proposed openstack/senlin: Fix health registry claim bug  https://review.openstack.org/42407311:49
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add delete action for cluster  https://review.openstack.org/42166712:11
openstackgerritShu Muto proposed openstack/senlin-dashboard: Add update action for cluster  https://review.openstack.org/42171112:13
*** shu-mutou is now known as shu-mutou-AWAY12:17
*** catintheroof has joined #senlin12:45
*** catintheroof has quit IRC12:50
*** catintheroof has joined #senlin12:58
*** catinthe_ has joined #senlin14:29
*** catintheroof has quit IRC14:32
*** hanwei has quit IRC14:59
*** Drago1 has joined #senlin16:00
*** Jeffrey4l_ has quit IRC16:06
*** Jeffrey4l_ has joined #senlin16:06
*** Jeffrey4l__ has joined #senlin17:57
*** Jeffrey4l_ has quit IRC17:59
*** catintheroof has joined #senlin18:45
*** catinthe_ has quit IRC18:47
*** elynn has quit IRC19:01
*** elynn has joined #senlin19:02
*** catinthe_ has joined #senlin19:03
*** catintheroof has quit IRC19:06
*** Jeffrey4l_ has joined #senlin21:34
*** Jeffrey4l__ has quit IRC21:35
*** catinthe_ has quit IRC23:23

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