← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1133833] Re: linux bridge agent hung and openvswitch raise an exception if we enable security group

 

** 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/1133833

Title:
  linux bridge agent hung and openvswitch raise an exception if we
  enable security group

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  It looks regression of this patch.
  https://github.com/openstack/quantum/commit/9acc988725ac202724c15c2ed3adaf9520ce9a6e

  Stderr: "iptables-restore v1.4.12: Invalid chain name `quantum-linuxbri-o54b26c46-cb' (28 chars max)\nError occurred at line: 50\nTry `iptables-restore -h' or 'iptables-restore --help' for more information.\n"
  2013-02-26 18:24:46.261 21308 TRACE quantum Traceback (most recent call last):
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/bin/quantum-linuxbridge-agent", line 24, in <module>
  2013-02-26 18:24:46.261 21308 TRACE quantum     main()
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 645, in main
  2013-02-26 18:24:46.261 21308 TRACE quantum     plugin.daemon_loop()
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 611, in daemon_loop
  2013-02-26 18:24:46.261 21308 TRACE quantum     sync = self.process_network_devices(device_info)
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 536, in process_network_devices
  2013-02-26 18:24:46.261 21308 TRACE quantum     resync_a = self.treat_devices_added(device_info['added'])
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py", line 544, in treat_devices_added
  2013-02-26 18:24:46.261 21308 TRACE quantum     self.prepare_devices_filter(devices)
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/agent/securitygroups_rpc.py", line 102, in prepare_devices_filter
  2013-02-26 18:24:46.261 21308 TRACE quantum     self.firewall.prepare_port_filter(device)
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-02-26 18:24:46.261 21308 TRACE quantum     self.gen.next()
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/agent/firewall.py", line 105, in defer_apply
  2013-02-26 18:24:46.261 21308 TRACE quantum     self.filter_defer_apply_off()
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/agent/linux/iptables_firewall.py", line 284, in filter_defer_apply_off
  2013-02-26 18:24:46.261 21308 TRACE quantum     self.iptables.defer_apply_off()
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/agent/linux/iptables_manager.py", line 294, in defer_apply_off
  2013-02-26 18:24:46.261 21308 TRACE quantum     self._apply()
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/openstack/common/lockutils.py", line 229, in inner
  2013-02-26 18:24:46.261 21308 TRACE quantum     retval = f(*args, **kwargs)
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/agent/linux/iptables_manager.py", line 330, in _apply
  2013-02-26 18:24:46.261 21308 TRACE quantum     root_helper=self.root_helper)
  2013-02-26 18:24:46.261 21308 TRACE quantum   File "/opt/stack/quantum/quantum/agent/linux/utils.py", line 60, in execute
  2013-02-26 18:24:46.261 21308 TRACE quantum     raise RuntimeError(m)
  2013-02-26 18:24:46.261 21308 TRACE quantum RuntimeError: 
  2013-02-26 18:24:46.261 21308 TRACE quantum Command: ['sudo', '/usr/local/bin/quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'iptables-restore']
  2013-02-26 18:24:46.261 21308 TRACE quantum Exit code: 2
  2013-02-26 18:24:46.261 21308 TRACE quantum Stdout: ''
  2013-02-26 18:24:46.261 21308 TRACE quantum Stderr: "iptables-restore v1.4.12: Invalid chain name `quantum-linuxbri-o54b26c46-cb' (28 chars max)\nError occurred at line: 50\nTry `iptables-restore -h' or 'iptables-restore --help' for more information.\n"
  2013-02-26 18:24:46.261 21308 TRACE quantum

To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1133833/+subscriptions