*** pm90_ has joined #senlin | 00:06 | |
*** pm90_ has quit IRC | 00:14 | |
openstackgerrit | Merged openstack/senlin: Move policy update logic to cluster https://review.openstack.org/241952 | 00:20 |
---|---|---|
*** gongysh has joined #senlin | 00:27 | |
*** lvdongbing has joined #senlin | 00:39 | |
*** Qiming_ has joined #senlin | 00:43 | |
*** lvdongbing has quit IRC | 00:52 | |
*** lvdongbing has joined #senlin | 00:56 | |
*** Qiming_ has quit IRC | 01:14 | |
*** zhenguo has joined #senlin | 01:28 | |
*** pm90_ has joined #senlin | 02:00 | |
*** Yanyanhu has joined #senlin | 02:04 | |
*** shu has quit IRC | 02:13 | |
*** elynn has joined #senlin | 02:32 | |
*** jdandrea has quit IRC | 02:33 | |
*** pm90_ has quit IRC | 02:42 | |
elynn | Morning | 03:00 |
*** yuanying has quit IRC | 03:17 | |
*** lkarm has joined #senlin | 03:36 | |
*** lkarm has quit IRC | 03:41 | |
*** yuanying has joined #senlin | 04:14 | |
openstackgerrit | xu-haiwei proposed openstack/python-senlinclient: Add test case for v1/shell module - part 1 https://review.openstack.org/243407 | 04:33 |
xuhaiwei | Yanyanhu, are you around? | 06:07 |
openstackgerrit | Merged openstack/python-senlinclient: Remove unused methods in client module https://review.openstack.org/242415 | 06:07 |
Yanyanhu | xuhaiwei, yes | 06:08 |
xuhaiwei | Qiming can't attend tonight's meeting, he wanted me to hold it | 06:09 |
xuhaiwei | do you have any topic to discuss? | 06:09 |
Yanyanhu | oh, just added a topic about TODO items in the agenda | 06:09 |
Yanyanhu | maybe we can quick go through all TODO items to ensure everybody can understand them correctly | 06:10 |
Yanyanhu | no other special topics for discussion | 06:10 |
xuhaiwei | ok | 06:10 |
*** Qiming_ has joined #senlin | 06:14 | |
*** Qiming_ has quit IRC | 06:18 | |
xuhaiwei | Qiming_, TC meeting will be held tomorrow? | 06:18 |
Yanyanhu | xuhaiwei, I guess so | 06:19 |
xuhaiwei | the vote should be passed this time | 06:19 |
Yanyanhu | hope so :) | 06:21 |
*** shu has joined #senlin | 06:46 | |
*** Qiming has joined #senlin | 07:21 | |
*** openstackgerrit has quit IRC | 07:46 | |
*** openstackgerrit has joined #senlin | 07:47 | |
*** Qiming has quit IRC | 08:03 | |
*** openstackgerrit has quit IRC | 08:31 | |
*** openstackgerrit has joined #senlin | 08:31 | |
Yanyanhu | hi, elynn, around? | 08:32 |
elynn | Hi | 08:32 |
Yanyanhu | I found the attribute schema has not been added yet? | 08:34 |
Yanyanhu | https://github.com/lynic/templates/blob/master/senlin/heat_resource/resources/senlin/cluster.py | 08:34 |
Yanyanhu | in this test code | 08:34 |
elynn | yes, attribute for cluster haven't been added yet. | 08:34 |
Yanyanhu | only find the schema definition of properties | 08:34 |
Yanyanhu | ok, got it | 08:34 |
elynn | Do you think what kind of attributes need to add? | 08:35 |
Yanyanhu | hmm, still need to think about it | 08:35 |
Yanyanhu | oh, what you mean by the 'spec' attribute of cluster? | 08:36 |
Yanyanhu | the spec of profile used to create cluster? | 08:36 |
elynn | only profile has 'spec' attribute | 08:38 |
elynn | Oh... you mean https://github.com/lynic/templates/blob/master/senlin/heat_resource/resources/senlin/cluster.py#L47-L51 | 08:38 |
Yanyanhu | yes :) | 08:38 |
elynn | I haven't update it yet... Just copy/paste from profile.py | 08:39 |
Yanyanhu | ok, I see | 08:39 |
elynn | Will update it ASAP | 08:39 |
Yanyanhu | thanks, I guess we need to consider some typical autoscaling scenarios when trying to decide what attrs we want to support in cluster resource | 08:40 |
elynn | A question about senlin, can a cluster be locked by multi action? | 08:42 |
elynn | yes, do you think the attributes from cluster-show is enough? | 08:42 |
Yanyanhu | I'm not sure whether we should add min_size, max_size and desired_capacity into attrs list | 08:43 |
Yanyanhu | since they are usually defined by user | 08:43 |
Yanyanhu | so it looks like we don't need expose them as attribute | 08:43 |
Yanyanhu | what is the common pratice in heat for this kind of attrs? | 08:44 |
elynn | https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/heat/autoscaling_group.py#L42-L46 | 08:45 |
elynn | ASG will expose the output value. | 08:46 |
Yanyanhu | yes, I think current_size is needed | 08:46 |
Yanyanhu | hmm, but for senlin, we don't have output I think | 08:46 |
elynn | yes, maybe just current size for now? | 08:47 |
Yanyanhu | guess so, besides name, id | 08:47 |
elynn | and a list of node id? | 08:47 |
elynn | https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/heat/resource_group.py#L196-L208 | 08:47 |
Yanyanhu | yes, agree | 08:48 |
Yanyanhu | hi, elynn, I guess maybe also each node's detail | 08:56 |
Yanyanhu | like the ip addresses of a nova server | 08:57 |
elynn | I don't think a node is just a server, since it could be a heat stack... | 08:58 |
Yanyanhu | maybe just name it as 'node_details'. It can be a list which has the following format ['ID_NODE1': {detail_node_1}, 'ID_NODE2': {detail_node_2}] | 08:58 |
Yanyanhu | yes, for node which is a heat stack, its detail information will be different | 08:59 |
Yanyanhu | what detail information you can get depends on the 'get_details' method defined in profile | 08:59 |
elynn | ok, no problem | 08:59 |
Yanyanhu | need more discussion about this issue I think :) | 09:00 |
elynn | Senlin hase 'get_details' in profile? | 09:00 |
Yanyanhu | yes | 09:01 |
Yanyanhu | http://git.openstack.org/cgit/openstack/senlin/tree/senlin/profiles/os/nova/server.py#n336 | 09:02 |
Yanyanhu | like this | 09:02 |
elynn | Is there any client method to get it? | 09:03 |
Yanyanhu | yes, I think there is client interface for it | 09:03 |
Yanyanhu | let me check the code | 09:03 |
Yanyanhu | add -D or --details option when performing node-show operation | 09:04 |
Yanyanhu | will give you the detail information of a node | 09:04 |
elynn | ok. I see it. | 09:05 |
Yanyanhu | http://git.openstack.org/cgit/openstack/python-senlinclient/tree/senlinclient/v1/client.py#n227 | 09:06 |
elynn | So for now we can add two attrs for cluster, node_list and current_size | 09:07 |
elynn | or node_details is better? | 09:08 |
Yanyanhu | yes, I also prefer node_details | 09:08 |
xuhaiwei | just a question, we will add two new attrs for cluster?? | 09:09 |
xuhaiwei | or that is related to heat resource? | 09:09 |
Yanyanhu | just related to heat resource | 09:09 |
xuhaiwei | got it | 09:10 |
Yanyanhu | since senlin cluster implementation has supported them and we believe they will be useful for user :) | 09:10 |
elynn | Will work on it. | 09:14 |
Yanyanhu | thanks. maybe you can also give a quick update about this work in tonight's irc meeting? | 09:14 |
elynn | ok | 09:16 |
xuhaiwei | elynn, will you share us the heat resource work in tonight's meeting? | 09:19 |
elynn | yes, I will | 09:19 |
xuhaiwei | just didn't see yanyan's message | 09:19 |
xuhaiwei | :( | 09:19 |
elynn | Do we bump the client version yet? | 09:20 |
elynn | After Qiming's revise patch merged. | 09:20 |
xuhaiwei | not sure about that | 09:21 |
Yanyanhu | hi, elynn, I guess so | 09:22 |
Yanyanhu | I think qiming will handle this. It is important for your work in heat side :) | 09:22 |
elynn | yes, waiting for global-requirement to bump version too... | 09:23 |
Yanyanhu | yea | 09:24 |
openstackgerrit | Ethan Lynn proposed openstack/senlin: [WIP]Steal lock when engine is dead https://review.openstack.org/243483 | 09:29 |
elynn | Feel free to comment on ^^ | 09:31 |
Yanyanhu | sure | 09:34 |
xuhaiwei | elynn, should we do this after multi-engine is supported? | 09:37 |
elynn | We don't support multi-engine yet? | 09:38 |
xuhaiwei | not yet | 09:38 |
elynn | sigh... | 09:38 |
Yanyanhu | xuhaiwei, elynn, we have | 09:39 |
Yanyanhu | and I have made some simple tests about it | 09:40 |
Yanyanhu | I think it works in normal cases | 09:40 |
xuhaiwei | the match is merged? | 09:40 |
Yanyanhu | xuhaiwei, yes, you can set the engine worker number in the senlin.conf | 09:40 |
Yanyanhu | but we still need to do more test about it and fix any possible issues | 09:41 |
elynn | Do we have any command line to list engines? | 09:42 |
Yanyanhu | especially about the issues that happen during concurrent DB access | 09:42 |
Yanyanhu | elynn, not yet | 09:42 |
Yanyanhu | I know heat has related support :) | 09:42 |
elynn | yes, through 'heat-manage serviece list' | 09:42 |
Yanyanhu | So I think the multi-engine support in senlin is still in working progress. Maybe we can expose related interfaces user after we ensure it is stable. | 09:44 |
Yanyanhu | to user | 09:44 |
Yanyanhu | hi, xuhaiwei, you can change this option to test multi-engine http://git.openstack.org/cgit/openstack/senlin/tree/etc/senlin/senlin.conf.sample#n227 | 09:45 |
xuhaiwei | thanks | 09:46 |
Yanyanhu | maybe I should also enable multi-engine environment when doing functional test | 09:46 |
Yanyanhu | np | 09:46 |
xuhaiwei | I just changed it to 2 | 09:46 |
Yanyanhu | it should work I think :) | 09:46 |
xuhaiwei | and restarted senlin-engine service | 09:46 |
xuhaiwei | it seems still only one engine is working | 09:47 |
Yanyanhu | oh, really, let me check it. I tested with 4 engine workers about a month ago. | 09:48 |
Yanyanhu | it works well in my env | 09:48 |
xuhaiwei | I just checked the running process, only one engine is running | 09:48 |
Yanyanhu | hmm, weird, I can see three engine processes if I set num to 3 | 09:49 |
xuhaiwei | now it's rnning | 09:49 |
xuhaiwei | running | 09:49 |
xuhaiwei | but with 3 engine running | 09:50 |
Yanyanhu | ok | 09:50 |
xuhaiwei | I guess the former one is not killed | 09:50 |
Yanyanhu | the first one is the initial one I think | 09:50 |
Yanyanhu | no, it was | 09:50 |
xuhaiwei | so when we set it to 2, it should have 3 running? | 09:51 |
Yanyanhu | I think the first one is the parent process of other ones | 09:52 |
Yanyanhu | so you can see it in ps result | 09:53 |
Yanyanhu | the basic support is provided by oslo_service | 09:53 |
Yanyanhu | let me find the code | 09:53 |
xuhaiwei | I think you are right, when I kill the first one, all are killed | 09:54 |
Yanyanhu | http://git.openstack.org/cgit/openstack/senlin/tree/bin/senlin-engine#n55 | 09:54 |
Yanyanhu | yep | 09:54 |
Yanyanhu | you can use multi-engine environment for your daily work. That will be very helpful for finding bug :) | 09:55 |
xuhaiwei | but the Child can not be killed, when I try to kill it, it is recreated | 09:56 |
xuhaiwei | is there any configuration for it? | 09:56 |
Yanyanhu | yes, that's intended :) | 09:56 |
Yanyanhu | no sure... I saw related code about auto recreating before | 09:57 |
Yanyanhu | you're supposed to use service start/stop to control the lifecycle of all engine threads | 09:58 |
Yanyanhu | will go back home. Talk to you guys later | 09:59 |
xuhaiwei | ok | 09:59 |
xuhaiwei | I forced to kill a heat-engine | 10:00 |
xuhaiwei | succeeded | 10:00 |
Yanyanhu | :) | 10:00 |
xuhaiwei | see you later, I will go home too | 10:00 |
Yanyanhu | you can kill any process in user mode if you have root privilege in Linux :) | 10:00 |
*** zhenguo has quit IRC | 10:00 | |
Yanyanhu | see U | 10:00 |
elynn | c u | 10:00 |
*** elynn has quit IRC | 10:06 | |
*** Yanyanhu has quit IRC | 10:07 | |
*** gongysh has quit IRC | 10:15 | |
*** lvdongbing has quit IRC | 10:20 | |
*** lvdongbing has joined #senlin | 11:11 | |
*** Liuqing has joined #senlin | 11:13 | |
*** shu has quit IRC | 11:40 | |
*** elynn has joined #senlin | 12:01 | |
*** elynn has quit IRC | 12:17 | |
*** elynn has joined #senlin | 12:19 | |
*** xuhaiwei has quit IRC | 12:36 | |
*** yanyanhu has joined #senlin | 12:44 | |
*** jruano has joined #senlin | 13:00 | |
*** yanyan has joined #senlin | 13:02 | |
*** yanyanhu has quit IRC | 13:03 | |
yanyan | hi, elynn, is haiwei inline? | 13:03 |
elynn | yes | 13:03 |
yanyan | ok | 13:03 |
elynn | meeting already start. | 13:03 |
yanyan | poor network connection at home | 13:03 |
*** lkarm has joined #senlin | 13:10 | |
*** Liuqing_ has joined #senlin | 13:29 | |
*** Liuqing has quit IRC | 13:31 | |
*** haiwei_ has joined #senlin | 13:48 | |
yanyan | hi, jruano, I think qiming has the plan to visit Austin | 13:49 |
jruano | ah, yes i talked to him last week about it | 13:49 |
yanyan | so I guess you guys may have the chance to have a f2f talk :) | 13:49 |
jruano | he said something like the 16th i believe | 13:49 |
jruano | will be nice. i will have him bring you back some texas bbq | 13:50 |
yanyan | wow, cool! | 13:50 |
yanyan | many thanks :P | 13:50 |
jruano | maybe sauce. not sure if the meat will still be good :) | 13:50 |
*** elynn_ has joined #senlin | 13:50 | |
*** elynn has quit IRC | 13:51 | |
yanyan | hope we can have the chance to taste those delicious food in Texas next year :) | 13:51 |
jruano | for sure | 13:51 |
jruano | please make sure you can attend | 13:51 |
yanyan | will try our best | 13:51 |
yanyan | will leave, talk to you guys later | 13:52 |
haiwei_ | see u | 13:52 |
yanyan | c u | 13:53 |
jruano | bye | 13:53 |
*** yanyan has quit IRC | 13:53 | |
lkarm | jruano, you're in Austin too? I didn't realize that | 13:55 |
jruano | yep | 13:56 |
jruano | building 901, although not in the office this week | 13:56 |
lkarm | awesome i'm in 905. we should meet up at some point when you're around | 13:56 |
*** haiwei_ has quit IRC | 13:57 | |
*** Liuqing_ has quit IRC | 14:24 | |
*** Liuqing has joined #senlin | 14:25 | |
*** lvdongbing has quit IRC | 14:33 | |
*** lvdongbing has joined #senlin | 14:44 | |
*** lkarm has quit IRC | 14:55 | |
*** lkarm has joined #senlin | 14:56 | |
*** lkarm has quit IRC | 15:00 | |
*** lvdongbing has quit IRC | 15:00 | |
*** elynn_ has quit IRC | 15:14 | |
*** pm90_ has joined #senlin | 15:18 | |
*** pm90__ has joined #senlin | 15:24 | |
*** pm90_ has quit IRC | 15:26 | |
*** Qiming has joined #senlin | 15:47 | |
*** lkarm has joined #senlin | 16:04 | |
*** Qiming has quit IRC | 16:17 | |
*** Liuqing has quit IRC | 16:34 | |
*** Jezogwza has joined #senlin | 16:41 | |
*** jdandrea has joined #senlin | 16:53 | |
*** Qiming has joined #senlin | 16:54 | |
*** Qiming has quit IRC | 17:03 | |
*** Qiming has joined #senlin | 17:03 | |
*** Qiming has quit IRC | 17:06 | |
*** pm90__ has quit IRC | 17:16 | |
*** pm90_ has joined #senlin | 17:55 | |
*** rebase has joined #senlin | 18:09 | |
*** pm90__ has joined #senlin | 18:13 | |
*** pm90_ has quit IRC | 18:16 | |
*** rebase has quit IRC | 19:52 | |
*** Qiming has joined #senlin | 20:05 | |
*** Qiming has quit IRC | 20:12 | |
*** pm90__ has quit IRC | 20:42 | |
*** rebase has joined #senlin | 21:26 | |
*** Jezogwza has quit IRC | 21:27 | |
*** lkarm has quit IRC | 22:03 | |
*** lkarm has joined #senlin | 22:04 | |
*** lkarm has quit IRC | 22:08 | |
*** pm90_ has joined #senlin | 22:24 | |
*** pm90__ has joined #senlin | 22:26 | |
*** pm90_ has quit IRC | 22:28 | |
*** pm90_ has joined #senlin | 22:34 | |
*** rebase has quit IRC | 22:37 | |
*** pm90__ has quit IRC | 22:37 | |
*** pm90_ is now known as pratikmallya | 22:37 | |
*** rebase has joined #senlin | 22:37 | |
*** Jezogwza has joined #senlin | 22:58 | |
*** Jezogwza has quit IRC | 23:16 | |
*** lixinhui_ has joined #senlin | 23:28 | |
*** xuhaiwei has joined #senlin | 23:29 | |
*** pratikma_ has joined #senlin | 23:45 | |
*** pratikmallya has quit IRC | 23:49 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!