stormshift / support

This repo should serve as a central source for reporting issues with stormshift
GNU General Public License v3.0
3 stars 0 forks source link

COE Lab 10g migration / update ovirtmgmt bridhe configuration #74

Closed rbo closed 2 years ago

rbo commented 2 years ago

Everything about the COE Lab 10g migration last days. /cc @DanielFroehlich

rbo commented 2 years ago

Adjust storm6

Cable adjusted:

image

image image

nmcli con add type bridge-slave ifname enp132s0f0 master  ovirtmgmt

image

Still have to remove eno1 as bridge master

[root@storm6 ~]# nmcli con
NAME                     UUID                                  TYPE      DEVICE
ovirtmgmt                19fd224d-4b39-4d86-9d61-149a0126401c  bridge    ovirtmgmt
bridge-slave-enp132s0f0  2bbc69f2-4f47-4d43-96a0-45a7f2d7abc3  ethernet  enp132s0f0
eno1                     ee854e24-41a7-4ca1-a444-6069e0a2f476  ethernet  eno1
enp132s0f1               602e88f4-5db6-4f36-ae5c-8150ba783a81  ethernet  enp132s0f1
eno2                     d03e299b-c16e-4050-bc89-352904bf4f47  ethernet  --
eno3                     8d52b2e5-0a16-40e1-9c4a-c1eaa442230f  ethernet  --
eno4                     75199749-cffd-42c0-b103-f987ebf9b0d4  ethernet  --
enp132s0f0               e0bdbfd5-c762-41ec-85ad-50623d0c9e8b  ethernet  --
[root@storm6 ~]# nmcli con down eno1
Connection 'eno1' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/11)
[root@storm6 ~]# nmcli -f GENERAL.AUTOCONNECT device  show eno1
GENERAL.AUTOCONNECT:                    yes
[root@storm6 ~]# nmcli -f GENERAL.AUTOCONNECT device  show enp132s0f1
GENERAL.AUTOCONNECT:                    yes
[root@storm6 ~]# nmcli -f GENERAL.AUTOCONNECT device  show ovirtmgmt
GENERAL.AUTOCONNECT:                    yes
[root@storm6 ~]# nmcli device set eno1 autoconnect no
[root@storm6 ~]# nmcli -f BRIDGE.SLAVES device show ovirtmgmt
BRIDGE.SLAVES:                          enp132s0f0
[root@storm6 ~]#
rbo commented 2 years ago

Let's reboot storm6 to double-check what's happened after the reboot.

rbo commented 2 years ago

Meanwhile a small power outage: https://github.com/stormshift/support/issues/75

rbo commented 2 years ago

Mh, configuration lost.. Strange...

rbo commented 2 years ago

image

It's configured by old fession cfg files...

rbo commented 2 years ago

Adjust condfiguration, let's try:

image

rbo commented 2 years ago

Finally, updated /var/lib/vdsm/persistence/netconf/nets/ovirtmgmt

[root@storm6 ~]# cat /var/lib/vdsm/persistence/netconf/nets/ovirtmgmt
{
    "netmask": "255.255.240.0",
    "ipv6autoconf": true,
    "nic": "enp132s0f0",                                       <==== Changed from eno1 to enp132s0f0
    "bridged": true,
    "ipaddr": "10.32.105.6",
    "defaultRoute": true,
    "dhcpv6": true,
    "gateway": "10.32.111.254",
    "mtu": 1500,
    "switch": "legacy",
    "stp": false,
    "bootproto": "none",
    "nameservers": [
        "10.32.96.1"
    ]
}
DanielFroehlich commented 2 years ago

RHEV config adjusted accordingly. Closing issue