/usr/bin/openstack-status: line 267: keystone: command not found ... The request you have made requires authentication. (HTTP 401)

Posted on

Hi,
I have installed openstack 10 over Linux RedHat 7.4 ... however, I am not able to get access through web page http://127.0.0.1/dashboard. I got "invalid credentials" message.

This is the information under /root/keystone_admin:

#

unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD=newsys
export OS_AUTH_URL=http://127.0.0.1:5000/v2.0
export PS1='[\u@\h \W(keystone_admin)]\$ '

export OS_TENANT_NAME=admin
export OS_REGION_NAME=RegionOne

#

Also, when openstack status is checked out, I got these messages:
[root@vmm01-controller ~(keystone_admin)]# openstack-status | grep -i dashboard
openstack-dashboard: active
/usr/bin/openstack-status: line 267: keystone: command not found
The request you have made requires authentication. (HTTP 401) (Request-ID: req-11eede1f-b221-428b-8a48-af471b248b92)
ERROR (Unauthorized): The request you have made requires authentication. (HTTP 401) (Request-ID: req-5a762f1e-ee8c-4b70-992a-412ea2a6365c)
ERROR (Unauthorized): The request you have made requires authentication. (HTTP 401) (Request-ID: req-ef4b8211-5312-41f6-8d25-08a6d41e36c1)
ERROR (Unauthorized): The request you have made requires authentication. (HTTP 401) (Request-ID: req-ab510317-f9a4-454c-b361-a0e3b7e7a42c)
ERROR (Unauthorized): The request you have made requires authentication. (HTTP 401) (Request-ID: req-7c72ecbb-d7e4-4b83-aa5e-a84123bc2de9)
[root@vmm01-controller ~(keystone_admin)]#

I think the problem is related to Keystone (please, help me on confirm it):

[root@vmm01-controller ~(keystone_admin)]# openstack-status | grep -i keystone
== Keystone service ==
openstack-keystone: inactive (disabled on boot)
== Keystone users ==
/usr/bin/openstack-status: line 267: keystone: command not found
The request you have made requires authentication. (HTTP 401) (Request-ID: req-09927608-16be-4dc0-b221-6b9e65161435)
ERROR (Unauthorized): The request you have made requires authentication. (HTTP 401)

I follow several support threads to fix it, but no successful.

[root@vmm01-controller ~]# yum install openstack-utils -y
....
Complete!
[root@vmm01-controller ~]#

[root@vmm01-controller log]# yum-builddep openstack-utils
Loaded plugins: langpacks, product-id, subscription-manager
Enabling rhel-7-server-extras-source-rpms repository
...
...
(15/15): rhel-7-server-source-rpms/7Server/x86_64/primary_db | 2.1 MB 00:00:01
Getting requirements for openstack-utils-2016.1-1.el7ost.src
Getting requirements for openstack-utils-2016.1-1.el7ost.src
No uninstalled build requires
[root@vmm01-controller log]#

Please, help me on this issue. At least, I would like to find the solution in order to get access to Openstack dashboard in order to continue with the project.

Regards,

Christian Aguilar

P.D: Openstack installation setup log is being uploaded.
The file answer.cfg as well.

Attachments

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.