neutron-macvtap-agent fails to start due to interface not having a mac address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Brian Haley |
Bug Description
The same as for linuxbridge-agent:
https:/
diff --git a/neutron/
index 3a771fbba7.
--- a/neutron/
+++ b/neutron/
@@ -112,13 +112,15 @@ class MacvtapManager(
def get_agent_id(self):
devices = ip_lib.
- if devices:
- mac = ip_lib.
- return 'macvtap%s' % mac.replace(":", "")
+ for device in devices:
+ mac = ip_lib.
+ if mac:
+ break
else:
+ return 'macvtap%s' % mac.replace(":", "")
def get_devices_
# TODO(kevinbenton): this should be implemented to detect
Changed in neutron: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/614858
Review: https:/