Skip to content

Commit baf5c9f

Browse files
committed
Use dummy1 as bridge port instead of eth1
With NetworkManager, the MichaelRigart.interfaces role only creates an interface with the dummy type if it is called dummy*, otherwise it is created as ethernet. The default dev configuration was using eth1 for the bridge port, which was causing issues on Rocky Linux 9, for example when following the automated setup [1]. Switch to dummy1 to ensure a dummy port is created. [1] https://docs.openstack.org/kayobe/latest/contributor/automated.html Change-Id: Ib61a62e126c66d4133d8e80dff5643ebc6966bd1
1 parent 9ea61b6 commit baf5c9f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

etc/kayobe/inventory/group_vars/controllers/network-interfaces

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
# Controller interface on all-in-one network.
66
aio_interface: breth1
7-
# Use eth1 if it exists, otherwise the bridge will have no ports.
8-
aio_bridge_ports: "{{ ['eth1'] if 'ansible_eth1' in hostvars[inventory_hostname] else [] }}"
7+
# Use dummy1 if it exists, otherwise the bridge will have no ports.
8+
aio_bridge_ports: "{{ ['dummy1'] if 'ansible_dummy1' in hostvars[inventory_hostname] else [] }}"
99

1010
###############################################################################
1111
# Dummy variable to allow Ansible to accept this file.

etc/kayobe/inventory/group_vars/seed/network-interfaces

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
# Seed interface on all-in-one network.
66
aio_interface: breth1
7-
# Use eth1 if it exists, otherwise the bridge will have no ports.
8-
aio_bridge_ports: "{{ ['eth1'] if 'ansible_eth1' in hostvars[inventory_hostname] else [] }}"
7+
# Use dummy1 if it exists, otherwise the bridge will have no ports.
8+
aio_bridge_ports: "{{ ['dummy1'] if 'ansible_dummy1' in hostvars[inventory_hostname] else [] }}"
99

1010
###############################################################################
1111
# Dummy variable to allow Ansible to accept this file.

0 commit comments

Comments
 (0)