router-create 501 not implemented

asked 2014-10-30 01:46:49 -0500

etlars gravatar image

updated 2014-10-30 03:00:10 -0500

I'm testing dvr of juno neutron on ubuntu 14.04.

At first, it was successful in all steps when I followed up draft doc in . But I removed demo-router to modifying something, and then I cannot make router any more.

root@controller:~/work# neutron --version2.3.8  
root@controller:~/work# source demorc  
root@controller:~/work# neutron --debug router-create demo-router

DEBUG: keystoneclient.session REQ: curl -i -X GET http://controller:5000/v2.0/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"

DEBUG: keystoneclient.session RESP: [200] {'date': 'Thu, 30 Oct 2014 06:33:27 GMT', 'vary': 'X-Auth-Token', 'content-length': '420', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'} 

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:5000/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('shell =')

DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')

DEBUG: neutronclient.neutron.v2_0.router.CreateRouter get_data(Namespace(admin_state=True, columns=[], formatter='table', max_width=0, name=u'demo-router', prefix='', request_format='json', tenant_id=None, variables=[]))

DEBUG: keystoneclient.auth.identity.v2 Making authentication request to http://controller:5000/v2.0/tokens

DEBUG: keystoneclient.session REQ: curl -i -X POST http://controllerpub:9696/v2.0/routers.json -H "User-Agent: python-neutronclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 233bf423430242a6a0a037a32bdd5809" -d '{"router": {"name": "demo-router", "admin_state_up": true}}'

DEBUG: keystoneclient.session RESP:

DEBUG: keystoneclient.session Request returned failure status: 501
**ERROR: Not Implemented (HTTP 501)** (Request-ID: req-e9d26462-694c-4bcd-9a9b-f58915bda0a4)

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/neutronclient/", line 691, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)

  File "/usr/lib/python2.7/dist-packages/neutronclient/", line 90, in run_command

  File "/usr/lib/python2.7/dist-packages/neutronclient/common/", line 29, in run
    return super(OpenStackCommand, self).run(parsed_args)

  File "/usr/lib/python2.7/dist-packages/cliff/", line 91, in run
    column_names, data = self.take_action(parsed_args)

  File "/usr/lib/python2.7/dist-packages/neutronclient/common/", line 35, in take_action
    return self.get_data(parsed_args)

  File "/usr/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/", line 467, in get_data
    data = obj_creator(body)

  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 99, in with_params
    ret = self.function(instance, *args, **kwargs)

  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 403, in create_router
    return, body=body)

  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 1326, in post
    headers=headers, params=params)

  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 1241, in do_request

  File "/usr/lib/python2.7/dist-packages/neutronclient/", line 319, in do_request
    return self.request(url, method, **kwargs)

  File ...
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-10-30 06:15:07 -0500

Which L3 Driver you are using.

edit flag offensive delete link more

answered 2014-10-30 03:32:20 -0500

etlars gravatar image

I found what makes this problem hmmmmmm

in neutron.conf,

when blocking l3_ha = TRUE to #l3_ha = TRUE

"neutron router-create demo-router" command successfully completed...

BTW, says l3_ha = TRUE to enable dvr is it not applied yet?

From wiki, I keep all following instructions! Configuration[a] : In order to test L3 HA, we have to deploy an Openstack with at least two l3 agents nodes. Keepalibed has to be installed on every l3 nodes. Patches to apply : Config files: In etc/neutron.conf The HA has to be enabled : l3_ha = True

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-30 01:46:49 -0500

Seen: 315 times

Last updated: Oct 30 '14