<div dir="ltr"><div><div><div>Hi all<br><br></div>I have 3 node Icehouse non-devstack setup on Ubuntu 14.04. Everything was working fine. I integrated it with ODL. After reverting back to just OpenStack,  neutron APIs give auth errors.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">$ neutron --debug agent-list<br>DEBUG: keystoneclient.session REQ: curl -g -i -X GET <a href="http://10.107.0.139:35357/v2.0">http://10.107.0.139:35357/v2.0</a> -H "Accept: application/json" -H "User-Agent: python-keystoneclient"<br>DEBUG: keystoneclient.session RESP: [200] content-length: 616 vary: X-Auth-Token connection: keep-alive date: Sat, 04 Apr 2015 13:01:48 GMT content-type: application/json x-distribution: Ubuntu <br>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": "<a href="http://10.107.0.139:35357/v2.0/">http://10.107.0.139:35357/v2.0/</a>", "rel": "self"}, {"href": "<a href="http://docs.openstack.org/api/openstack-identity-service/2.0/content/">http://docs.openstack.org/api/openstack-identity-service/2.0/content/</a>", "type": "text/html", "rel": "describedby"}, {"href": "<a href="http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf">http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf</a>", "type": "application/pdf", "rel": "describedby"}]}}<br><br>DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')<br>DEBUG: stevedore.extension found extension EntryPoint.parse('csv = cliff.formatters.commaseparated:CSVLister')<br>DEBUG: neutronclient.neutron.v2_0.agent.ListAgent get_data(Namespace(columns=[], fields=[], formatter='table', max_width=0, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[]))<br>DEBUG: keystoneclient.auth.identity.v2 Making authentication request to <a href="http://10.107.0.139:35357/v2.0/tokens">http://10.107.0.139:35357/v2.0/tokens</a><br>DEBUG: keystoneclient.session REQ: curl -g -i -X GET <a href="http://10.107.0.139:9696/v2.0/agents.json">http://10.107.0.139:9696/v2.0/agents.json</a> -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}1e9e13c9f5065e44f23f304f0b8d03d2f528f8e5"<br>DEBUG: keystoneclient.session RESP:<br>DEBUG: keystoneclient.auth.identity.v2 Making authentication request to <a href="http://10.107.0.139:35357/v2.0/tokens">http://10.107.0.139:35357/v2.0/tokens</a><br>DEBUG: keystoneclient.session RESP:<br>DEBUG: neutronclient.v2_0.client Error message: Authentication required<br>ERROR: neutronclient.shell Authentication required<br>Traceback (most recent call last):<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 731, in run_subcommand<br>    return run_command(cmd, cmd_parser, sub_argv)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 97, in run_command<br>    return cmd.run(known_args)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/command.py", line 29, in run<br>    return super(OpenStackCommand, self).run(parsed_args)<br>  File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 91, in run<br>    column_names, data = self.take_action(parsed_args)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/command.py", line 35, in take_action<br>    return self.get_data(parsed_args)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 687, in get_data<br>    data = self.retrieve_list(parsed_args)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 650, in retrieve_list<br>    data = self.call_server(neutron_client, search_opts, parsed_args)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 622, in call_server<br>    data = obj_lister(**search_opts)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 99, in with_params<br>    ret = self.function(instance, *args, **kwargs)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1114, in list_agents<br>    return self.get(self.agents_path, params=_params)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 290, in get<br>    headers=headers, params=params)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 267, in retry_request<br>    headers=headers, params=params)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 208, in do_request<br>    self._handle_fault_response(status_code, replybody)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 182, in _handle_fault_response<br>    exception_handler_v20(status_code, des_error_body)<br>  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 80, in exception_handler_v20<br>    message=message)<br>NeutronClientException: Authentication required<br></blockquote><br></div>I have tried reinstalling keystone, restarting neutron-server, mysql database, recreating neutron databases and end-points, reimaging full neutron node but no success.<br><br></div>Any help would be very much appreciated.<br><br clear="all"><div><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div><div><div><font face="courier new,monospace">Janki Chhatbar<br></font></div><font face="courier new,monospace">M.Tech (Embedded Systems)<br></font></div><font face="courier new,monospace">Nirma University<br></font></div><font face="courier new,monospace">(+91) 9409239106<br></font></div></div></div>
</div></div></div></div></div>