[rdo-users] Packstack, Centos 8 and NetworkManager

Bernd Bausch berndbausch at gmail.com
Sun Jun 7 02:08:09 UTC 2020


To install Ussuri, Packstack documentation[1] assumes Centos 8 or RHEL 
8. However, it still wants me to disable NetworkManager. When I do that, 
the Packstack loses all network configuration when rebooting, since 
Centos 8 relies on NetworkManager to manage all aspects of networking.

Even after re-enabling NetworkManager and installing the NM OVS plugin, 
br-ex remains down. Admittedly, I am quite clueless regarding the 
management of OVS, with or without NetworkManager. Here are some of the 
things I did (I also followed instructions for connecting Packstack to 
the existing network[2]):

$ *cat /etc/sysconfig/network-scripts/ifcfg-br-ex*
NAME=br-ex
DEVICE=br-ex
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=172.24.4.1
PREFIX=24
ONBOOT=yes
$ *sudo nmcli d set br-ex managed yes*
$ *sudo ip l set br-ex up*
$ *nmcli d*
DEVICE      TYPE         STATE         CONNECTION
ens3        ethernet     connected     ens3
br-ex       openvswitch  disconnected  --
$ *sudo nmcli d connect br-ex*
Error: Failed to add/activate new connection: Device class 
NMDeviceOvsInterface had no complete_connection method
$ *sudo journalctl -u NetworkManager | grep br-ex*
Jun 07 10:51:45 ...: <info> [1591494705.5163] manager: (br-ex): new Open 
vSwitch Interface device (/org/freedesktop/NetworkManager/Devices/2)
Jun 07 10:51:45 ...: <info>  [1591494705.5578] device (br-ex): state 
change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 
'external')
Jun 07 10:51:45 ...: <info>  [1591494705.5598] device (br-ex): carrier: 
link connected
Jun 07 10:51:45 ...: <info>  [1591494705.9112] manager: (br-ex): new 
Open vSwitch Port device (/org/freedesktop/NetworkManager/Devices/6)
Jun 07 10:51:45 ...: <info>  [1591494705.9686] manager: (br-ex): new 
Open vSwitch Bridge device (/org/freedesktop/NetworkManager/Devices/11)
Jun 07 10:51:46 ...: <info>  [1591494706.0306] device (br-ex): state 
change: unavailable -> disconnected (reason 'none', sys-iface-state: 
'managed')

Any guidance?

[1] https://www.rdoproject.org/install/packstack/
[2] 
https://www.rdoproject.org/networking/neutron-with-existing-external-network


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20200607/74f46189/attachment.html>


More information about the users mailing list