unable to delete wrongly configured lbaas pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-midonet |
Confirmed
|
High
|
Unassigned |
Bug Description
If lbaas pool was created with unsupported balancing algorithm or protocol, there will be a corresponding error message from plugin:
ubuntu@devstack:~$ neutron lbaas-pool-create --lb-algorithm SOURCE_IP --loadbalancer 6001b5fc-
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Driver error: {"message":"Failed to Create(id {\n msb: 130267520616301
Neutron server returns request_ids: ['req-68aa2d91-
Neutron will still add this pool to database, and it will not be possible to delete it, since plugin will try to delete it from midonet first, and since it is not there initially, 404 will be returned and request will fail.
ubuntu@devstack:~$ neutron lbaas-pool-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+------
| id | name | lb_algorithm | protocol | admin_state_up |
+------
| b4c851fb-
+------
ubuntu@devstack:~$ neutron lbaas-pool-delete b4c851fb-
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Driver error: {"message":"There is no Pool with ID b4c851fb-
Neutron server returns request_ids: ['req-9360dab6-
Only way to delete this kind of pool is to delete it from database manually.
Maybe, 404 midonet api condition with delete request should be handled in other way, not throwing the error, since we want to delete something that is not there initially.
Changed in networking-midonet: | |
importance: | Undecided → High |
milestone: | none → 7.0.0 |
status: | New → Confirmed |
Changed in networking-midonet: | |
milestone: | 7.0.0 → 8.0.0 |