From 06f405dcdf1250e958c4fdb65337bd0fd3670368 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 19 Dec 2023 23:52:48 +0100 Subject: [PATCH] Use dummy1 as bridge port instead of eth1 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 when following the automated setup instructions. Switch to dummy1 to ensure a dummy port is created. Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/904044 Change-Id: I64b6180194fd94c691e5ca75b815b6cb3f1d7d3c --- doc/source/contributor/automated.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/contributor/automated.rst b/doc/source/contributor/automated.rst index 27d1efbaf..8db00d530 100644 --- a/doc/source/contributor/automated.rst +++ b/doc/source/contributor/automated.rst @@ -76,8 +76,8 @@ your environment for use with Vagrant and bring up a Vagrant VM. If not using Vagrant, the default development configuration expects the presence of a bridge interface on the OpenStack controller host to carry control plane traffic. The bridge should be named ``breth1`` with a single -port ``eth1``, and an IP address of ``192.168.33.3/24``. This can be modified -by editing +port ``dummy1``, and an IP address of ``192.168.33.3/24``. This can be +modified by editing ``config/src/kayobe-config/etc/kayobe/inventory/group_vars/controllers/network-interfaces``. This can be added using the following commands:: @@ -85,9 +85,9 @@ This can be added using the following commands:: sudo ip l add breth1 type bridge sudo ip l set breth1 up sudo ip a add 192.168.33.3/24 dev breth1 - sudo ip l add eth1 type dummy - sudo ip l set eth1 up - sudo ip l set eth1 master breth1 + sudo ip l add dummy1 type dummy + sudo ip l set dummy1 up + sudo ip l set dummy1 master breth1 Configuration ------------- @@ -254,9 +254,9 @@ Alternatively, this can be added using the following commands:: sudo ip l add breth1 type bridge sudo ip l set breth1 up sudo ip a add 192.168.33.5/24 brd 192.168.33.255 dev breth1 - sudo ip l add eth1 type dummy - sudo ip l set eth1 up - sudo ip l set eth1 master breth1 + sudo ip l add dummy1 type dummy + sudo ip l set dummy1 up + sudo ip l set dummy1 master breth1 Usage -----