** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => liberty-3

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

Title:
  Linux bridge agent fails badly with physical_interface_mappings issue

Status in neutron:
  Fix Released

Bug description:
  If one or more interfaces in physical_interface_mappings does not
  exist for whatever reason, the Linux bridge agent fails badly rather
  than providing a useful error message.

  2015-07-01 16:51:40.816 22777 CRITICAL neutron 
[req-2f79bf5b-a0df-40f4-a62a-3eebe17688d2 ] IOError: [Errno 19] No such device
  2015-07-01 16:51:40.816 22777 TRACE neutron Traceback (most recent call last):
  2015-07-01 16:51:40.816 22777 TRACE neutron   File 
"/usr/bin/neutron-linuxbridge-agent", line 10, in <module>
  2015-07-01 16:51:40.816 22777 TRACE neutron     sys.exit(main())
  2015-07-01 16:51:40.816 22777 TRACE neutron   File 
"/usr/lib/python2.7/dist-packages/neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py",
 line 1016, in main
  2015-07-01 16:51:40.816 22777 TRACE neutron     polling_interval)
  2015-07-01 16:51:40.816 22777 TRACE neutron   File 
"/usr/lib/python2.7/dist-packages/neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py",
 line 769, in __init__
  2015-07-01 16:51:40.816 22777 TRACE neutron     
self.setup_rpc(interface_mappings.values())
  2015-07-01 16:51:40.816 22777 TRACE neutron   File 
"/usr/lib/python2.7/dist-packages/neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py",
 line 783, in setup_rpc
  2015-07-01 16:51:40.816 22777 TRACE neutron     mac = 
utils.get_interface_mac(physical_interfaces[0])
  2015-07-01 16:51:40.816 22777 TRACE neutron   File 
"/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 152, in 
get_interface_mac
  2015-07-01 16:51:40.816 22777 TRACE neutron     struct.pack('256s', 
interface[:constants.DEVICE_NAME_MAX_LEN]))
  2015-07-01 16:51:40.816 22777 TRACE neutron IOError: [Errno 19] No such device
  2015-07-01 16:51:40.816 22777 TRACE neutron

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to