summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2020-01-14 14:11:17 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2020-01-15 10:25:17 +0000
commitb4f1800025a33b950ff66ed6c7b5ef9e2315f778 (patch)
tree49e6dad808daced612ce45136b37d33d2f589407 /mcp
parent238ed19eb4d7cd755bbc95c40e2399cc66eb6fc1 (diff)
fdio noha: Workaround tap MAC generation issues
systemd 230..241 has issues generating persistent MAC addresses for bridge/tap/etc network devices, causing trouble for VPP agent hooking tap devices to the bridges it creates on the fly. Work around this by disabling the faulty policy, as suggested in [1]. [1] https://github.com/systemd/systemd/issues/3374 Change-Id: I8d568bc0a859256d1493bf9f8261d60943fa60e0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit fdf80205c24041fdf143269b128bf479401d832c)
Diffstat (limited to 'mcp')
-rw-r--r--mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/init.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/init.yml b/mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/init.yml
index 1e1388485..858da65a7 100644
--- a/mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/init.yml
+++ b/mcp/reclass/classes/cluster/mcp-fdio-noha/openstack/init.yml
@@ -18,3 +18,13 @@ parameters:
node_hostname: ${_param:cluster_node01_hostname}
node_port: 4001
external_vpp_tap: 'tap0'
+ linux:
+ system:
+ file:
+ /etc/systemd/network/99-default.link:
+ contents: |
+ # Workaround tap/bridge MAC generation issue
+ # https://github.com/systemd/systemd/issues/3374
+ [Link]
+ NamePolicy=kernel database onboard slot path
+ MACAddressPolicy=none