[root@controller ~]# neutron ext-list
Not Found (HTTP 404)
How do I go to debug this ?
[root@controller ~]# neutron --debug ext-list
DEBUG: keystoneclient.session REQ: curl -i -X GET http://controller:35357/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [200] {'date': 'Thu, 27 Nov 2014 03:46:46 GMT', 'content-type': 'application/json', 'content-length': '421', 'vary': 'X-Auth-Token'}
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://controller:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
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.v2 Making authentication request to http://controller:35357/v2.0/tokens
DEBUG: keystoneclient.session REQ: curl -i -X GET http://controller:9696/v2/a79c28f349aa47158ea272cdfdfe679e/v2.0/extensions.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: TOKEN_REDACTED"
DEBUG: keystoneclient.session RESP:
DEBUG: keystoneclient.session Request returned failure status: 404
ERROR: neutronclient.shell Not Found (HTTP 404)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 691, in run_subcommand
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 90, in run_command
return cmd.run(known_args)
File "/usr/lib/python2.7/site-packages/neutronclient/common/command.py", line 29, in run
return super(OpenStackCommand, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 91, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/common/command.py", line 35, in take_action
return self.get_data(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 669, in get_data
data = self.retrieve_list(parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 638, in retrieve_list
data = self.call_server(neutron_client, search_opts, parsed_args)
File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 610, in call_server
data = obj_lister(**search_opts)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 98, in with_params
ret = self.function(instance, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 300, in list_extensions
return self.get(self.extensions_path, params=_params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1320, in get
headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1297, in retry_request
headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1240, in do_request
content_type=self.content_type())
File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 319, in do_request
return self.request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 63, in request
return self._request(url, method, body=body, headers=headers, **kwargs)
File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 314, in _request
**kwargs)
File "/usr/lib/python2.7/site-packages/keystoneclient/utils.py", line 318, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneclient/session.py", line 346, in request
raise exceptions.from_response(resp, method, url)
NotFound: Not Found (HTTP 404)
Not Found (HTTP 404)
The only error I can see is ERROR: neutronclient.shell Not Found (HTTP 404)
the neutron/server.log was not much help either
NFO neutron.wsgi [-] (4631) accepted ('127.0.0.1', 51735)
INFO neutron.wsgi [-] 127.0.0.1 - - [26/Nov/2014 20:46:46] "GET /v2/a79c28f349aa47158ea272cdfdfe679e/v2.0/extensions.json HTTP/1.1" 404 173 0.000855
I am including some of my config files
[root@controller ~]# grep -v '^#' /etc/neutron/neutron.conf |grep [a-zAZ]
[DEFAULT]
verbose = True
core_plugin = ml2
service_plugins = router
auth_strategy = keystone
allow_overlapping_ips = True
notify_nova_on_port_status_changes = False
notify_nova_on_port_data_changes = False
nova_url = http://controller:8774/v2
nova_region_name = regionOne
nova_admin_username = nova
nova_admin_tenant_id = 0a0cd573e1264aeeb9ef0bf84d6e656f
nova_admin_password = ec248c87e23f5f97127b
nova_admin_auth_url = http://controller:35357/v2.0
rabbit_host = controller
rabbit_password = b3f6e06093a061efb45a
rpc_backend = rabbit
[matchmaker_redis]
[matchmaker_ring]
[quotas]
[agent]
[keystone_authtoken]
identity_uri = http://controller:35357
auth_uri=http://controller:5000/v2.0
admin_tenant_name = service
admin_user = neutron
admin_password = 9ae52f998414b948082e
[database]
connection=mysql://neutron:1adbe68e0a817c90a8bf@controller/neutron
[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
I'm not sure about the two service_providers - they were uncommented originally in the default file. I did try to comment them out and restart the all nova and neutron services - it made not changes
[root@controller ~]# grep -v '^#' /etc/neutron/plugins/ml2/ml2_conf.ini |grep [a-zAZ]
[ml2]
type_drivers = flat,gre
tenant_network_types = gre
mechanism_drivers = openvswitch
[ml2_type_flat]
[ml2_type_vlan]
[ml2_type_gre]
tunnel_id_ranges = 1:1000
[ml2_type_vxlan]
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
enable_security_group = True
enable_ipset = True
it's not a file permission
[root@controller ~]# ls -l /etc/neutron/plugin.ini
lrwxrwxrwx. 1 root root 37 Nov 26 16:42 /etc/neutron/plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini
[root@controller ~]# ls -l /etc/neutron/plugins/ml2/ml2_conf.ini
-rw-r-----. 1 root neutron 2653 Nov 26 14:20 /etc/neutron/plugins/ml2/ml2_conf.ini
[root@controller ~]# ls -l /etc/neutron/neutron.conf
-rw-r-----. 1 root neutron 22062 Nov 26 20:30 /etc/neutron/neutron.conf
I even turn stop the firewalld - that made no change either
now I really don't know where else to look