This is a known issue affecting VMware Integrated Openstack VIO7.x
Workaround:
Note: This procedure modifies the database. Ensure to take a backup of the database before proceeding.
VIO backup and recovery best practices (2150107)
- Please make sure no object exists for these LBs in NSX (just search by their openstack id using NSX UI). If any object present in NSX, please clean them up as well.
- Log in to the LCM node and log in to a mariadb pod:
kubectl -n openstack exec -it mariadb-server-0 bash
- Find the loadbalancer id in ocatavia db and update its status.
Example:
root@mariadb-server-0:/# mysql --defaults-file=/etc/mysql/admin_user.cnf --host=localhost octavia -e 'select * from load_balancer';
root@mariadb-server-0:/# mysql --defaults-file=/etc/mysql/admin_user.cnf --host=localhost octavia -e'update load_balancer set provisioning_status='ERROR' where id = "e9317a9e-f286-4471-9302-f871fd";'
- Delete the loadbalancer in error state using openstack CLI:
openstack loadbalancer list --operating-status=ERROR
openstack loadbalancer delete <load balancer ID>