Bug 2103877 - Deployment Error in ovs-configuration configure-ovs.sh script with static IP configuration
Summary: Deployment Error in ovs-configuration configure-ovs.sh script with static IP ...
Keywords:
Status: CLOSED DUPLICATE of bug 2098099
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Jaime Caamaño Ruiz
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-05 07:34 UTC by Brady Johnson
Modified: 2022-07-08 12:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-08 12:28:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
complete ovs-configuration.service systemd service logs (9.13 KB, application/gzip)
2022-07-05 07:34 UTC, Brady Johnson
no flags Details

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 ***


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