The Avi Load Balancer imports OpenStack tenants to the Controller when an OpenStack user logs in. If the tenants are removed from OpenStack, the Controller does not delete these tenants automatically. User-created Avi Load Balancer objects (virtual services, pool, and so on.), which are no longer required also need manual cleanup.

After deleting tenants from OpenStack, call the following Avi Load Balancer REST API to clean up Avi Load Balancer objects.

https://<controller-ip>/api/openstack-cleanup

This REST API deletes the redundant Avi Load Balancer objects (virtual service, pool, Service Engines, and so on.) created in the Controller under each deleted OpenStack tenant. It might take a good amount of time to delete the Service Engines. If required, run the REST API a couple of times to clean up Avi Load Balancer objects completely. Once all such objects are deleted, the deleted OpenStack tenants are also deleted from the Controller.