Bug 1938084 - [vsphere] installation failed with some ovn network errors
Summary: [vsphere] installation failed with some ovn network errors
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.7
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.0
Assignee: Mohamed Mahmoud
QA Contact: huirwang
: 1942006 1949351 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2021-03-12 06:21 UTC by jima
Modified: 2022-04-19 19:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-03-27 14:19:49 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 2468 0 None open Bug 1938084: configure-ovs.sh:incorrect setting for cloned-mac-address field" 2021-03-19 15:22:18 UTC

Description jima 2021-03-12 06:21:03 UTC
Description of problem:
Deploy upi-on-vsphere cluster with ovn network enabled, installation is failed at the step of waiting for bootstrap completed.

Checked on master node, found that service ovs-configuration was started failed, and br-ex link is not up.

Attached gather log for details.

Version-Release number of selected component (if applicable):

How reproducible:
Always on upi-on-vsphere, didn't find on ipi-on-vsphere

Steps to Reproduce:
1. Deploy upi-on-vsphere + ovn network enabled
2. Installation is failed

Actual results:
Fail to deploy cluster

Expected results:
Cluster is deployed successfully

Additional info:

Comment 8 Thomas Haller 2021-03-20 09:25:11 UTC
> it seems we are missing a plugin
> sh-4.4# cat /etc/NetworkManager/NetworkManager.conf 

NetworkManager ships an empty configuration file (or better: with only comments). This is intended.

> In /etc/NetworkManager/NetworkManager.conf 
> [main]
> #plugins=ifcfg-rh
> [...]
> based on the above I think we have to un comment the plugins line and restart NetworkManager

The default on rhel-8 is already "plugins=ifcfg-rh" (which is the same as "plugins=ifcfg-rh,keyile") (while on Fedora 33+ it is "plugins=keyfile,ifcfg-rh").

The setting in NetworkManager.conf is commented out to show what the default is. Uncommenting it, has little effect.

Except, if would have an effect if you had

  > [main]
  > plugins=something

then having 

  > [main]
  > plugins=ifcfg

would make a difference.

Run `sudo NetworkManager --print-config` to see the configuration.

Comment 14 Mohamed Mahmoud 2021-03-24 17:04:19 UTC
This fix updated the configfile for you 
and it was merged to 4.7

Comment 15 Tim Rozet 2021-03-24 17:55:46 UTC
The above fix was merged a few days ago into 4.7: https://github.com/openshift/machine-config-operator/pull/2426

So it makes sense it suddenly started working for you. But you probably need the cloned-mac-address fix as well.

Comment 17 Tim Rozet 2021-03-25 16:44:37 UTC
*** Bug 1942006 has been marked as a duplicate of this bug. ***

Comment 19 Mohamed Mahmoud 2021-04-20 19:14:16 UTC
*** Bug 1949351 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.