← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1222954] Re: when openvswitch bridges deleted, plugin agent crashes

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1222954

Title:
  when openvswitch bridges deleted, plugin agent crashes

Status in neutron:
  Expired

Bug description:
  
  Stderr: 'Device "br-int" does not exist.\n'
  2013-09-09 12:58:25.721 31684 TRACE neutron Traceback (most recent call last):
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/usr/bin/neutron-openvswitch-agent", line 10, in <module>
  2013-09-09 12:58:25.721 31684 TRACE neutron     sys.exit(main())
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1041, in main
  2013-09-09 12:58:25.721 31684 TRACE neutron     plugin = OVSNeutronAgent(**agent_config)
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 183, in __init__
  2013-09-09 12:58:25.721 31684 TRACE neutron     self.setup_rpc()
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 230, in setup_rpc
  2013-09-09 12:58:25.721 31684 TRACE neutron     mac = self.int_br.get_local_port_mac()
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/agent/linux/ovs_lib.py", line 319, in get_local_port_mac
  2013-09-09 12:58:25.721 31684 TRACE neutron     address = ip_lib.IPDevice(self.br_name, self.root_helper).link.address
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 225, in address
  2013-09-09 12:58:25.721 31684 TRACE neutron     return self.attributes.get('link/ether')
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 249, in attributes
  2013-09-09 12:58:25.721 31684 TRACE neutron     return self._parse_line(self._run('show', self.name, options='o'))
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 179, in _run
  2013-09-09 12:58:25.721 31684 TRACE neutron     return self._parent._run(kwargs.get('options', []), self.COMMAND, args)
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 53, in _run
  2013-09-09 12:58:25.721 31684 TRACE neutron     return self._execute(options, command, args)
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 76, in _execute
  2013-09-09 12:58:25.721 31684 TRACE neutron     root_helper=root_helper)
  2013-09-09 12:58:25.721 31684 TRACE neutron   File "/opt/stack/neutron/neutron/agent/linux/utils.py", line 61, in execute
  2013-09-09 12:58:25.721 31684 TRACE neutron     raise RuntimeError(m)
  2013-09-09 12:58:25.721 31684 TRACE neutron RuntimeError:
  2013-09-09 12:58:25.721 31684 TRACE neutron Command: ['ip', '-o', 'link', 'show', 'br-int']
  2013-09-09 12:58:25.721 31684 TRACE neutron Exit code: 1
  2013-09-09 12:58:25.721 31684 TRACE neutron Stdout: ''
  2013-09-09 12:58:25.721 31684 TRACE neutron Stderr: 'Device "br-int" does not exist.\n'

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