From 5623b9fc738e5e11fe65b684e50cc59b224fd8f4 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 16 May 2023 17:21:27 -0700 Subject: [PATCH] openqa-p09-worker01: adjust network iface names We're using ifnames on this host right now (I don't recall why or when that changed) so all the network setup stuff has the wrong interface names, this is breaking tap tests. Signed-off-by: Adam Williamson --- ...openqa-p09-worker01.iad2.fedoraproject.org | 33 ++++++++----------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/inventory/host_vars/openqa-p09-worker01.iad2.fedoraproject.org b/inventory/host_vars/openqa-p09-worker01.iad2.fedoraproject.org index adac94e982..39d7772bb1 100644 --- a/inventory/host_vars/openqa-p09-worker01.iad2.fedoraproject.org +++ b/inventory/host_vars/openqa-p09-worker01.iad2.fedoraproject.org @@ -4,15 +4,13 @@ dns1: 10.3.163.33 dns2: 10.3.163.34 dns_search1: "iad2.fedoraproject.org" dns_search2: "fedoraproject.org" -eth0_ipv4: 10.3.174.42 -eth0_ipv4_gw: 10.3.174.254 -eth0_mac: "{{ mac1 }}" -eth1_mac: "{{ mac2 }}" -eth2_mac: "{{ mac3 }}" +enp1s0f0_ipv4: 10.3.174.42 +enp1s0f0_ipv4_gw: 10.3.174.254 +enp1s0f0_mac: "{{ mac1 }}" +enp1s0f1_mac: "{{ mac2 }}" freezes: false -# eth0 is default network -# eth1 is disabled/nothing -# eth2 is disabled/nothing +# enp1s0f0 is default network +# enp1s0f1 is disabled/nothing # NOTE network configuration beyond the scope of linux-system-roles on # this host is performed by the openqa/worker role @@ -24,7 +22,7 @@ network_connections: - autoconnect: yes ip: address: - - "{{ eth0_ipv4 }}/{{ eth0_ipv4_nm }}" + - "{{ enp1s0f0_ipv4 }}/{{ enp1s0f0_ipv4_nm }}" dhcp4: no dns: - "{{ dns1 }}" @@ -32,26 +30,21 @@ network_connections: dns_search: - "{{ dns_search1 }}" - "{{ dns_search2 }}" - gateway4: "{{ eth0_ipv4_gw }}" - mac: "{{ eth0_mac }}" - name: eth0 + gateway4: "{{ enp1s0f0_ipv4_gw }}" + mac: "{{ enp1s0f0_mac }}" + name: enp1s0f0 state: up type: ethernet - autoconnect: no - mac: "{{ eth1_mac }}" - name: eth1 - state: down - type: ethernet - - autoconnect: no - mac: "{{ eth2_mac }}" - name: eth2 + mac: "{{ enp1s0f1_mac }}" + name: enp1s0f1 state: down type: ethernet nrpe_procs_crit: 300 nrpe_procs_warn: 250 # has an HW RNG, so let's have rngd openqa_rngd: true -openqa_tap_iface: eth0 +openqa_tap_iface: enp1s0f0 # this is a powerful machine, can handle more openQA workers openqa_workers: 15 sudoers: "{{ private }}/files/sudo/qavirt-sudoers"