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

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

oussit gravatar image

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

rbowen gravatar image


I've been trying installing OpenStack on Ubuntu 14.04 following this guide, 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/", line 1080, in main
  File "/usr/lib/python2.7/dist-packages/novaclient/", line 914, in main
    api_version = api_versions.discover_version(self.cs, api_version)
  File "/usr/lib/python2.7/dist-packages/novaclient/", line 267, in discover_version
  File "/usr/lib/python2.7/dist-packages/novaclient/", line 248, in _get_server_version_range
    version = client.versions.get_current()
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/", line 84, in get_current
    return self._get_current()
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/", line 56, in _get_current
    url = "%s" % self.api.client.get_endpoint()
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/", line 132, in get_endpoint
    return self.session.get_endpoint(auth or self.auth, **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/", line 661, in get_endpoint
    return auth.get_endpoint(self, **kwargs)
  File "/usr/lib/python2.7/dist-packages ...
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


This post is a duplicate of

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