Vlan Network Create Fails With Unknown Error
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 ...
I had a similar issue but it seems to have disappeared when I restarted nova-compute and nova-network (and ensured they work properly)
Hi, Were you able to fix this issue?