Can't use nova when configuring neutron.agent.firewall.NoopFirewallDriver in neutron plugins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned | ||
python-neutronclient |
Fix Released
|
Undecided
|
Xiang Hui |
Bug Description
OS : RHEL6.4
OpenStack version : Havana
If setting "firewall_driver = neutron.
[root@oxianghui v2_0]# nova list
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-7c2bc0a7-
The error log:
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack Traceback (most recent call last):
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack return req.get_
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack application, catch_exc_
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack app_iter = application(
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack return resp(environ, start_response)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack return self.app(env, start_response)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack return resp(environ, start_response)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack return resp(environ, start_response)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack return resp(environ, start_response)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack content_type, body, accept)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack request, action_args)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack **action_args)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack self._extend_
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack .get_instances_
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack security_groups = neutron.
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack ret = self.function(
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack security_groups = self.list(
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack headers=headers, params=params)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack linkrel = 'previous'
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack return self.retry_
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack """
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack httplib.CREATED,
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack except Exception:
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack File "/usr/lib/
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack message=message)
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack NeutronClientEx
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack
2013-09-29 07:23:08.200 7666 TRACE nova.api.openstack The resource could not be found.
The root cause is that the extension of security groups is not loaded if setting "firewall_driver = neutron.
Nova have referred the function "list_security_
I think Nova should be independent with Neutron as a OpenStack module.
tags: | added: neutron |
Changed in python-neutronclient: | |
milestone: | none → 2.3.0-2.3.4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
status: | Confirmed → Incomplete |
Fix proposed to branch: master /review. openstack. org/48879
Review: https:/