yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00703
[Bug 1099072] Re: DHCP agent has exception when restarting with security groups and linuxbridge
** Changed in: quantum
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1099072
Title:
DHCP agent has exception when restarting with security groups and
linuxbridge
Status in OpenStack Quantum (virtual network service):
Fix Released
Bug description:
2013-01-12 07:14:22.714 22740 DEBUG quantum.openstack.common.rpc.amqp [-] MSG_ID is 81ad45733e6b491d80cfa3f66c6bcf3e multicall /opt/stack/quantum/quantum/openstack/common/rpc/amqp.py:365
2013-01-12 07:14:22.897 22740 ERROR quantum.agent.dhcp_agent [-] Unable to enable dhcp.
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent Traceback (most recent call last):
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 89, in call_driver
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent getattr(driver, action)()
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/linux/dhcp.py", line 108, in enable
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent reuse_existing=True)
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 412, in setup
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent port = self.plugin.get_dhcp_port(network.id, device_id)
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 275, in get_dhcp_port
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent topic=self.topic))
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/openstack/common/rpc/proxy.py", line 80, in call
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent return rpc.call(context, self._get_topic(topic), msg, timeout)
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/openstack/common/rpc/__init__.py", line 109, in call
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent return _get_impl().call(cfg.CONF, context, topic, msg, timeout)
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/openstack/common/rpc/impl_kombu.py", line 765, in call
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent rpc_amqp.get_connection_pool(conf, Connection))
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 379, in call
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent rv = list(rv)
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 347, in __iter__
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent raise result
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent RemoteError: Remote error: SecurityGroupInvalidDeviceOwner Security Group can't be applied to network ports.
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent [u'Traceback (most recent call last):\n', u' File "/opt/stack/quantum/quantum/openstack/common/rpc/amqp.py", line 276, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, **args)\n', u' File "/opt/stack/quantum/quantum/common/rpc.py", line 43, in dispatch\n quantum_ctxt, version, method, **kwargs)\n', u' File "/opt/stack/quantum/quantum/openstack/common/rpc/dispatcher.py", line 133, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwargs)\n', u' File "/opt/stack/quantum/quantum/db/dhcp_rpc_base.py", line 89, in get_dhcp_port\n dict(port=port))\n', u' File "/opt/stack/quantum/quantum/plugins/linuxbridge/lb_quantum_plugin.py", line 470, in update_port\n self._validate_security_groups_on_port(context, port)\n', u' File "/opt/stack/quantum/quantum/db/securitygroups_db.py", line 453, in _validate_security_groups_on_port\n raise ext_sg.SecurityGroupInvalidDeviceOwner()\n', u"SecurityGroupInvalidDeviceOwner: Security Group can't be applied to network ports.\n"].
2013-01-12 07:14:22.897 22740 TRACE quantum.agent.dhcp_agent
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1099072/+subscriptions