neutron lbaas* commands return "NeutronClientException: 404 Not Found"

Solution In Progress - Updated -

Issue

  • When running any "neutron lbaas*" commands display an error
  • For instance neutron --debug lbaas-pool-list returns:
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.10.10.10:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [200] content-length: 338 vary: X-Auth-Token connection: keep-alive date: Fri, 04 Sep 2015 06:03:20 GMT content-type: application/json x-openstack-request-id: req-aaa9bdc4-e507-45d7-9455-56fd91148adf 
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.10.10.10:5000/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: stevedore.extension found extension EntryPoint.parse('yaml = clifftablib.formatters:YamlFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('json = clifftablib.formatters:JsonFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('html = clifftablib.formatters:HtmlFormatter')
DEBUG: neutronclient.neutron.v2_0.lb.v2.pool.ListPool get_data(Namespace(columns=[], fields=[], formatter='table', max_width=0, page_size=None, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[]))
DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://10.10.10.10:5000/v2.0/tokens
DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.10.10.10:9696/v2.0/lbaas/pools.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}45b6e5db2295de6a80a6f3c4c7685c11305dbfcb"
DEBUG: keystoneclient.session RESP:
DEBUG: neutronclient.v2_0.client Error message: 404 Not Found

The resource could not be found.


ERROR: neutronclient.shell 404 Not Found

The resource could not be found.


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 731, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/dist-packages/neutronclient/shell.py", line 97, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 29, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/common/command.py", line 35, in take_action
    return self.get_data(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 687, in get_data
    data = self.retrieve_list(parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 650, in retrieve_list
    data = self.call_server(neutron_client, search_opts, parsed_args)
  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 622, in call_server
    data = obj_lister(**search_opts)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 99, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 886, in list_lbaas_pools
    retrieve_all, **_params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 312, in list
    for r in self._pagination(collection, path, **params):
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 325, in _pagination
    res = self.get(path, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 298, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 275, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 216, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 182, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 80, in exception_handler_v20
    message=message)
NeutronClientException: 404 Not Found

The resource could not be found.
  • The following error is shown in /var/log/neutron/server.log:
2015-09-04 02:03:20.891 12898 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://10.10.10.10:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}45b6e5db2295de6a80a6f3c4c7685c11305dbfcb" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}ef8a62b84a3a247eb5f75d21cfd0ffd6e086c81e" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:195
2015-09-04 02:03:20.998 12898 DEBUG keystoneclient.session [-] RESP: [200] content-length: 7806 x-subject-token: {SHA1}45b6e5db2295de6a80a6f3c4c7685c11305dbfcb vary: X-Auth-Token connection: keep-alive date: Fri, 04 Sep 2015 06:03:20 GMT content-type: application/json x-openstack-request-id: req-e154af57-a0fe-4da3-9bf6-1fc148cf56da 
RESP BODY: {"token": {"methods": ["password", "token"], "roles": [{"id": "be746ea9ed744d68abafb47b2d2a3712", "name": "heat_stack_owner"}, {"id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_"}], "expires_at": "2015-09-04T07:03:20.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "7251231351b6415fa7ed90ea7e76562f", "name": "a1062009"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "a1062009", "name": "a1062009"}, "audit_ids": ["HUsqFrSDSsWZ7R4HYIJ9QA"], "issued_at": "2015-09-04T06:03:20.876037"}}
 _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:224
2015-09-04 02:03:21.001 12898 INFO neutron.wsgi [req-f2609625-d85b-43ee-b293-554f6ab89963 ] 10.10.10.11 - - [04/Sep/2015 02:03:21] "GET /v2.0/lbaas/pools.json HTTP/1.1" 404 266 0.110871

Environment

  • Red Hat OpenStack 7.0 (RHOS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content