*** pratikma_ has quit IRC | 00:01 | |
*** Qiming_ has quit IRC | 00:14 | |
*** pratikmallya has quit IRC | 00:30 | |
*** lvdongbing has joined #senlin | 00:32 | |
*** gongysh has quit IRC | 00:47 | |
*** pratikmallya has joined #senlin | 00:49 | |
*** gongysh has joined #senlin | 00:54 | |
*** lvdongbing has quit IRC | 01:00 | |
*** Qiming_ has joined #senlin | 01:06 | |
xuhaiwei | morning, Qiming_ | 01:24 |
---|---|---|
Qiming_ | morning | 01:24 |
xuhaiwei | just got a question | 01:25 |
Qiming_ | shoot | 01:25 |
xuhaiwei | when doing cluster-resize, if the cluster is attatch by a deletion policy, should it be triggered when deleting a node? | 01:25 |
xuhaiwei | currently the node is deleted randomly | 01:26 |
Qiming_ | it should | 01:34 |
Qiming_ | http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/policies/deletion_policy.py#n72 | 01:35 |
Qiming_ | the code only considers the SCALE_IN and DEL_NODES actions today | 01:35 |
xuhaiwei | we should add CLUSTER_RESIZE action? | 01:38 |
Qiming_ | yes I think so | 01:42 |
xuhaiwei | got it | 01:43 |
Qiming_ | it would be a difficult job | 01:43 |
xuhaiwei | let me investigate how the policy is triggered first | 01:44 |
Qiming_ | you have to think about the scenarios first | 01:44 |
Qiming_ | say you have a RESIZE request coming in, it may carry any combination of the following params: adjustment_type, number, min_size, max_size, min_step, and strict | 01:45 |
Qiming_ | if you want to do a policy check before RESIZE, you will be doing a lot translations to figure out whether it is an operation that reduces the size of the cluster | 01:46 |
Qiming_ | then: the number of the reduction, whether it will violate the existing/new min_size constraint | 01:47 |
Qiming_ | finally, you decide which nodes to select as candidates | 01:47 |
Qiming_ | anyway, read thru this workflow would do you no harm | 01:47 |
Qiming_ | we can discuss the details | 01:48 |
xuhaiwei | ok, let me think about it | 01:48 |
*** LiuWei has joined #senlin | 02:02 | |
*** Yanyanhu has joined #senlin | 02:08 | |
*** Yanyan has joined #senlin | 02:10 | |
*** weli__ has joined #senlin | 02:11 | |
*** LiuWei has quit IRC | 02:11 | |
*** weli__ has quit IRC | 02:11 | |
*** weli__ has joined #senlin | 02:12 | |
*** Yanyanhu has quit IRC | 02:12 | |
*** LiuWei has joined #senlin | 02:15 | |
*** weli__ has quit IRC | 02:18 | |
*** zhenguo has joined #senlin | 02:34 | |
*** weli__ has joined #senlin | 02:49 | |
*** LiuWei has quit IRC | 02:49 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add functional test for node operations https://review.openstack.org/224502 | 02:51 |
*** LiuWei has joined #senlin | 02:56 | |
*** weli__ has quit IRC | 02:59 | |
*** LiuWei has quit IRC | 02:59 | |
*** LiuWei has joined #senlin | 02:59 | |
*** weli__ has joined #senlin | 03:00 | |
*** LiuWei has quit IRC | 03:03 | |
*** weli__ has quit IRC | 03:05 | |
*** LiuWei has joined #senlin | 03:05 | |
*** weli__ has joined #senlin | 03:08 | |
*** LiuWei has quit IRC | 03:08 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Cleanse functional test https://review.openstack.org/228704 | 03:13 |
*** LiuWei has joined #senlin | 03:15 | |
*** weli__ has quit IRC | 03:18 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add functional test for node operations https://review.openstack.org/224502 | 03:26 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Cleanse functional test https://review.openstack.org/228704 | 03:34 |
*** weli__ has joined #senlin | 03:44 | |
*** LiuWei has quit IRC | 03:44 | |
*** lixinhui has quit IRC | 03:50 | |
*** LiuWei has joined #senlin | 04:04 | |
*** weli__ has quit IRC | 04:06 | |
*** LiuWei has quit IRC | 04:06 | |
*** LiuWei has joined #senlin | 04:07 | |
*** weli__ has joined #senlin | 04:14 | |
*** LiuWei has quit IRC | 04:18 | |
*** pratikmallya has quit IRC | 04:18 | |
*** pratikmallya has joined #senlin | 04:24 | |
*** pratikmallya has quit IRC | 04:24 | |
*** pratikmallya has joined #senlin | 04:27 | |
*** weli__ has quit IRC | 04:27 | |
*** lixinhui has joined #senlin | 04:30 | |
*** pratikmallya has quit IRC | 04:32 | |
*** lixinhui has quit IRC | 04:35 | |
*** lixinhui has joined #senlin | 04:57 | |
*** lixinhui has quit IRC | 05:02 | |
*** lixinhui has joined #senlin | 05:05 | |
*** mathspanda has joined #senlin | 05:30 | |
*** lvdongbing has joined #senlin | 05:46 | |
openstackgerrit | Merged stackforge/senlin: Cleanse functional test https://review.openstack.org/228704 | 06:01 |
openstackgerrit | Merged stackforge/senlin: Add functional test for node operations https://review.openstack.org/224502 | 06:03 |
*** Yanyanhu has joined #senlin | 06:11 | |
*** mathspanda has quit IRC | 06:14 | |
*** Yanyan has quit IRC | 06:14 | |
*** openstackgerrit has quit IRC | 06:16 | |
*** openstackgerrit has joined #senlin | 06:17 | |
*** mathspanda has joined #senlin | 06:46 | |
*** lvdongbing has quit IRC | 07:03 | |
xuhaiwei | Yanyanhu, how to run functional test in local | 07:20 |
Qiming_ | source senlinrc | 07:21 |
Qiming_ | tox -e functional | 07:21 |
Qiming_ | that is my guess | 07:21 |
Yanyanhu | hi, xuhaiwei, yes just as Qiming_ said | 07:22 |
xuhaiwei | thanks, it works | 07:22 |
Qiming_ | you must have senlin-engine, senlin-api configured and started | 07:22 |
xuhaiwei | I know it | 07:22 |
xuhaiwei | AttributeError: 'NoneType' object has no attribute 'replace' | 07:23 |
xuhaiwei | this happened for many test cases | 07:23 |
xuhaiwei | my auth_url is not right, it seems | 07:24 |
Yanyanhu | xuhaiwei, guess so | 07:29 |
Yanyanhu | you need environment set correctly | 07:29 |
xuhaiwei | yes | 07:29 |
*** lixinhui has quit IRC | 07:35 | |
openstackgerrit | xu-haiwei proposed stackforge/senlin: Make deletion policy work for cluster resize action https://review.openstack.org/228760 | 07:37 |
*** lixinhui has joined #senlin | 07:38 | |
*** shu has joined #senlin | 07:40 | |
openstackgerrit | Shu Muto proposed stackforge/senlin-dashboard: senlinclient related bug https://review.openstack.org/227707 | 07:52 |
*** mathspanda has quit IRC | 07:53 | |
*** lixinhui has quit IRC | 08:27 | |
*** lixinhui has joined #senlin | 08:28 | |
Qiming_ | xuhaiwei, just checked your patch #228760 | 08:30 |
Qiming_ | I don't think it is the right way to handle deletion policy | 08:31 |
*** lixinhui has quit IRC | 08:36 | |
*** lixinhui has joined #senlin | 08:47 | |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix alarm rule parsing behavior https://review.openstack.org/228802 | 09:07 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix sample yaml for threshold alarm https://review.openstack.org/228803 | 09:07 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Do rule validation when validaing alarm triggers https://review.openstack.org/228804 | 09:08 |
*** shu has quit IRC | 09:16 | |
openstackgerrit | Merged stackforge/senlin: Refresh node membership for node actions https://review.openstack.org/228428 | 09:19 |
*** mathspanda has joined #senlin | 09:38 | |
*** mathspanda has quit IRC | 09:42 | |
*** zhenguo has quit IRC | 09:43 | |
*** Yanyanhu has quit IRC | 09:45 | |
*** lixinhui has quit IRC | 10:59 | |
*** Qiming_ has quit IRC | 10:59 | |
*** Qiming_ has joined #senlin | 11:45 | |
*** pm90_ has joined #senlin | 12:13 | |
*** pm90_ has quit IRC | 12:20 | |
*** pm90__ has joined #senlin | 12:20 | |
*** pm90__ has quit IRC | 12:20 | |
openstackgerrit | Merged stackforge/senlin: Fix sample yaml for threshold alarm https://review.openstack.org/228803 | 12:32 |
*** Administrator has joined #senlin | 12:48 | |
*** Administrator is now known as Guest45636 | 12:48 | |
*** Qiming_ is now known as Qiming | 13:01 | |
*** Guest45636 is now known as yanyanhu | 13:01 | |
Qiming | xuhaiwei, on? | 13:01 |
*** jruano has joined #senlin | 13:02 | |
*** Qiming is now known as Qiming_ | 13:43 | |
*** yanyanhu has quit IRC | 13:47 | |
*** jruano has quit IRC | 13:53 | |
*** pm90_ has joined #senlin | 13:58 | |
*** pm90__ has joined #senlin | 15:03 | |
*** pm90___ has joined #senlin | 15:03 | |
*** pm90_ has quit IRC | 15:04 | |
*** pm90__ has quit IRC | 15:07 | |
*** pm90___ has quit IRC | 15:17 | |
*** pm90_ has joined #senlin | 15:25 | |
*** pm90__ has joined #senlin | 15:27 | |
*** pm90_ has quit IRC | 15:31 | |
*** Qiming_ has quit IRC | 15:35 | |
*** pm90__ has quit IRC | 16:15 | |
*** jruano has joined #senlin | 16:43 | |
*** jruano has quit IRC | 17:03 | |
*** pm90_ has joined #senlin | 17:13 | |
*** jruano has joined #senlin | 17:32 | |
*** jruano has quit IRC | 19:55 | |
*** jruano has joined #senlin | 20:42 | |
*** jruano has quit IRC | 21:29 | |
*** Qiming_ has joined #senlin | 23:28 | |
*** pm90_ has quit IRC | 23:46 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!