Ask Your Question

Problem with "neutron ext-list"

asked 2015-07-23 13:48:49 -0500

Anario gravatar image

updated 2015-10-15 08:18:06 -0500

Hi could you help me to fix it ?

EDIT (VL): This is the problem that was the cause for these error messages:

By mistake I have used the "dle" hostname instead of "del" while creating the endpoint, and because of that neutron net-list is giving issue

Please let me know how to change it?

Those were the symptoms:

[root@controller ~]# neutron ext-list --debug
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keyst                              oneclient"
DEBUG: keystoneclient.session RESP: [200] content-length: 250 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (Cent                              OS) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Thu, 23 Jul 2015 20:13:13 GMT content-type: application/json x-openstack-reques                              t-id: req-5422ca36-0a99-4374-aeb4-77bb12db2325
 RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "appli                              cation/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://controller:35357/v3/", "rel": "self"}]}}

DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('csv = cliff.formatters.commaseparated:CSVLister')
DEBUG: neutronclient.neutron.v2_0.extension.ListExt get_data(Namespace(columns=[], fields=[], formatter='table', max_width=0, quote_mode='                              nonnumeric', request_format='json', show_details=False))
DEBUG: keystoneclient.auth.identity.v3.base Making authentication request to http://controller:35357/v3/auth/tokens
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://controller:9696/v2.0/extensions.json -H "User-Agent: python-neutronclient" -H                               "Accept: application/json" -H "X-Auth-Token: {SHA1}e8b2688fc034160822a18fd632c6ead52c06d711"
ERROR: Unable to establish connection to http://controller:9696/v2.0/extensions.json
Traceback (most recent call last):
 File "/usr/lib/python2.7/site-packages/neutronclient/", line 766, in run_subcommand
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/python2.7/site-packages/neutronclient/", line 101, in run_command
File "/usr/lib/python2.7/site-packages/neutronclient/common/", line 29, in run
return super(OpenStackCommand, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/", line 91, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/common/", line 35, in take_action
return self.get_data(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/", line 691, in get_data
data = self.retrieve_list(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/", line 654, in retrieve_list
data = self.call_server(neutron_client, search_opts, parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/", line 626, in call_server
data = obj_lister(**search_opts)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 102, in with_params
ret = self.function(instance, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 522, in list_extensions
return self.get(self.extensions_path, params=_params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 293, in get
headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 270, in retry_request
headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/neutronclient ...
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-10-15 07:58:47 -0500

updated 2015-10-15 07:59:52 -0500

If you created the endpoint with wrong hostname, the simplest thing to do, is to delete it and then recreate one with the right infos...

Have a look at: keystone help endpoint-delete

edit flag offensive delete link more

answered 2015-07-27 06:48:06 -0500

RAHUL1603 gravatar image

Hi concerned,

It looks like you have a connection error. ERROR: Unable to establish connection to http://controller:9696/v2.0/extensions.json (http://controller:9696/v2.0/extension...)

But more details are required to actually say about the real cause. Are you able to get other details from neutron like neutron net-list, neutron subnet-list. If you are not able to get these details then you are possibly missing something in the configuration.

Moreover what is the setup you are using is it one node, multiple nodes. In case of multiple nodes please check whether neutron server is reachable by other nodes.

Regards Rahul Singh

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-07-23 13:48:49 -0500

Seen: 2,397 times

Last updated: Oct 15 '15