Tuesday, 2016-12-13

*** XueFeng has quit IRC00:05
*** yanyanhu has joined #senlin00:46
*** ruijie has joined #senlin01:03
*** yuanying has quit IRC01:11
*** yuanying has joined #senlin01:11
*** zhurong has joined #senlin01:15
*** zhurong has quit IRC01:20
*** zhurong has joined #senlin01:22
*** chohoor has joined #senlin01:42
*** elynn has joined #senlin01:51
*** elynn has quit IRC01:56
*** elynn has joined #senlin01:56
openstackgerritmiaohb proposed openstack/senlin: Doc update for node replace  https://review.openstack.org/40967602:05
*** yuanying has quit IRC02:11
fabian4Qiming, how can i use senlin create ceilometer alarm ?02:15
Qimingfabian4, senlin doesn't have such a proxy02:16
fabian4Qiming, I find ceilometer code create alarm in senlin driver , senlin do not support ?02:18
Qimingceilometer code create alarm?02:25
fabian4Qiming, senlin/drivers/openstack/ceilometer_v2.py   def alarm_create02:28
Qimingthat is an internal interface for senlin to talk to ceilometer02:28
Qimingwe are not proxying that to senlin users02:29
Qimingit makes no sense02:29
Qimingimaging this02:29
Qimingimagine this02:29
Qimingif we support "senlin alarm-create --type ceilometer --metric cpu.util --threshold 70 --operator great_than --period 1 --num_periods 3 ... "02:30
Qimingthen senlin calls the ceilometer to create an alarm for you ...02:31
Qimingwhy don't you call ceilometer API directly, or aodh CLI directly?02:31
*** guoshan has joined #senlin02:41
openstackgerritmiaohb proposed openstack/senlin: Doc update for node replace  https://review.openstack.org/40967602:42
fabian4Qiming, I known, I was begin study senlin . thanks give me a advise02:51
Qimingnever mind02:52
Qimingwe have been there02:52
Qimingwe did considered whether senlin should provide an abstraction of all alarms we will use, e.g. ceilometer alarm, monasca alarm, surveil alarm ... whatever02:52
Qimingbut we found we are complicating things unnecessarily02:53
Qimingusers know what to do with alarm services, we are not suppose to just add a proxy layer to the backend service02:53
openstackgerritMerged openstack/python-senlinclient: Client support for node replace  https://review.openstack.org/40942003:22
openstackgerritMerged openstack/python-senlinclient: Add metadata clean help  https://review.openstack.org/40943103:24
*** zhurong has quit IRC03:34
ruijiehi, yanyanhu, around?03:35
openstackgerritMerged openstack/python-senlinclient: Delete pbr generated files  https://review.openstack.org/40748603:47
*** dinghh has joined #senlin04:00
openstackgerritmiaohb proposed openstack/senlin: Doc update for node replace  https://review.openstack.org/40967604:09
*** elynn has quit IRC04:29
*** yuanying has joined #senlin04:33
*** elynn has joined #senlin04:49
*** elynn has quit IRC04:54
*** elynn has joined #senlin04:54
*** dinghh has quit IRC05:07
*** dinghh has joined #senlin05:09
yanyanhuhi, ruijie, just came back05:14
ruijieyanyan, I just check the rally-jobs problem05:16
ruijieall the tests failed due to the private network05:16
ruijiebut they passed after I change the network to public05:16
yanyanhuruijie, that means there is no such network named as "private" in rally test environment.05:17
yanyanhumaybe there were some changes in rally gate05:17
yanyanhusince it did work before...05:17
yanyanhuand in default devstack environment, a network named as "private" will be created by default05:18
ruijieyup, they did work just several days ago05:18
ruijiethat is the problem... I can create nova server manually, but failed when run rally task05:19
yanyanhuwhat exception was raised?05:19
ruijieno network private found05:19
yanyanhuhave you changed the network referred in rally job file?05:20
ruijienope05:21
yanyanhuyou may need to change the network name defined in rally job file as well05:22
ruijiethe devstack environment have public and private network05:23
ruijiethe test failed when I use private network in the profile05:23
ruijiebut it works when I change the network to public in profile05:23
yanyanhuyes. devstack-gate will create both "private" and "public" networks by default05:24
yanyanhujust not sure whether rally gate makes change on it05:24
yanyanhuanother possible reason is network "private" is invisible for the user/tenant performs the test operations, e.g. cluster create05:25
yanyanhufor private network could not be "shared"05:25
ruijiebut we are using admin_client to trigger these actions05:26
yanyanhuruijie, admin_client means the tenant(s) userd for test have "admin" role05:27
yanyanhunot it is "admin" user :)05:27
yanyanhuso not sure whether that is the problem05:27
yanyanhuso maybe  a temporary workaround is using "public" rather than "private" network in rally test05:28
yanyanhuanother possible way is creating a specific network and using it for rally test05:29
yanyanhunot sure whether rally has provided such context to support creating specific network05:29
*** guoshan has quit IRC05:29
yanyanhuif so, we can directly using it05:29
yanyanhuif not, there could be some effort to support it...05:30
yanyanhuso maybe we can apply the workaround first, and then make some investigation here. I will try to take a look at it05:30
ruijiethanks yanyanhu, will check it with rally team05:32
yanyanhuruijie, thanks a lot :)05:32
*** Drago1 has quit IRC05:36
*** guoshan has joined #senlin06:04
openstackgerritQiming Teng proposed openstack/senlin: Use util function in cluster API (1)  https://review.openstack.org/41005006:06
*** yuanying has quit IRC06:12
*** yuanying has joined #senlin06:12
*** yuanying has quit IRC06:12
*** yuanying has joined #senlin06:13
*** yuanying has quit IRC06:17
*** chohoor has quit IRC06:38
*** chohoor has joined #senlin06:41
openstackgerritQiming Teng proposed openstack/senlin: Use util function in cluster API (2)  https://review.openstack.org/41006206:56
openstackgerritQiming Teng proposed openstack/senlin: Use util function in cluster API (2)  https://review.openstack.org/41006207:14
openstackgerritQiming Teng proposed openstack/senlin: Use util function in cluster API (1)  https://review.openstack.org/41005007:16
openstackgerritQiming Teng proposed openstack/senlin: Use util function in cluster API (2)  https://review.openstack.org/41006207:18
openstackgerritQiming Teng proposed openstack/senlin: Use util function in cluster API (2)  https://review.openstack.org/41006207:30
*** yuanying has joined #senlin07:51
openstackgerritAaron Ding proposed openstack/senlin: Set max_size to cfg.CONF.max_nodes_per_cluster if -1.  https://review.openstack.org/41008308:14
*** XueFeng has joined #senlin08:24
openstackgerritQiming Teng proposed openstack/senlin: Use util function in cluster API (3)  https://review.openstack.org/41008608:24
openstackgerritEthan Lynn proposed openstack/senlin: [WIP] Remove retry logic from lock_acquire  https://review.openstack.org/41009508:42
openstackgerritMerged openstack/senlin: Doc update for node replace  https://review.openstack.org/40967608:54
openstackgerritShan Guo proposed openstack/senlin: Add parameter in CLUSTER_DEL_NODES action  https://review.openstack.org/41010909:05
Qimingguoshan, online?09:11
guoshanyes09:11
Qimingjust noticed you and your colleage are both working on adding 'destroy_after_deletion' parameter to ClusterDelNodesRequest09:12
Qimingthis has to be done carefully09:12
QimingI have posted comments to your (abandoned) patch and the patch from your colleague09:12
guoshanyes, I has assigned this bug long time ago09:12
Qimingstrictly speaking, this is not a bug09:13
Qimingit is a wishlist09:13
Qimingbut never mind, if we have such a request, we can get it doen09:13
Qimings/doen/done/09:13
Qimingthe correct way of doing this is to split that patch into several steps09:14
Qimingthe first is to improve the engine/action to understand a 'destroy' parameter if present09:14
Qimingwe need to review if there are things missing in such a patch09:14
Qimingthe next patch could be bumping the version of ClusterDelNodesRequest to '1.1', its default VERSION is '1.0', adding a new field means its version has to be bumped09:15
Qimingyou will add a "VERSION='1.1'" class property to the ClusterDelNodesRequest class09:16
Qimingand you will add a classmethod obj_make_compatible() to convert a 1.1 version of request object to a 1.0 version09:16
Qimingwhich means you will delete the 'destroy' field in such a conversion09:16
Qimingthe 3rd patch is about API micro_version bumping09:17
guoshanyes, i know senlin is using api micro_version09:18
Qimingyou will change the microversion to '1.4' here: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/api/openstack/v1/version.py09:18
Qimingalso add a note here: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/api/openstack/history.rst09:19
Qimingthen you add a VERSION_MAP class property to ClusterDelNodesRequest:09:19
Qiming  VERSION_MAP = {09:19
Qiming    '1.5': '1.1',09:20
Qiming  }09:20
Qimingwhich means the 1.5 api version will use the revised verion of cluster-del-nodes API, all API versions below that will use the 1.0 version of the request object09:20
Qimingyour last patch, the 4th one, will be updating api-ref and user, developer docs09:21
Qimingit is not a single patch thing09:21
Qimingbut I hope the above outline helps you understand why and how to use versioned objects to manage API compatiblity in Senlin09:22
guoshanokay, will do it, thank you for your thorough guiding09:22
*** elynn has quit IRC09:36
*** yuanying has quit IRC09:47
openstackgerritMerged openstack/senlin: Utility function for API request conversion  https://review.openstack.org/40965109:54
openstackgerritAaron Ding proposed openstack/senlin: Set max_size to cfg.CONF.max_nodes_per_cluster if -1.  https://review.openstack.org/41008310:02
openstackgerritMerged openstack/senlin: Use util function in cluster API (1)  https://review.openstack.org/41005010:07
openstackgerritQiming Teng proposed openstack/senlin: Use util function in cluster API (4)  https://review.openstack.org/41013010:07
openstackgerritAaron Ding proposed openstack/senlin: Set max_size to cfg.CONF.max_nodes_per_cluster if -1.  https://review.openstack.org/41008310:09
*** yanyanhu has quit IRC10:14
*** guoshan has quit IRC10:24
*** guoshan has joined #senlin10:39
*** chohoor has quit IRC11:00
*** guoshan has quit IRC11:06
*** dinghh1 has joined #senlin11:13
*** dinghh has quit IRC11:14
*** guoshan has joined #senlin11:14
*** guoshan has quit IRC11:41
*** guoshan has joined #senlin12:07
openstackgerritEthan Lynn proposed openstack/senlin: Remove retry logic from lock_acquire  https://review.openstack.org/41009512:17
openstackgerritEthan Lynn proposed openstack/senlin: Lookup a random action to execute  https://review.openstack.org/40980512:17
*** guoshan has quit IRC12:27
*** guoshan has joined #senlin12:27
*** guoshan has quit IRC12:32
openstackgerritAaron Ding proposed openstack/senlin: Set max_size to cfg.CONF.max_nodes_per_cluster if -1.  https://review.openstack.org/41008312:35
*** dinghh1 has left #senlin12:46
*** yanyanhu has joined #senlin12:50
yanyanhuhi, guys, meeting will start in #openstack-meeting channel in minutes12:53
*** lvdongbing has joined #senlin12:57
*** elynn has joined #senlin12:58
yanyanhuhi, guys, meeting has started13:00
*** XueFengLiu has joined #senlin13:06
*** XueFengLiu has quit IRC13:33
*** XueFengLiu has joined #senlin13:33
openstackgerritEthan Lynn proposed openstack/senlin: Remove retry logic from lock_acquire  https://review.openstack.org/41009514:07
openstackgerritEthan Lynn proposed openstack/senlin: Lookup a random action to execute  https://review.openstack.org/40980514:07
*** guoshan has joined #senlin14:11
openstackgerritXueFeng Liu proposed openstack/senlin: Remove dead code about action-delete  https://review.openstack.org/41023514:18
*** yanyanhu has quit IRC14:27
*** XueFengLiu has quit IRC14:44
*** lvdongbing has quit IRC15:04
*** guoshan has quit IRC15:05
*** guoshan has joined #senlin15:06
*** guoshan has quit IRC15:11
*** Drago1 has joined #senlin15:41
*** XueFengLiu has joined #senlin15:42
*** elynn has quit IRC16:11
*** elynn has joined #senlin16:21
-openstackstatus- NOTICE: Launchpad SSO is not currently working, so logins to our services like review.openstack.org and wiki.openstack.org are failing; the admins at Canonical are looking into the issue but there is no estimated time for a fix yet.16:27
*** ChanServ changes topic to "Launchpad SSO is not currently working, so logins to our services like review.openstack.org and wiki.openstack.org are failing; the admins at Canonical are looking into the issue but there is no estimated time for a fix yet."16:27
*** elynn has quit IRC16:34
*** ChanServ changes topic to "IRCLog: http://eavesdrop.openstack.org/irclogs/%23senlin/ | Bugs: bugs.launchpad.net/senlin | Review: https://review.openstack.org/#/q/project:openstack/senlin,n,z"17:03
-openstackstatus- NOTICE: Canonical admins have resolved the issue with login.launchpad.net, so authentication should be restored now.17:03
*** Drago1 has quit IRC21:04
*** Drago1 has joined #senlin21:10
*** Drago1 has quit IRC21:47
*** Drago1 has joined #senlin21:48

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