*** openstack has joined #senlin | 07:01 | |
openstackgerrit | chenyb4 proposed openstack/senlin master: Add floating ip operations to nova driver https://review.openstack.org/446443 | 07:12 |
---|---|---|
yuanbin | Qiming_, I have a question, attach delete_policy to cluster, I use 'senlin node-delete xxx' appear error "AttributeError: 'NodeAction' object has no attribute 'node'" , https://github.com/openstack/senlin/blob/master/senlin/policies/deletion_policy.py#L170 | 07:31 |
yuanbin | Qiming_, 'action' don't exist node.id | 07:31 |
*** yuanbin is now known as chenyb4 | 07:34 | |
*** yuanying_ has quit IRC | 07:53 | |
*** yuanying has joined #senlin | 07:53 | |
Qiming_ | oh, yuanbin, it looks like a typo | 07:54 |
chenyb4 | Qiming_, 'action.node.id' will be change to ? | 08:02 |
*** haiwei has joined #senlin | 08:12 | |
Qiming_ | action.entity.id I think | 08:15 |
chenyb4 | Qiming_, ok, I will try it. | 08:29 |
Qiming_ | thanks, chenyb4 | 08:45 |
*** Qiming_ is now known as Qiming | 08:45 | |
openstackgerrit | chenyb4 proposed openstack/senlin master: Fix node-delete attribute node error https://review.openstack.org/464574 | 08:57 |
openstackgerrit | Qiming Teng proposed openstack/senlin master: DNM - Gate testing https://review.openstack.org/464580 | 09:18 |
chenyb4 | Qiming, attach delete_policy to cluster, and execute 'senlin node-delete xxx', the node delete successfully. but the cluster desired_capacity don't change, I think this is a bug | 09:26 |
Qiming | em, right, we only tried to update the cluster's desired capacity from the cluster-xyz path | 09:27 |
Qiming | there could be a problem, let me see | 09:27 |
Qiming | oh | 09:28 |
Qiming | reduce_desired_capacity is an option in delete policy | 09:29 |
Qiming | make sure you have that | 09:29 |
Qiming | check the code here: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/node_action.py#n111 | 09:30 |
chenyb4 | Qiming, I configure reduce_desired_capacity=True, the desired_capacity will be change. thanks | 09:50 |
openstackgerrit | Merged openstack/senlin master: Fix node-delete attribute node error https://review.openstack.org/464574 | 13:43 |
*** yuanbin_ has joined #senlin | 14:16 | |
*** yuanbin_ is now known as chenyb | 14:27 | |
*** chenyb has quit IRC | 15:16 | |
*** chenyb has joined #senlin | 15:18 | |
*** chenyb has quit IRC | 15:26 | |
*** chenyb has joined #senlin | 15:27 | |
*** chenyb has quit IRC | 15:32 | |
*** dixiaoli has joined #senlin | 22:17 | |
*** dixiaoli has quit IRC | 23:22 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!