Neutron on same node as keystone 401 error

asked 2015-08-10 16:12:29 -0600

AaronM gravatar image

updated 2015-08-11 22:22:01 -0600

nethawk gravatar image

Ok so I have a

multi box system

We have the controller on one box and we want to run neutron on the same box. I have followed the install instruction per Install Networking on Dedicated Controller

In the instructions I get to edit api-paste.ini in the /etc/neutron dir (however the file doesn't exist)

When I start Neutron it seems to start, however can't run neutron ext-list

when I run with debug I get the following:

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': 'Mon, 10 Aug 2015 21:11:22 GMT', 'vary': 'X-Auth-Token', 'content-length': '421', 'content-type': 'application/json', 'connection': 'keep-alive'}
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": "", "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.0/extensions.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: TOKEN_REDACTED"
DEBUG: keystoneclient.session RESP:
DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://controller:35357/v2.0/tokens
DEBUG: keystoneclient.session RESP:
DEBUG: keystoneclient.session Request returned failure status: 401
ERROR: Unauthorized (HTTP 401) (Request-ID: req-4ec66017-de1d-4d65-8ed7-f82503bf1c79)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutronclient/", line 691, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/site-packages/neutronclient/", line 90, 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 669, in get_data
    data = self.retrieve_list(parsed_args)
  File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/", 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/", line 610, in call_server
    data = obj_lister(**search_opts)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 98, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/", line 300, in list_extensions
    return self.get(self.extensions_path, params=_params)
  File "/usr/lib/python2.7/site-packages/neutronclient ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-12 21:55:55 -0600

nethawk gravatar image

You can look up the log of keystone to check if there is any errors in keysotne. The directory of keystone log file is : /var/log/keystone/keystone.log.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-10 16:12:29 -0600

Seen: 112 times

Last updated: Aug 12 '15