Trying to create a load balancer while no avaliable compute node ends with a non-deletable loadbalancer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Fix Released
|
High
|
Unassigned |
Bug Description
1) kill all nova computes in your environment
2) create a load balancer,
After load balancer creation timeout, you see in o-cw.log
2016-04-07 13:54:30.256 8241 ERROR oslo_messaging.
2016-04-07 13:54:30.256 8241 ERROR oslo_messaging.
Then, when you try to delete the loadbalancer:
vagrant@devstack:~$ neutron lbaas-loadbalan
+------
| id | name | vip_address | provisioning_status | provider |
+------
| 9263305b-
+------
vagrant@devstack:~$ neutron lbaas-loadbalan
Invalid state PENDING_CREATE of loadbalancer resource 9263305b-
loadbalancer is left in PENDING_CREATE forever.
Changed in octavia: | |
importance: | Undecided → High |
Changed in octavia: | |
assignee: | nobody → li,chen (chen-li) |
Changed in octavia: | |
status: | Confirmed → In Progress |
Changed in octavia: | |
assignee: | li,chen (chen-li) → nobody |
Changed in octavia: | |
status: | Confirmed → Fix Released |
I encountered the same problem, create a loadbalancer, something error occured in o-cw process(e.g. kill the process unexpectedly), after query timeout in octavia driver side, loadbalancer status in neutron db is ERROR, loadbalancer status in octavia is PENDING_CREATE, then delete that lb, exception will be raised in octavia side.