Ask Your Question

neutron/lbaas: No route matched POST [closed]

asked 2014-06-05 12:52:46 -0600

mattlesko-nih gravatar image

updated 2014-06-06 17:01:07 -0600

smaffulli gravatar image

This is similar to this question but that hasn't been answered yet, and the error is slightly different.

Versions (Icehouse), running on CentOS 6.5:


Attempting to create a new loadbalancer pool fails:

os-network-dev11 in ~[0] $ neu lb-pool-create --debug  --lb-method ROUND_ROBIN --name testPOOL --protocol HTTP --subnet-id EXTANTSUBNET

REQ: curl -i http://os-controller-dev01:9696/v2.0/lb/pools.json -X POST -H "X-Auth-Token:MYTOKEN==" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"pool": {"subnet_id": "EXTANTSUBNET" "lb_method": "ROUND_ROBIN", "protocol": "HTTP", "name": "testPOOL", "admin_state_up": true}}'

DEBUG: neutronclient.client RESP:{'date': 'Thu, 05 Jun 2014 17:42:20 GMT', 'status': '404', 'content-length': '52', 'content-type': 'text/plain; charset=UTF-8', 'x-openstack-request-id': 'req-06eea994-eb2a-411d-a2f0-f2cd1de89176'} 404 Not Found

The resource could not be found.

DEBUG: neutronclient.v2_0.client Error message: 404 Not Found

The resource could not be found.

ERROR: 404 Not Found

The resource could not be found.

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/neutronclient/", line 526, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.6/site-packages/neutronclient/", line 79, in run_command
  File "/usr/lib/python2.6/site-packages/neutronclient/common/", line 34, in run
    return super(OpenStackCommand, self).run(parsed_args)
  File "/usr/lib/python2.6/site-packages/cliff/", line 84, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.6/site-packages/neutronclient/common/", line 40, in take_action
    return self.get_data(parsed_args)
  File "/usr/lib/python2.6/site-packages/neutronclient/neutron/v2_0/", line 419, in get_data
    data = obj_creator(body)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/", line 111, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/", line 665, in create_pool
    return, body=body)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/", line 1241, in post
    headers=headers, params=params)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/", line 1164, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/", line 1134, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/", line 91, in exception_handler_v20
NeutronClientException: 404 Not Found

The resource could not be found.

DEBUG: clean_up CreatePool
DEBUG: Got an error: 404 Not Found

The resource could not be found.

In /var/log/neutron/server.log, this shows up:

2014-06-05 13:45:02.829 26810 DEBUG keystoneclient.middleware.auth_token [-] Removing headers from request environment: X-Identity-Status,X-D
main-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role _remove_auth_headers /usr/lib/python2.6/site-packages/ke
2014-06-05 13:45:02.831 26810 DEBUG keystoneclient.middleware.auth_token [-] Returning cached token _cache_get /usr/lib/python2.6/site-packag
2014-06-05 13:45:02.831 26810 DEBUG keystoneclient.middleware ...
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mattlesko-nih
close date 2014-06-09 13:32:50.242655

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-09 13:32:13 -0600

mattlesko-nih gravatar image

For reference, this was ultimately solved by making sure /etc/neutron/neutron.conf has:

service_plugins =

listed, in addition to any others. Our setup was completed through puppetforge/openstack and it was missed.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-06-05 12:52:46 -0600

Seen: 1,426 times

Last updated: Jun 09 '14