Ask Your Question
0

Keystone client authentication failed: Unauthorized

asked 2017-09-20 06:16:07 -0500

ihatemyself90 gravatar image

I have installed every component and everyone is working fine, but somehow magnum is not working, after installing magnum component when i run "magnum service-list" for verifying my installation it is giving me following error.

Sep 20 07:04:30 controller1 magnum-api: 2017-09-20 07:04:30.113 28864 ERROR magnum.common.keystone [req-b2b55492-1657-4667-bfae-869ee0ca73b4 - - - - -] Keystone client authentication failed: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-2aacb6b9-ae73-451f-a30e-ebb2b195e855)

Can someone please help me ?

Regards Vivek

edit retag flag offensive close merge delete

Comments

did you check the auth_url is set properly in the magnum configuration? please run the command with --debug and provide the output.

Beny gravatar imageBeny ( 2017-09-20 20:51:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-21 01:38:04 -0500

ihatemyself90 gravatar image

updated 2017-10-20 03:05:57 -0500

Beny gravatar image

Hello Beny,

Please find the below output,

[root@controller1 ~]# magnum --debug service-list

DEBUG (extension:180) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG (extension:180) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1')
DEBUG (extension:180) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG (extension:180) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG (extension:180) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG (extension:180) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password')
DEBUG (extension:180) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG (extension:180) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken')
DEBUG (extension:180) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG (extension:180) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos')
DEBUG (extension:180) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG (extension:180) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials')
DEBUG (extension:180) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth')
DEBUG (extension:180) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG (extension:180) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP')
DEBUG (extension:180) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG (extension:180) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos')
DEBUG (extension:180) found extension EntryPoint.parse('token_endpoint = openstackclient.api.auth_plugin:TokenEndpoint')
DEBUG (extension:180) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader')
DEBUG (extension:180) found extension EntryPoint.parse('aodh-noauth = aodhclient.noauth:AodhNoAuthLoader')
DEBUG (session:347) REQ: curl -g -i -X GET http://controller1:35357/v3 -H "Accept: application/json" -H "User-Agent: magnum keystoneauth1/2.18.0 python-requests/2.11.1 CPython/2.7.5"
INFO (connectionpool:214) Starting new HTTP connection (1): controller1
DEBUG (connectionpool:401) "GET /v3 HTTP/1.1" 200 251
DEBUG (session:395) RESP: [200] Date: Wed, 20 Sep 2017 12:41:53 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-f1dd70b6-10e2-4268-8682-467485e40c39 Content-Length: 251 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://controller1:35357/v3/", "rel": "self"}]}}

DEBUG (session:640) GET call to None for http://controller1:35357/v3 used request id req-f1dd70b6-10e2-4268-8682-467485e40c39
DEBUG (base:165) Making authentication request to http://controller1:35357/v3/auth/tokens
DEBUG (connectionpool:401) "POST /v3/auth/tokens HTTP/1.1" 201 6405
DEBUG (base:170) {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "e1916d3a400348a785ed9764716ba935", "name": "admin"}], "expires_at": "2017-09-20T13:41:53.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "5fbc2c0043204370a1d42631050ccd3c", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://controller1:8004/v1/5fbc2c0043204370a1d42631050ccd3c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3a4012b4535c49fcb5e3726aa4a0752b"}, {"url": "http://controller1:8004/v1/5fbc2c0043204370a1d42631050ccd3c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne ...
(more)
edit flag offensive delete link more

Comments

have you tried this solution already?

https://ask.openstack.org/en/question...

Beny gravatar imageBeny ( 2017-10-20 03:10:07 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-09-20 06:16:07 -0500

Seen: 485 times

Last updated: Oct 20 '17