Ask Your Question
0

Magnum - ERROR: Invalid input for field identity/password/user: id or name must be present (HTTP 500)

asked 2020-02-07 02:27:34 -0500

chrisaw gravatar image

I've just installed the Magnum service on my Openstack installation and am facing a fairly frustrating problem - when I run either magnum --debug service-list or openstack coe service list I get the following error:

ERROR: Invalid input for field identity/password/user: id or name must be present (HTTP 500)

The full output from magnum --debug service-list is:

DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth')
DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1')
DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password')
DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword')
DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken')
DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos')
DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials')
DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth')
DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP')
DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential')
DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos')
DEBUG (session:372) REQ: curl -g -i -X GET http://localhost:5000/v3 -H "Accept: application/json" -H "User-Agent: magnum keystoneauth1/3.4.0 python-requests/2.18.4 CPython/2.7.17"
DEBUG (connectionpool:208) Starting new HTTP connection (1): localhost
DEBUG (connectionpool:396) http://localhost:5000 "GET /v3 HTTP/1.1" 200 249
DEBUG (session:419) RESP: [200] Date: Thu, 06 Feb 2020 21:10:22 GMT Server: Apache/2.4.29 (Ubuntu) Content-Length: 249 Vary: X-Auth-Token x-openstack-request-id: req-fcae6f69-213a-4c32-9e89-ea1204ac1ac8 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json 
RESP BODY: {"version": {"id": "v3.13", "status": "stable", "updated": "2019-07-19T00:00:00Z", "links": [{"rel": "self", "href": "http://localhost:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}}

DEBUG (session:722) GET call to None for http://localhost:5000/v3 used request id req-fcae6f69-213a-4c32-9e89-ea1204ac1ac8
DEBUG (base:175) Making authentication request to http://localhost:5000/v3/auth/tokens
DEBUG (connectionpool:396) http://localhost:5000 "POST /v3/auth/tokens HTTP/1.1" 201 7019
DEBUG (base:180) {"token ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-02-07 11:01:21 -0500

chrisaw gravatar image

Figured it out - I was being an idiot!

Under [trust] the field was wrong - should've been trustee_domain_admin_name - doh!

Fat fingers. :(

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2020-02-07 02:27:34 -0500

Seen: 85 times

Last updated: Feb 07