Bug 2103877

Summary: Deployment Error in ovs-configuration configure-ovs.sh script with static IP configuration
Product: OpenShift Container Platform Reporter: Brady Johnson <bradyjoh>
Component: NetworkingAssignee: Jaime Caamaño Ruiz <jcaamano>
Networking sub component: ovn-kubernetes QA Contact: Anurag saxena <anusaxen>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: unspecified CC: rravaiol
Version: 4.9   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-08 12:28:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
complete ovs-configuration.service systemd service logs none

Description Brady Johnson 2022-07-05 07:34:55 UTC
Created attachment 1894614 [details]
complete ovs-configuration.service systemd service logs

Description of problem:

I am trying to install an OCP SNO (4.9.38) cluster with the SaaS Assisted Installer (AI) and Im getting an error in the ovs-configuration.service systemd service. During the AI configuration, I set the IP to be a static IP, where it then prompted me for the static subnet and IP, the mac of the physical interface and the DNS which I set to 8.8.8.8. The AI proceeded until it got to step 8/10 (Rebooting).

Here is where the ovs-configuration configure-ovs.sh script fails.
(Complete "journalctl -u ovs-configuration.service attached)

Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: + '[' 0 -eq 0 ']'
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: + echo 'Brought up connection ovs-if-br-ex successfully'
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: Brought up connection ovs-if-br-ex successfully
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: + nmcli c mod ovs-if-br-ex connection.autoconnect yes
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: Error: Failed to modify connection 'ovs-if-br-ex': failed to update connection: error writing to file '/etc/NetworkManager/systemConnectionsMerged/ovs-if-br-ex.nmconnection': failed rename /etc/NetworkManager/systemConnectionsMerged/ovs-if-br-ex.nmconnection.I36XO1 to /etc/NetworkManager/systemConnectionsMerged/ovs-if-br-ex.nmconnection: Permission denied
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: + handle_exit
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: + e=1
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: + '[' 1 -eq 0 ']'
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: + echo 'ERROR: configure-ovs exited with error: 1'
Jul 04 16:54:58 cpe2 configure-ovs.sh[2316]: ERROR: configure-ovs exited with error: 1


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


How reproducible:


Steps to Reproduce:
1. Install OCP SNO 4.9.38 with SaaS Assisted Installer
2. Choose to install with a static IP instead of with DHCP
3. Set the static IP details and start the installation.

Actual results:

The installation fails in step 8/10 (rebooting) in the ovs-configuration.service systemd service.

Expected results:

The installation should complete successfully.

Additional info:

I attached the complete ovs-configuration.service systemd service logs.

Comment 1 Jaime Caamaño Ruiz 2022-07-08 12:28:11 UTC

*** This bug has been marked as a duplicate of bug 2098099 ***