openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #20633
Re: raise novaclient.exceptions.EndpointNotFound()
try nova endpoints with your credentials ,can you get a list of endpoints?
2013/2/2 Esteban Arias <earias_hp@xxxxxxxxxxx>
> Hello Everyone,
>
> I am following a guide to deploy openstack, it says that at the stage I am
> I should be able to list nova flavor -list however I am getting this error:
>
> root@CloudController:/home/esarias# nova --os_username=admin
> --os_password=admin --os_auth_url=http://localhost:35357/v2.0--os_tenant_name admin --username admin --region_name regionOne flavor-list
> Could not find any suitable endpoint. Correct region?
> ERROR:
>
> DEBUGGING it shows
>
> root@CloudController:/home/esarias# nova --debug --os_username=admin
> --os_password=admin --os_auth_url=http://localhost:35357/v2.0--os_tenant_name admin --username admin --region_name regionOne flavor-list
> connect: (localhost, 35357)
> send: 'POST /v2.0/tokens HTTP/1.1\r\nHost:
> localhost:35357\r\nContent-Length: 100\r\ncontent-type:
> application/json\r\naccept-encoding: gzip, deflate\r\naccept:
> application/json\r\nuser-agent: python-novaclient\r\n\r\n{"auth":
> {"tenantName": "admin", "passwordCredentials": {"username": "admin",
> "password": "admin"}}}'
> reply: 'HTTP/1.1 200 OK\r\n'
> header: Content-Type: application/json
> header: Vary: X-Auth-Token
> header: Date: Fri, 01 Feb 2013 20:53:24 GMT
> header: Transfer-Encoding: chunked
> Could not find any suitable endpoint. Correct region?
> DEBUG (shell:416)
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 413,
> in main
> OpenStackComputeShell().main(sys.argv[1:])
> File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 358,
> in main
> self.cs.authenticate()
> File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/client.py", line
> 106, in authenticate
> self.client.authenticate()
> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 229,
> in authenticate
> auth_url = self._v2_auth(auth_url)
> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 284,
> in _v2_auth
> self._authenticate(url, body)
> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 309,
> in _authenticate
> return self._extract_service_catalog(url, resp, body)
> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 166,
> in _extract_service_catalog
> service_name=self.service_name)
> File "/usr/lib/python2.7/dist-packages/novaclient/service_catalog.py",
> line 67, in url_for
> raise novaclient.exceptions.EndpointNotFound()
> EndpointNotFound
> ERROR:
>
> ------------------------------
> any help would be highly appreciated
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
--
Yaguang Tang
References