Vlan Network Create Fails With Unknown Error

asked 2013-06-05 13:18:45 -0600

Florin gravatar image

updated 2013-06-11 10:25:11 -0600

fifieldt gravatar image

I have two nodes, one master one compute. The master runs every service, but the nova-compute service while the compute only runs the nova-compute service. After I update the network manager in nova.conf to VlanManager and set the vlan_interface, I restart the services and run the following command:

nova network-create admin --fixed-range-v4=192.170.100.0/24 --vlan=100 --bridge=br100 --project-id=443e859b051c4fb9abc2a116ace1bcaf

which fails with the following message:

ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500)(Request-ID:req-e065ebec-2053-45ec-af16-298a726f0294)

I found the request-id in the nova-api.log and it's entry looks as follows:

2013-06-05 13:53:38.349 ERROR nova.api.openstack [req-e065ebec-2053-45ec-af16-298a726f0294 6fe69a55dd6f4ad3a77eb86a24589067 443e859b051c4fb9abc2a116ace1bcaf] Caught error: 'API' object has no attribute 'create'
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack Traceback (most recent call last):
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py", line 81, in __call__
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     return req.get_response(self.application)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/webob/request.py", line 1296, in send
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     application, catch_exc_info=False)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/webob/request.py", line 1260, in call_application
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     return resp(environ, start_response)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 451, in __call__
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     return self.app(env, start_response)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     return resp(environ, start_response)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     return resp(environ, start_response)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     return resp(environ, start_response)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py", line 131, in __call__
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack     response = self.app(environ, start_response)
2013-06-05 13:53:38.349 1223 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/webob/dec ...
(more)
edit retag flag offensive close merge delete

Comments

I had a similar issue but it seems to have disappeared when I restarted nova-compute and nova-network (and ensured they work properly)

n-paladi gravatar imagen-paladi ( 2013-08-05 07:20:34 -0600 )edit

Hi, Were you able to fix this issue?

koolhead17 gravatar imagekoolhead17 ( 2013-08-13 07:01:17 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-18 03:59:22 -0600

Edward Zhang gravatar image

you need to install nova-network service or neutron-agent on your compute node.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-05 13:18:45 -0600

Seen: 510 times

Last updated: Sep 18 '13