How to recover VMware Integrated OpenStack if the admin project is deleted
book
Article ID: 339883
calendar_today
Updated On:
Products
VMwareVMware Integrated OpenStack
Issue/Introduction
Symptoms: If the admin project of the OpenStack deployment is deleted we will run into errors with some OpenStack commands ran from the toolbox of VMware Integrated OpenStack 6.x and 7.x. The error message will be similar to the following: The request you have made requires authentication. (HTTP 401) (Request-ID: req-<UUID>)
The admin project would have to have been manually deleted by an end-user or administrator. The project is critical to the operations of VMware Integrated OpenStack.
Resolution
SSH to the VIO manager as root.
Delete the keystone helm chart with: helm delete keystone1 --purge
Find the keystone helm jobs: osctl get job|grep helm-ke
Delete the helm keystone jobs: osctl delete job <helm-keystone-keystone1-UUID>
Wait for the pods to rebuild, and re-attempt the OpenStack Client commands. The project should be rebuilt.
Additional Information
Impact/Risks: The resolution steps do create momentary downtime that should be resolved from 1-10 minutes depending on the environment.