Services tenant was deleted how to restore functionality
Issue
The services tenant/project was accidentally deleted in our openstack environment.
What are the steps to potentially fix this without having to reinstall?
Problem:
Services project was removed from OpenStack installation. Results in access by admin and users to various services (heat,cinder,nova,neutron) being inaccessible via web, cli and api.
Symptoms:
- In web gui user gets "Oops something went wrong!" when trying to login. User can get get valid token at command line (keystone token-get) but authorization fails.
- Openstack-status shows the following:
== Glance images ==
Request returned failure status.
Invalid OpenStack Identity credentials.
==Nova managed services ==
ERROR: Unauthorized (HTTP 401)
== Nova networks ==
ERROR: Unauthorized (HTTP 401)
== Nova instance flavors ==
ERROR: Unauthorized (HTTP 401)
== Nova instances ==
ERROR: Unauthorized (HTTP 401)
Environment
Red Hat OpenStack
10 9.0 8.0 7.0 6.0 5.0 4.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.