openqa-a64-worker01: try using ifnames interface names

I cannot get NM to stop bringing eth0 up, so let's try using
ifnames names for the interfaces instead.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-06-02 11:58:26 -07:00
parent a0d3e1f2c0
commit 629f56f464

View file

@ -4,16 +4,16 @@ dns1: 10.3.163.33
dns2: 10.3.163.34 dns2: 10.3.163.34
dns_search1: "iad2.fedoraproject.org" dns_search1: "iad2.fedoraproject.org"
dns_search2: "fedoraproject.org" dns_search2: "fedoraproject.org"
eth0_mac: "{{ mac1 }}" enP2p1s0_mac: "{{ mac1 }}"
eth1_ipv4: 10.3.174.61 enp1s0_ipv4: 10.3.174.61
eth1_ipv4_gw: 10.3.174.254 enp1s0_ipv4_gw: 10.3.174.254
eth1_ipv4_nm: 24 enp1s0_ipv4_nm: 24
eth1_mac: "{{ mac2 }}" enp1s0_mac: "{{ mac2 }}"
eth2_mac: "{{ mac3 }}" enp1s0d1_mac: "{{ mac3 }}"
freezes: false freezes: false
# eth0 is disabled/nothing # enP2p1s0 is disabled/nothing
# eth1 is active network # enp1s0 is active network
# eth2 is disabled/nothing # enp1s0d1 is disabled/nothing
# NOTE network configuration beyond the scope of linux-system-roles on # NOTE network configuration beyond the scope of linux-system-roles on
# this host is performed by the openqa/worker role # this host is performed by the openqa/worker role
@ -23,14 +23,14 @@ mac2: 50:6b:4b:7f:96:30
mac3: 50:6b:4b:7f:96:31 mac3: 50:6b:4b:7f:96:31
network_connections: network_connections:
- autoconnect: no - autoconnect: no
mac: "{{ eth0_mac }}" mac: "{{ enP2p1s0_mac }}"
name: eth0 name: enP2p1s0
state: down state: down
type: ethernet type: ethernet
- autoconnect: yes - autoconnect: yes
ip: ip:
address: address:
- "{{ eth1_ipv4 }}/{{ eth1_ipv4_nm }}" - "{{ enp1s0_ipv4 }}/{{ enp1s0_ipv4_nm }}"
dhcp4: no dhcp4: no
dns: dns:
- "{{ dns1 }}" - "{{ dns1 }}"
@ -38,21 +38,21 @@ network_connections:
dns_search: dns_search:
- "{{ dns_search1 }}" - "{{ dns_search1 }}"
- "{{ dns_search2 }}" - "{{ dns_search2 }}"
gateway4: "{{ eth1_ipv4_gw }}" gateway4: "{{ enp1s0_ipv4_gw }}"
mac: "{{ eth1_mac }}" mac: "{{ enp1s0_mac }}"
name: eth1 name: enp1s0
state: up state: up
type: ethernet type: ethernet
- autoconnect: no - autoconnect: no
mac: "{{ eth2_mac }}" mac: "{{ enp1s0d1_mac }}"
name: eth2 name: enp1s0d1
state: down state: down
type: ethernet type: ethernet
nrpe_procs_crit: 300 nrpe_procs_crit: 300
nrpe_procs_warn: 250 nrpe_procs_warn: 250
# has an HW RNG, so let's have rngd # has an HW RNG, so let's have rngd
openqa_rngd: true openqa_rngd: true
openqa_tap_iface: eth1 openqa_tap_iface: enp1s0
# this is a powerful machine, can handle more openQA workers # this is a powerful machine, can handle more openQA workers
openqa_workers: 15 openqa_workers: 15
sudoers: "{{ private }}/files/sudo/qavirt-sudoers" sudoers: "{{ private }}/files/sudo/qavirt-sudoers"