OpenStack services return 401 Unauthorized after a redeployment which was launched from the wrong directory
Issue
Deployments with openstack overcloud deploy
need to be launched from the same directory all of the time. If they are launched from the wrong Directory, it is possible to recover the installation, but service passwords for all services will be reconfigured by OpenStack Director.
Keystone seems to be running correctly.
[stack@undercloud-7 ~]$ keystone token-get
/usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
'python-keystoneclient.', DeprecationWarning)
+-----------+----------------------------------+
| Property | Value |
+-----------+----------------------------------+
| expires | 2016-10-01T00:27:13Z |
| id | 791fed36e64f4d7c9ae67fd2f2f07397 |
| tenant_id | 909cfd32f21e4f4e9a1ab2f9294001f1 |
| user_id | 3f6ff54d1f304f1884e4790cac38c6f8 |
+-----------+----------------------------------+
All other services such as nova return 401 unauthrorized.
[stack@undercloud-7 ~]$ nova list
ERROR (Unauthorized): Unauthorized (HTTP 401) (Request-ID: req-1df4488d-640d-4c8e-8ba5-341415dbf281)
Environment
Red Hat Enterprise Linux OpenStack Platform 7.0
Red Hat OpenStack Platform 8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.