Bug 1928473

Summary: NetworkManager overlay FS not being created on None platform
Product: OpenShift Container Platform Reporter: Osher De Paz <odepaz>
Component: Machine Config OperatorAssignee: Brad P. Crochet <brad>
Status: CLOSED ERRATA QA Contact: Micah Abbott <miabbott>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.8CC: alazar, behoward, brad, m.andre, miabbott, rioliu, smilner, yshnaidm
Target Milestone: ---Flags: odepaz: needinfo-
odepaz: needinfo-
Target Release: 4.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:44:28 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:
Bug Depends On:    
Bug Blocks: 1931863    

Description Osher De Paz 2021-02-14 10:43:08 UTC
Description of problem:

On None platform, the overlay FS of nmconnections is not being created.
In oppose to baremetal, you cannot see overlay FS created of /etc/NetworkManager/system-connections-merged:
https://github.com/openshift/machine-config-operator/pull/2017/files


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


How reproducible:
100%

Steps to Reproduce:
1. Use 'None' Platform
2. Assert mountpoints

Actual results:
Overlay FS for network manager not configured and needs to be created manually

Expected results:
Overlay FS created on startup

Additional info:

Comment 1 Osher De Paz 2021-02-14 10:45:14 UTC
cc @alazar @yshnaidm

Comment 2 Ben Howard 2021-02-16 17:46:55 UTC
@tim since you are looking at the other OVS bug, I've taken the liberty to assign this to you.

Comment 8 Micah Abbott 2021-03-17 17:34:17 UTC
Verified wtih 4.8.0-0.nightly-2021-03-17-123640 on AWS


```
$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-03-17-123640   True        False         65s     Cluster version is 4.8.0-0.nightly-2021-03-17-123640

$ oc get nodes
NAME                           STATUS   ROLES    AGE   VERSION
ip-10-0-143-130.ec2.internal   Ready    master   23m   v1.20.0+e1bc274
ip-10-0-152-254.ec2.internal   Ready    worker   14m   v1.20.0+e1bc274
ip-10-0-183-75.ec2.internal    Ready    worker   16m   v1.20.0+e1bc274
ip-10-0-185-199.ec2.internal   Ready    master   22m   v1.20.0+e1bc274
ip-10-0-205-166.ec2.internal   Ready    master   23m   v1.20.0+e1bc274
ip-10-0-231-187.ec2.internal   Ready    worker   16m   v1.20.0+e1bc274

$ oc debug node/ip-10-0-152-254.ec2.internal
Starting pod/ip-10-0-152-254ec2internal-debug ...
To use host binaries, run `chroot /host`
Pod IP: 10.0.152.254
If you don't see a command prompt, try pressing enter.
sh-4.4# chroot /host
sh-4.4# ls -latr /etc/NetworkManager/conf.d/99-keyfiles.conf
-rw-r--r--. 1 root root 61 Mar 17 17:11 /etc/NetworkManager/conf.d/99-keyfiles.conf
sh-4.4# cat /etc/NetworkManager/conf.d/99-keyfiles.conf
[keyfile]
path=/etc/NetworkManager/system-connections-merged
sh-4.4# cat /etc/tmpfiles.d/nm.conf 
D /run/nm-system-connections 0755 root root - -
D /run/nm-system-connections-work 0755 root root - -
d /etc/NetworkManager/system-connections-merged 0755 root root - -
sh-4.4# findmnt | grep NetworkManager
| `-/etc/NetworkManager/system-connections-merged                                                                                                        overlay                                                                                                                                                                                         overlay    rw,relatime,seclabel,lowerdir=/etc/NetworkManager/system-connections,upperdir=/run/nm-system-connections,workdir=/run/nm-system-connections-work
```

Comment 11 errata-xmlrpc 2021-07-27 22:44:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438

Comment 12 Red Hat Bugzilla 2023-09-15 01:01:13 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days