From 8f652a3d2018d9375a221e4ab4a456d40930b4f1 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 15 Dec 2018 09:48:57 -0800 Subject: [PATCH] Tweak the ifcfg stuff for the other openQA tap workers too ...except ppc64le, which seems to have dropped dead. Once that one is done, we can drop the ugly bits from the tap-setup play, I hope. Signed-off-by: Adam Williamson --- .../host_vars/aarch64-c26n1-oqa.arm.fedoraproject.org | 8 +++++--- inventory/host_vars/qa09.qa.fedoraproject.org | 8 +++++--- inventory/host_vars/qa14.qa.fedoraproject.org | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/inventory/host_vars/aarch64-c26n1-oqa.arm.fedoraproject.org b/inventory/host_vars/aarch64-c26n1-oqa.arm.fedoraproject.org index 91d3226c1e..e4b87797ff 100644 --- a/inventory/host_vars/aarch64-c26n1-oqa.arm.fedoraproject.org +++ b/inventory/host_vars/aarch64-c26n1-oqa.arm.fedoraproject.org @@ -15,9 +15,11 @@ sudoers: "{{ private }}/files/sudo/qavirt-sudoers" # openQA tap worker hosts (like this one) do stuff with ifcfg that base # doesn't understand. terrible, terrible stuff. seriously - it doesn't # handle the openvswitch config well. so let's tell it to just configure -# the actual connected interface (which on this system is eth0) for us -# and leave everything else alone. -ansible_ifcfg_whitelist: ['eth0'] +# the regular interfaces (which on this system is eth0 and eth1) for us, +# disabling all but the one we want to use (eth0), and leave everything +# else alone. +ansible_ifcfg_whitelist: ['eth0', 'eth1'] +ansible_ifcfg_disabled: ['eth1'] openqa_workers: 4 # firewall ports for server->worker websockets connections diff --git a/inventory/host_vars/qa09.qa.fedoraproject.org b/inventory/host_vars/qa09.qa.fedoraproject.org index 8a6ac1d5d4..b2c3ee6977 100644 --- a/inventory/host_vars/qa09.qa.fedoraproject.org +++ b/inventory/host_vars/qa09.qa.fedoraproject.org @@ -10,9 +10,11 @@ gw: 10.5.124.254 # openQA tap worker hosts (like this one) do stuff with ifcfg that base # doesn't understand. terrible, terrible stuff. seriously - it doesn't # handle the openvswitch config well. so let's tell it to just configure -# the actual connected interface (which on this system is eth0) for us -# and leave everything else alone. -ansible_ifcfg_whitelist: ['eth0'] +# the regular interfaces (which on this system is eth0 and eth1) for us, +# disabling all but the one we want to use (eth0), and leave everything +# else alone. +ansible_ifcfg_whitelist: ['eth0', 'eth1'] +ansible_ifcfg_disabled: ['eth1'] # this is a powerful machine, can handle more openQA workers openqa_workers: 10 diff --git a/inventory/host_vars/qa14.qa.fedoraproject.org b/inventory/host_vars/qa14.qa.fedoraproject.org index c0c52fe5d0..8307a76116 100644 --- a/inventory/host_vars/qa14.qa.fedoraproject.org +++ b/inventory/host_vars/qa14.qa.fedoraproject.org @@ -10,9 +10,11 @@ gw: 10.5.131.254 # openQA tap worker hosts (like this one) do stuff with ifcfg that base # doesn't understand. terrible, terrible stuff. seriously - it doesn't # handle the openvswitch config well. so let's tell it to just configure -# the actual connected interface (which on this system is eth0) for us -# and leave everything else alone. -ansible_ifcfg_whitelist: ['eth0'] +# the regular interfaces (which on this system is eth0 and eth1) for us, +# disabling all but the one we want to use (eth0), and leave everything +# else alone. +ansible_ifcfg_whitelist: ['eth0', 'eth1'] +ansible_ifcfg_disabled: ['eth1'] # this is a powerful machine, can handle more openQA workers openqa_workers: 10