Tuesday, 2015-10-13

*** Qiming has joined #senlin00:07
*** branw_ has quit IRC00:36
*** Qiming has quit IRC01:11
*** Yanyanhu has joined #senlin01:23
*** zhenguo has joined #senlin01:33
openstackgerritMerged stackforge/senlin: Updated from global requirements  https://review.openstack.org/23383801:34
*** elynn has joined #senlin01:47
elynnmorning01:50
Yanyanhumorning01:52
*** Qiming has joined #senlin02:06
*** jdandrea has quit IRC02:13
*** lixinhui has joined #senlin02:15
*** Zhenqi has joined #senlin02:50
lixinhuihi, anyone met this error before?03:05
lixinhuiERROR: Unable to load senlin-api from configuration file /etc/senlin/api-paste.ini.03:05
lixinhuiGot: ImportError('cannot import name ssl',)03:05
Qimingoh?03:13
Yanyanhussl has been removed?03:14
Yanyanhussl middleware03:14
Qimingyes, it is in oslo.middleware now03:15
lixinhuithis happens when I try to integrate senlin with vio03:15
lixinhuiseems related to package version03:15
lixinhuioslo.middleware (2.0.0)03:16
Yanyanhumine is 2.8.003:16
lixinhuiyes03:16
Yanyanhuyou may want to update your solo version :)03:16
Yanyanhuthe global requirement has been updated to 2.8.003:17
Yanyanhuoslo.middleware>=2.8.0 # Apache-2.003:17
Yanyanhusorry, oslo, not solo03:17
lixinhuivio requires pbr 0.11.003:17
lixinhuiI found this during setup of senlin client03:17
lixinhuihttp://paste.openstack.org/show/476079/03:19
lixinhuiseems ssl depends on utils 1.4.0 but oslo.serivce depends utils>=1.6.003:21
Qiming...03:22
openstackgerritMerged stackforge/senlin-dashboard: Add node delete action  https://review.openstack.org/23371603:29
*** Zhenqi has quit IRC03:39
openstackgerritMerged stackforge/senlin-dashboard: Detemine the node row status base on node status via ajax  https://review.openstack.org/23373204:03
*** Qiming has quit IRC04:11
*** Yanyanhu has quit IRC04:13
*** Yanyanhu has joined #senlin05:05
*** Qiming has joined #senlin05:05
*** gongysh has joined #senlin05:17
*** lixinhui has quit IRC06:16
openstackgerritMerged stackforge/senlin: Add batch constraint for cluster operations  https://review.openstack.org/23081306:19
*** Qiming has quit IRC06:20
*** Yanyanhu has quit IRC06:20
*** openstack has joined #senlin06:30
*** Yanyanhu has joined #senlin06:34
*** Qiming has joined #senlin06:36
*** lixinhui has joined #senlin06:38
elynnHi07:34
Qimingelynn, hi07:34
elynnWhen I use this code to call cluster creation, I got an error07:35
elynnself.client().Cluster.create(**args)07:35
elynnAttributeError: 'Client' object has no attribute 'Cluster'07:35
elynnSeems senlinclient didn't support this way .07:35
elynnBut instead using this way to call cluster creation https://github.com/stackforge/python-senlinclient/blob/master/senlinclient/v1/shell.py#L63407:36
Qimingyes07:36
Qimingit has to be that way at the moment07:37
elynnsecond one is a better way? Or to refactor senlinclient for heat support?07:37
Qimingthat part is a little bit old07:37
Qimingand not the ideal way to things07:38
Qiminglet me find some examples for you07:38
Qiminghttps://review.openstack.org/#/c/196385/07:39
Qimingwe have two ways to invoke openstacksdk interfaces: 1. through the object model layer, 2. through the _proxy module layer07:40
Qimingwe were using the 1st way when we wrote the client code07:41
Qimingbut later, we got suggestions from sdk team that we should use the second approach07:41
Qimingto be more specific:07:41
Qimingcluster = client.create(models.Cluster, params) <-- the first way07:42
Qimingcluster = client.create_cluster(params) <-- the second way07:43
elynnHmm, seems the second way is the way I want07:43
Qimingyes07:43
elynnBut I'm not using openstacksdk right now07:43
Qimingright07:44
Qimingyou are not using it, but senlinclient is using it07:44
Qimingsenlinclient need to choose from these two options07:44
Qimingthe only viable way is the first one as of today07:44
elynnok, so the workflow would be senlinclient -> openstacksdk -> senlin-api, isn't it?07:44
Qimingyes07:45
Qiminglook here: http://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/cluster/v107:45
elynnOh, I got it.07:45
Qimingwe already have some objects pushed into sdk07:45
Qimingideally, heat should invoke openstacksdk directly07:45
Qimingone day, when we have all senlin concepts: cluster, node, policy, profile ... pushed to sdk07:46
elynnDidn't find cluster_create or cluster_delete in http://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/cluster/v1/cluster.py07:46
Qimingany project (including Heat) should be able to talk to senlin-api directly, without introducing a dependency to the xxxclient package07:46
Qimingit is here: http://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/cluster/v1/_proxy.py07:47
elynnok, I will do some test with it.07:48
Qiminghttp://git.openstack.org/cgit/stackforge/senlin/tree/senlin/drivers/openstack/nova_v2.py07:50
Qimingthis is how senlin (server) interacts with nova through openstacksdk07:51
Qimingyour points are valid ones07:51
Qimingmaybe we should make the downstream interface more user friendly07:51
Qimingit will help not just the resource type work, but also the senlin-dashboard project07:52
Qimingagain, we need hands on that07:52
Qiming:)07:52
xuhaiweiQiming, about the health policy, how does it take effect? need to imput an agent into the vm?08:00
Qimingxuhaiwei, see the sample08:02
xuhaiweithe examples/policies/health_policy_lb.yaml?08:02
Qiminghttp://git.openstack.org/cgit/stackforge/senlin/tree/examples/policies/health_policy_poll.yaml#n808:02
Qimingthere are three options planned for health detection08:04
Qiming1. having senlin to check each node's status, which means a profile needs to provide a do_check() call08:05
Qimingand senlin engine will have a health manager (http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/engine/health_manager.py)08:06
Qimingthe manager periodically check the node health08:07
Qiming2. having senlin to listen to message queues, because some services do post event notifications on the message queue when object lifecycle events occur, e.g. nova server created, nova server down ...08:08
Qiming3. having senlin to query the healthmon component of a load-balancer, if a cluster is already attached with a lb policy08:08
xuhaiweifor the first method, how to check the node's status? from response of Nova api like 'nova show'?08:09
*** Zhenqi has joined #senlin08:25
*** openstack has joined #senlin08:49
Qimingyes, xuhaiwei, each profile will be responsible to determine whether the object is healthy08:51
openstackgerritYanyan Hu proposed stackforge/senlin: Enforce uniqueness of cluster/node name  https://review.openstack.org/23405109:08
*** Yanyanhu has quit IRC09:27
*** Qiming has quit IRC09:53
*** lixinhui has quit IRC09:55
*** zhenguo has quit IRC10:00
*** openstackgerrit has quit IRC10:01
*** openstackgerrit has joined #senlin10:02
*** Zhenqi has quit IRC10:26
*** elynn has quit IRC10:31
*** lixinhui has joined #senlin10:33
lixinhuiwhat format to add metadata into nova-server.yaml10:35
*** gongysh has quit IRC10:42
*** gongysh has joined #senlin10:43
*** Qiming has joined #senlin10:47
openstackgerritQiming Teng proposed stackforge/senlin: Temporary proposal for big tent adoption  https://review.openstack.org/23416211:39
openstackgerritQiming Teng proposed stackforge/senlin: Temporary proposal for big tent adoption  https://review.openstack.org/23416211:43
openstackgerritMerged stackforge/senlin-dashboard: Hide permission and use None for permission by default  https://review.openstack.org/23364711:50
*** Yanyanhu has joined #senlin12:43
*** Yanyan has joined #senlin12:44
*** lawrancejing has joined #senlin12:46
*** Yanyanhu has quit IRC12:47
*** Yanyanhu has joined #senlin12:48
*** Yanyan has quit IRC12:49
*** Yanyan has joined #senlin12:49
*** Yanyanhu has quit IRC12:52
*** jdandrea has joined #senlin12:55
*** Yanyan is now known as yanyanhu12:55
*** elynn has joined #senlin12:59
yanyanhuhi, the meeting will start after nova meeting finish13:00
yanyanhuhi, guys, meeting started :)13:01
*** jruano has joined #senlin13:01
*** jruano has quit IRC14:01
*** yanyanhu has quit IRC14:05
*** elynn has quit IRC14:13
*** lixinhui has quit IRC14:14
*** elynn has joined #senlin14:18
*** pm90_ has joined #senlin14:28
*** elynn has quit IRC14:31
*** pm90__ has joined #senlin14:32
*** lixinhui has joined #senlin14:32
*** pm90_ has quit IRC14:34
*** Qiming_ has joined #senlin14:35
*** lixinhui has quit IRC14:36
*** elynn has joined #senlin14:37
*** Qiming has quit IRC14:39
*** lawrancejing has quit IRC14:50
*** elynn has quit IRC14:53
*** lixinhui has joined #senlin14:59
*** lixinhui has quit IRC15:04
*** Qiming_ has quit IRC15:25
*** lixinhui has joined #senlin15:26
*** pm90__ has quit IRC15:29
*** lixinhui has quit IRC15:31
*** pm90_ has joined #senlin15:36
*** jruano has joined #senlin15:38
*** lixinhui has joined #senlin15:53
*** lixinhui has quit IRC15:57
*** lixinhui has joined #senlin16:20
*** lixinhui has quit IRC16:26
*** pm90__ has joined #senlin16:43
*** pm90_ has quit IRC16:46
*** lixinhui has joined #senlin16:48
*** lixinhui has quit IRC16:52
*** lixinhui has joined #senlin17:15
*** lixinhui has quit IRC17:19
*** lixinhui has joined #senlin17:42
*** lixinhui has quit IRC17:46
*** pm90__ has quit IRC17:57
*** lixinhui has joined #senlin18:09
*** lixinhui has quit IRC18:13
*** pm90_ has joined #senlin18:36
*** lixinhui has joined #senlin18:36
*** lixinhui has quit IRC18:40
*** pm90__ has joined #senlin18:40
*** pm90_ has quit IRC18:43
*** lixinhui has joined #senlin19:03
*** lixinhui has quit IRC19:08
*** lixinhui has joined #senlin19:30
*** lixinhui has quit IRC19:34
*** lixinhui has joined #senlin19:57
*** lixinhui has quit IRC20:01
*** lixinhui has joined #senlin20:24
*** lixinhui has quit IRC20:29
*** lixinhui has joined #senlin20:52
*** lixinhui has quit IRC20:56
*** gongysh has quit IRC21:15
*** gongysh has joined #senlin21:18
*** lixinhui has joined #senlin21:18
*** lixinhui has quit IRC21:23
*** pm90__ has quit IRC21:24
*** lixinhui has joined #senlin21:46
*** lixinhui has quit IRC21:51
*** pm90_ has joined #senlin21:55
*** pm90__ has joined #senlin21:57
*** pm90_ has quit IRC22:00
*** lixinhui has joined #senlin22:13
*** lixinhui has quit IRC22:17
*** pm90_ has joined #senlin22:36
*** lixinhui has joined #senlin22:40
*** pm90__ has quit IRC22:40
*** lixinhui has quit IRC22:45
*** jruano has quit IRC23:07
*** lixinhui has joined #senlin23:07
*** lixinhui has quit IRC23:11
*** Qiming_ has joined #senlin23:24
*** pm90_ has quit IRC23:29
*** Qiming_ has quit IRC23:29
*** lixinhui has joined #senlin23:34
*** lixinhui has quit IRC23:39

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