Categories
Sysadmin

Fix : Authorization Failed: The resource could not be found. (HTTP 404) Openstack

If you get this

keystone --debug user-list

WARNING: unsupported identity-api-version 3, falling back to 2.0

DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://controller:35357/v3/tokens

INFO:urllib3.connectionpool:Starting new HTTP connection (1): controller

DEBUG:urllib3.connectionpool:"POST /v3/tokens HTTP/1.1" 404 93

DEBUG:keystoneclient.session:Request returned failure status: 404

Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-fc9d4273-c31b-473c-af3e-9e3d4cd3d5c0)

Add

export OS_AUTH_URL=http://controller:35357/v2.0