Authentication cannot be scoped to multiple targets. Pick one of: project, domain, trust or unscoped [closed]

asked 2016-12-12 18:54:07 -0500

oussit gravatar image

updated 2016-12-13 07:29:46 -0500

rbowen gravatar image

Hello,

I've been trying installing OpenStack on Ubuntu 14.04 following this guide http://docs.openstack.org/newton/inst..., everything work fine until the after installation of Nova in the controller node, when i was trying to use the command " nova service-list" i get this message error " Authentication cannot be scoped to multiple targets. Pick one of: project, domain, trust or unscoped ", i checked again and again the nova config file, everything was set up correctly. Here is the debugg output.

nova service-list --debug
DEBUG (extension:157) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG (extension:157) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG (extension:157) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG (extension:157) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG (extension:157) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG (extension:157) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG (session:248) REQ: curl -g -i -X GET http://control:35357/v3 -H "Accept: application/json" -H "User-Agent: keystoneauth1/2.4.1 python-requests/2.9.1 CPython/2.7.6"
INFO (connectionpool:208) Starting new HTTP connection (1): control
DEBUG (connectionpool:388) "GET /v3 HTTP/1.1" 200 247
DEBUG (session:277) RESP: [200] Content-Length: 247 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date: Tue, 13 Dec 2016 00:50:00 GMT x-openstack-request-id: req-423ef525-2915-4766-affb-943115f59427 Content-Type: application/json X-Distribution: Ubuntu
RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", "links": [{"href": "http://control:35357/v3/", "rel": "self"}]}}

DEBUG (shell:1082) Authentication cannot be scoped to multiple targets. Pick one of: project, domain, trust or unscoped
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 1080, in main
    OpenStackComputeShell().main(argv)
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 914, in main
    api_version = api_versions.discover_version(self.cs, api_version)
  File "/usr/lib/python2.7/dist-packages/novaclient/api_versions.py", line 267, in discover_version
    client)
  File "/usr/lib/python2.7/dist-packages/novaclient/api_versions.py", line 248, in _get_server_version_range
    version = client.versions.get_current()
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/versions.py", line 84, in get_current
    return self._get_current()
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/versions.py", line 56, in _get_current
    url = "%s" % self.api.client.get_endpoint()
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 132, in get_endpoint
    return self.session.get_endpoint(auth or self.auth, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 661, in get_endpoint
    return auth.get_endpoint(self, **kwargs)
  File "/usr/lib/python2.7/dist-packages ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by rbowen
close date 2016-12-13 07:30:36.591120

Comments

This post is a duplicate of https://ask.openstack.org/en/question...

rbowen gravatar imagerbowen ( 2016-12-13 07:30:33 -0500 )edit