The developer documentation at http://docs.openstack.org/developer/openstack-ansible/install-guide/install-openstack-verify.html does not work when applied to an actual openstack-ansible installation from approximately 10 days ago.
The openrc configuration does not appear to be correct for invoking any OpenStack cli commands:
root@osad:~# lxc-attach -n aio1_utility_container-20104744
root@aio1_utility_container-20104744:~# source openrc
root@aio1_utility_container-20104744:~# keystone user-list
/usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
'python-keystoneclient.', DeprecationWarning)
WARNING: unsupported identity-api-version 3, falling back to 2.0
/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
super(Client, self).__init__(**kwargs)
/usr/local/lib/python2.7/dist-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
return f(*args, **kwargs)
/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py:376: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
'the 2.0.0 release.', DeprecationWarning)
Authorization Failed: The resource could not be found. (HTTP 404)
Additionally, the newer openstack command also fails:
root@aio1_utility_container-20104744:~# openstack user list
The request you have made requires authentication. (HTTP 401) (Request-ID: req-9668e42d-7786-43ba-a904-5ac6d401026e)
While I dont know what the root cause is quite yet, or what the exact fix is, here are my working thoughts:
Error that I encountered that seems to be along the same lines of this issue: http:// paste.openstack .org/show/ 482472/
* The review https:/ /review. openstack. org/#/c/ 245966/ has a few other fixes within it to address the recent changes in master there are a few package versions that seem to be unstable in global requirements. I noticed that use of Fernet tokens was causing problems with Unicode in the headers when Keystone was backed by Apache. Additionally I discovered that our keystone wsgi file as out of date from upstream and needed to be rebased.