Activity log for bug #1997567

Date Who What changed Old value New value Message
2022-11-23 14:29:56 Jack Hodgkiss bug added bug
2022-11-23 14:32:24 Jack Hodgkiss description Wallaby OpenStack deployment using OpenStack Kayobe Relevant package version: - octavia-lib: 2.3.1 - neutron-lib: 2.10.2 - ovn-octavia-provider: 1.0.2.dev5 I have encountered a bug where after creating an Octavia load balancer it gets stuck and cannot be deleted. Attempt in Horizon to delete the load balancer are met with the following Error: Unable to delete Load Balancer: test_ovn_lb. It also reports Provisioning Status: Pending Update. When attempting to delete via the openstack client I get this response. (openstackclient-venv) [~] openstack loadbalancer delete 64951486-8143-4a17-a88b-9f576688e662 Validation failure: Cannot delete Load Balancer 64951486-8143-4a17-a88b-9f576688e662 - it has children (HTTP 400) (Request-ID: req-5bf53e03-d33d-4995-88fb-8617060afdf4) (openstackclient-venv) [~] openstack loadbalancer delete 64951486-8143-4a17-a88b-9f576688e662 --cascade Invalid state PENDING_UPDATE of loadbalancer resource 64951486-8143-4a17-a88b-9f576688e662 (HTTP 409) (Request-ID: req-cd917d82-67cd-4704-b6d2-032939e08d88) In the octavia-api.log the following error message is logged in the moments prior to getting stuck in this state. https://paste.opendev.org/show/bkKWy2WkjC9fo05kOFE3/ The only solution to this problem that I have found that works is to edit the Octavia table to change the current Pending State to ERROR. use octavia UPDATE load_balancer SET provisioning_status = 'ERROR' WHERE provisioning_status LIKE "PENDING_UPDATE"; This manual edit of the database then allows for the removal of the load balancer via the API: openstack loadbalancer delete id-here --cascade This bug is not blocking however it would nice to prevent this from happening again. Wallaby OpenStack deployment using OpenStack Kayobe Running on Ubuntu Focal Relevant package version:     - octavia-lib: 2.3.1     - neutron-lib: 2.10.2     - ovn-octavia-provider: 1.0.2.dev5 I have encountered a bug where after creating an Octavia load balancer it gets stuck and cannot be deleted. Attempt in Horizon to delete the load balancer are met with the following Error: Unable to delete Load Balancer: test_ovn_lb. It also reports Provisioning Status: Pending Update. When attempting to delete via the openstack client I get this response. (openstackclient-venv) [~] openstack loadbalancer delete 64951486-8143-4a17-a88b-9f576688e662 Validation failure: Cannot delete Load Balancer 64951486-8143-4a17-a88b-9f576688e662 - it has children (HTTP 400) (Request-ID: req-5bf53e03-d33d-4995-88fb-8617060afdf4) (openstackclient-venv) [~] openstack loadbalancer delete 64951486-8143-4a17-a88b-9f576688e662 --cascade Invalid state PENDING_UPDATE of loadbalancer resource 64951486-8143-4a17-a88b-9f576688e662 (HTTP 409) (Request-ID: req-cd917d82-67cd-4704-b6d2-032939e08d88) In the octavia-api.log the following error message is logged in the moments prior to getting stuck in this state. https://paste.opendev.org/show/bkKWy2WkjC9fo05kOFE3/ The only solution to this problem that I have found that works is to edit the Octavia table to change the current Pending State to ERROR. use octavia UPDATE load_balancer SET provisioning_status = 'ERROR' WHERE provisioning_status LIKE "PENDING_UPDATE"; This manual edit of the database then allows for the removal of the load balancer via the API: openstack loadbalancer delete id-here --cascade This bug is not blocking however it would nice to prevent this from happening again.
2022-11-25 12:10:08 Lajos Katona neutron: importance Undecided High
2022-11-30 11:55:24 Fernando Royo neutron: assignee Fernando Royo (froyoredhat)
2022-12-12 12:33:58 Fernando Royo neutron: status New Invalid