Invalid OpenStack identity credentials
Issue
- Authorization required or denied error
- HTTP 401 authorization denied
-
Authentication errors when running OpenStack commands. Examples:
# glance image-create --name=rhel7-temp --is-public=true --disk-format=qcow2 --container-format=bare /usr/share/rhel-guest-image-7/rhel-guest-image-7.qcow2 Invalid OpenStack Identity credentials. # glance image-list The request made requires authentication. (HTTP 401) (Request-ID: req-367cb163-938d-4d09-a225-21903511c074) # /var/log/glance/api.log 2016-03-27 20:43:54.599 16604 WARNING keystonemiddleware.auth_token [-] Authorization failed for token 2016-03-27 20:43:57.885 16604 INFO eventlet.wsgi.server [-] 192.168.0.1 - - [27/Mar/2016 20:43:57] "POST /v1/images HTTP/1.1" 401 573 3.313200 /var/log/keystone/keystone.log 2016-03-27 20:43:58.212 5453 WARNING keystone.common.wsgi [-] Authorization failed. The request made requires authentication. from 192.168.0.1
Environment
- Red Hat OpenStack Platform 8.0
- Red Hat Enterprise Linux OpenStack Platform 7.0
- Red Hat Enterprise Linux OpenStack Platform 6.0
- Red Hat Enterprise Linux OpenStack Platform 5.0
- Red Hat Enterprise Linux OpenStack Platform 4.0
- Red Hat Enterprise Linux OpenStack Platform 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
