*** Qiming has joined #senlin | 00:07 | |
*** branw_ has quit IRC | 00:36 | |
*** Qiming has quit IRC | 01:11 | |
*** Yanyanhu has joined #senlin | 01:23 | |
*** zhenguo has joined #senlin | 01:33 | |
openstackgerrit | Merged stackforge/senlin: Updated from global requirements https://review.openstack.org/233838 | 01:34 |
---|---|---|
*** elynn has joined #senlin | 01:47 | |
elynn | morning | 01:50 |
Yanyanhu | morning | 01:52 |
*** Qiming has joined #senlin | 02:06 | |
*** jdandrea has quit IRC | 02:13 | |
*** lixinhui has joined #senlin | 02:15 | |
*** Zhenqi has joined #senlin | 02:50 | |
lixinhui | hi, anyone met this error before? | 03:05 |
lixinhui | ERROR: Unable to load senlin-api from configuration file /etc/senlin/api-paste.ini. | 03:05 |
lixinhui | Got: ImportError('cannot import name ssl',) | 03:05 |
Qiming | oh? | 03:13 |
Yanyanhu | ssl has been removed? | 03:14 |
Yanyanhu | ssl middleware | 03:14 |
Qiming | yes, it is in oslo.middleware now | 03:15 |
lixinhui | this happens when I try to integrate senlin with vio | 03:15 |
lixinhui | seems related to package version | 03:15 |
lixinhui | oslo.middleware (2.0.0) | 03:16 |
Yanyanhu | mine is 2.8.0 | 03:16 |
lixinhui | yes | 03:16 |
Yanyanhu | you may want to update your solo version :) | 03:16 |
Yanyanhu | the global requirement has been updated to 2.8.0 | 03:17 |
Yanyanhu | oslo.middleware>=2.8.0 # Apache-2.0 | 03:17 |
Yanyanhu | sorry, oslo, not solo | 03:17 |
lixinhui | vio requires pbr 0.11.0 | 03:17 |
lixinhui | I found this during setup of senlin client | 03:17 |
lixinhui | http://paste.openstack.org/show/476079/ | 03:19 |
lixinhui | seems ssl depends on utils 1.4.0 but oslo.serivce depends utils>=1.6.0 | 03:21 |
Qiming | ... | 03:22 |
openstackgerrit | Merged stackforge/senlin-dashboard: Add node delete action https://review.openstack.org/233716 | 03:29 |
*** Zhenqi has quit IRC | 03:39 | |
openstackgerrit | Merged stackforge/senlin-dashboard: Detemine the node row status base on node status via ajax https://review.openstack.org/233732 | 04:03 |
*** Qiming has quit IRC | 04:11 | |
*** Yanyanhu has quit IRC | 04:13 | |
*** Yanyanhu has joined #senlin | 05:05 | |
*** Qiming has joined #senlin | 05:05 | |
*** gongysh has joined #senlin | 05:17 | |
*** lixinhui has quit IRC | 06:16 | |
openstackgerrit | Merged stackforge/senlin: Add batch constraint for cluster operations https://review.openstack.org/230813 | 06:19 |
*** Qiming has quit IRC | 06:20 | |
*** Yanyanhu has quit IRC | 06:20 | |
*** openstack has joined #senlin | 06:30 | |
*** Yanyanhu has joined #senlin | 06:34 | |
*** Qiming has joined #senlin | 06:36 | |
*** lixinhui has joined #senlin | 06:38 | |
elynn | Hi | 07:34 |
Qiming | elynn, hi | 07:34 |
elynn | When I use this code to call cluster creation, I got an error | 07:35 |
elynn | self.client().Cluster.create(**args) | 07:35 |
elynn | AttributeError: 'Client' object has no attribute 'Cluster' | 07:35 |
elynn | Seems senlinclient didn't support this way . | 07:35 |
elynn | But instead using this way to call cluster creation https://github.com/stackforge/python-senlinclient/blob/master/senlinclient/v1/shell.py#L634 | 07:36 |
Qiming | yes | 07:36 |
Qiming | it has to be that way at the moment | 07:37 |
elynn | second one is a better way? Or to refactor senlinclient for heat support? | 07:37 |
Qiming | that part is a little bit old | 07:37 |
Qiming | and not the ideal way to things | 07:38 |
Qiming | let me find some examples for you | 07:38 |
Qiming | https://review.openstack.org/#/c/196385/ | 07:39 |
Qiming | we have two ways to invoke openstacksdk interfaces: 1. through the object model layer, 2. through the _proxy module layer | 07:40 |
Qiming | we were using the 1st way when we wrote the client code | 07:41 |
Qiming | but later, we got suggestions from sdk team that we should use the second approach | 07:41 |
Qiming | to be more specific: | 07:41 |
Qiming | cluster = client.create(models.Cluster, params) <-- the first way | 07:42 |
Qiming | cluster = client.create_cluster(params) <-- the second way | 07:43 |
elynn | Hmm, seems the second way is the way I want | 07:43 |
Qiming | yes | 07:43 |
elynn | But I'm not using openstacksdk right now | 07:43 |
Qiming | right | 07:44 |
Qiming | you are not using it, but senlinclient is using it | 07:44 |
Qiming | senlinclient need to choose from these two options | 07:44 |
Qiming | the only viable way is the first one as of today | 07:44 |
elynn | ok, so the workflow would be senlinclient -> openstacksdk -> senlin-api, isn't it? | 07:44 |
Qiming | yes | 07:45 |
Qiming | look here: http://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/cluster/v1 | 07:45 |
elynn | Oh, I got it. | 07:45 |
Qiming | we already have some objects pushed into sdk | 07:45 |
Qiming | ideally, heat should invoke openstacksdk directly | 07:45 |
Qiming | one day, when we have all senlin concepts: cluster, node, policy, profile ... pushed to sdk | 07:46 |
elynn | Didn't find cluster_create or cluster_delete in http://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/cluster/v1/cluster.py | 07:46 |
Qiming | any project (including Heat) should be able to talk to senlin-api directly, without introducing a dependency to the xxxclient package | 07:46 |
Qiming | it is here: http://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/cluster/v1/_proxy.py | 07:47 |
elynn | ok, I will do some test with it. | 07:48 |
Qiming | http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/drivers/openstack/nova_v2.py | 07:50 |
Qiming | this is how senlin (server) interacts with nova through openstacksdk | 07:51 |
Qiming | your points are valid ones | 07:51 |
Qiming | maybe we should make the downstream interface more user friendly | 07:51 |
Qiming | it will help not just the resource type work, but also the senlin-dashboard project | 07:52 |
Qiming | again, we need hands on that | 07:52 |
Qiming | :) | 07:52 |
xuhaiwei | Qiming, about the health policy, how does it take effect? need to imput an agent into the vm? | 08:00 |
Qiming | xuhaiwei, see the sample | 08:02 |
xuhaiwei | the examples/policies/health_policy_lb.yaml? | 08:02 |
Qiming | http://git.openstack.org/cgit/stackforge/senlin/tree/examples/policies/health_policy_poll.yaml#n8 | 08:02 |
Qiming | there are three options planned for health detection | 08:04 |
Qiming | 1. having senlin to check each node's status, which means a profile needs to provide a do_check() call | 08:05 |
Qiming | and senlin engine will have a health manager (http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/engine/health_manager.py) | 08:06 |
Qiming | the manager periodically check the node health | 08:07 |
Qiming | 2. 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 |
Qiming | 3. having senlin to query the healthmon component of a load-balancer, if a cluster is already attached with a lb policy | 08:08 |
xuhaiwei | for the first method, how to check the node's status? from response of Nova api like 'nova show'? | 08:09 |
*** Zhenqi has joined #senlin | 08:25 | |
*** openstack has joined #senlin | 08:49 | |
Qiming | yes, xuhaiwei, each profile will be responsible to determine whether the object is healthy | 08:51 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Enforce uniqueness of cluster/node name https://review.openstack.org/234051 | 09:08 |
*** Yanyanhu has quit IRC | 09:27 | |
*** Qiming has quit IRC | 09:53 | |
*** lixinhui has quit IRC | 09:55 | |
*** zhenguo has quit IRC | 10:00 | |
*** openstackgerrit has quit IRC | 10:01 | |
*** openstackgerrit has joined #senlin | 10:02 | |
*** Zhenqi has quit IRC | 10:26 | |
*** elynn has quit IRC | 10:31 | |
*** lixinhui has joined #senlin | 10:33 | |
lixinhui | what format to add metadata into nova-server.yaml | 10:35 |
*** gongysh has quit IRC | 10:42 | |
*** gongysh has joined #senlin | 10:43 | |
*** Qiming has joined #senlin | 10:47 | |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Temporary proposal for big tent adoption https://review.openstack.org/234162 | 11:39 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Temporary proposal for big tent adoption https://review.openstack.org/234162 | 11:43 |
openstackgerrit | Merged stackforge/senlin-dashboard: Hide permission and use None for permission by default https://review.openstack.org/233647 | 11:50 |
*** Yanyanhu has joined #senlin | 12:43 | |
*** Yanyan has joined #senlin | 12:44 | |
*** lawrancejing has joined #senlin | 12:46 | |
*** Yanyanhu has quit IRC | 12:47 | |
*** Yanyanhu has joined #senlin | 12:48 | |
*** Yanyan has quit IRC | 12:49 | |
*** Yanyan has joined #senlin | 12:49 | |
*** Yanyanhu has quit IRC | 12:52 | |
*** jdandrea has joined #senlin | 12:55 | |
*** Yanyan is now known as yanyanhu | 12:55 | |
*** elynn has joined #senlin | 12:59 | |
yanyanhu | hi, the meeting will start after nova meeting finish | 13:00 |
yanyanhu | hi, guys, meeting started :) | 13:01 |
*** jruano has joined #senlin | 13:01 | |
*** jruano has quit IRC | 14:01 | |
*** yanyanhu has quit IRC | 14:05 | |
*** elynn has quit IRC | 14:13 | |
*** lixinhui has quit IRC | 14:14 | |
*** elynn has joined #senlin | 14:18 | |
*** pm90_ has joined #senlin | 14:28 | |
*** elynn has quit IRC | 14:31 | |
*** pm90__ has joined #senlin | 14:32 | |
*** lixinhui has joined #senlin | 14:32 | |
*** pm90_ has quit IRC | 14:34 | |
*** Qiming_ has joined #senlin | 14:35 | |
*** lixinhui has quit IRC | 14:36 | |
*** elynn has joined #senlin | 14:37 | |
*** Qiming has quit IRC | 14:39 | |
*** lawrancejing has quit IRC | 14:50 | |
*** elynn has quit IRC | 14:53 | |
*** lixinhui has joined #senlin | 14:59 | |
*** lixinhui has quit IRC | 15:04 | |
*** Qiming_ has quit IRC | 15:25 | |
*** lixinhui has joined #senlin | 15:26 | |
*** pm90__ has quit IRC | 15:29 | |
*** lixinhui has quit IRC | 15:31 | |
*** pm90_ has joined #senlin | 15:36 | |
*** jruano has joined #senlin | 15:38 | |
*** lixinhui has joined #senlin | 15:53 | |
*** lixinhui has quit IRC | 15:57 | |
*** lixinhui has joined #senlin | 16:20 | |
*** lixinhui has quit IRC | 16:26 | |
*** pm90__ has joined #senlin | 16:43 | |
*** pm90_ has quit IRC | 16:46 | |
*** lixinhui has joined #senlin | 16:48 | |
*** lixinhui has quit IRC | 16:52 | |
*** lixinhui has joined #senlin | 17:15 | |
*** lixinhui has quit IRC | 17:19 | |
*** lixinhui has joined #senlin | 17:42 | |
*** lixinhui has quit IRC | 17:46 | |
*** pm90__ has quit IRC | 17:57 | |
*** lixinhui has joined #senlin | 18:09 | |
*** lixinhui has quit IRC | 18:13 | |
*** pm90_ has joined #senlin | 18:36 | |
*** lixinhui has joined #senlin | 18:36 | |
*** lixinhui has quit IRC | 18:40 | |
*** pm90__ has joined #senlin | 18:40 | |
*** pm90_ has quit IRC | 18:43 | |
*** lixinhui has joined #senlin | 19:03 | |
*** lixinhui has quit IRC | 19:08 | |
*** lixinhui has joined #senlin | 19:30 | |
*** lixinhui has quit IRC | 19:34 | |
*** lixinhui has joined #senlin | 19:57 | |
*** lixinhui has quit IRC | 20:01 | |
*** lixinhui has joined #senlin | 20:24 | |
*** lixinhui has quit IRC | 20:29 | |
*** lixinhui has joined #senlin | 20:52 | |
*** lixinhui has quit IRC | 20:56 | |
*** gongysh has quit IRC | 21:15 | |
*** gongysh has joined #senlin | 21:18 | |
*** lixinhui has joined #senlin | 21:18 | |
*** lixinhui has quit IRC | 21:23 | |
*** pm90__ has quit IRC | 21:24 | |
*** lixinhui has joined #senlin | 21:46 | |
*** lixinhui has quit IRC | 21:51 | |
*** pm90_ has joined #senlin | 21:55 | |
*** pm90__ has joined #senlin | 21:57 | |
*** pm90_ has quit IRC | 22:00 | |
*** lixinhui has joined #senlin | 22:13 | |
*** lixinhui has quit IRC | 22:17 | |
*** pm90_ has joined #senlin | 22:36 | |
*** lixinhui has joined #senlin | 22:40 | |
*** pm90__ has quit IRC | 22:40 | |
*** lixinhui has quit IRC | 22:45 | |
*** jruano has quit IRC | 23:07 | |
*** lixinhui has joined #senlin | 23:07 | |
*** lixinhui has quit IRC | 23:11 | |
*** Qiming_ has joined #senlin | 23:24 | |
*** pm90_ has quit IRC | 23:29 | |
*** Qiming_ has quit IRC | 23:29 | |
*** lixinhui has joined #senlin | 23:34 | |
*** lixinhui has quit IRC | 23:39 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!