openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #20769
Re: quantum net-list command get error
Looks like you are missing this part:
http://docs.openstack.org/trunk/openstack-network/admin/content/keystone.html
Aaron
On Fri, Feb 8, 2013 at 12:55 PM, Rain Li <lyp20062392@xxxxxxxxx> wrote:
> Hi all,
>
> When setting the virtual network on network-node with the basic-install
> guide, I failed to authenticate with the environment variables as suggested
> in novarc. Then I directly execute command quantum net-list with credential
> parameters contained. I get this error:
>
> DEBUG: quantumclient.quantum.v2_0.network.ListNetwork
> get_data(Namespace(columns=[], fields=[], filter_specs=[],
> formatter='table', quote_mode='nonnumeric', request_format='json',
> show_details=False))
> DEBUG: quantumclient.client REQ: curl -i http://10.0.0.1:35357/v2.0/tokens-X POST -H "Content-Type: application/json" -H "Accept: application/json"
> -H "User-Agent: python-quantumclient"
>
> DEBUG: quantumclient.client REQ BODY: {"auth": {"tenantName": "admin",
> "passwordCredentials": {"username": "admin", "password": "password"}}}
>
> DEBUG: quantumclient.client RESP:{'date': 'Fri, 08 Feb 2013 20:44:56 GMT',
> 'transfer-encoding': 'chunked', 'status': '200', 'content-type':
> 'application/json', 'vary': 'X-Auth-Token'}
>
>
> ERROR: cliff.app An unknown exception occurred.
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 218, in
> run_subcommand
> result = cmd.run(parsed_args)
> File "/usr/lib/python2.7/dist-packages/quantumclient/common/command.py",
> line 35, in run
> return super(OpenStackCommand, self).run(parsed_args)
> File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 84, in run
> column_names, data = self.take_action(parsed_args)
> File "/usr/lib/python2.7/dist-packages/quantumclient/common/command.py",
> line 41, in take_action
> return self.get_data(parsed_args)
> File
> "/usr/lib/python2.7/dist-packages/quantumclient/quantum/v2_0/__init__.py",
> line 360, in get_data
> quantum_client = self.get_client()
> File
> "/usr/lib/python2.7/dist-packages/quantumclient/quantum/v2_0/__init__.py",
> line 187, in get_client
> return self.app.client_manager.quantum
> File
> "/usr/lib/python2.7/dist-packages/quantumclient/common/clientmanager.py",
> line 41, in __get__
> self._handle = self.factory(instance)
> File "/usr/lib/python2.7/dist-packages/quantumclient/quantum/client.py",
> line 36, in make_client
> instance.initialize()
> File
> "/usr/lib/python2.7/dist-packages/quantumclient/common/clientmanager.py",
> line 78, in initialize
> httpclient.authenticate()
> File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line
> 207, in authenticate
> self._extract_service_catalog(body)
> File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line
> 176, in _extract_service_catalog
> endpoint_type='adminURL')
> File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line
> 80, in url_for
> raise exceptions.EndpointNotFound()
> EndpointNotFound: An unknown exception occurred.
> DEBUG: quantumclient.shell clean_up ListNetwork
> DEBUG: quantumclient.shell got an error: An unknown exception occurred.
>
> Does anyone know what's going on?
>
> Regards,
> Rain
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
References