Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1847674

Summary: ovn-kube pods should mount /var/run/netns rslave
Product: OpenShift Container Platform Reporter: Peter Hunt <pehunt>
Component: NetworkingAssignee: Peter Hunt <pehunt>
Networking sub component: ovn-kubernetes QA Contact: Anurag saxena <anusaxen>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: rbrattai
Version: 4.5   
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1847675 (view as bug list) Environment:
Last Closed: 2020-07-13 17:44:18 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: 1847675    

Comment 4 Ross Brattain 2020-06-17 18:11:55 UTC
Verified on 4.5.0-0.nightly-2020-06-17-001505

Reproduction notes:
Apparently you can't create netns from an oc debug container because it doesn't have the "mountPropagation: HostToContainer" setting, so it is tricky to create the netns from the host.  Workaround was to ssh into the host from an ssh bastion and create the netns as the real root user.

If the netns is not created without rslave the stat -f type will be "tmpfs".

Also typo  `ip netns new` -> `ip netns add` 


success output:

File: "/run/netns/hi"
ID: 0        Namelen: 255     Type: nsfs
Block size: 4096       Fundamental block size: 4096
Blocks: Total: 0          Free: 0          Available: 0
Inodes: Total: 0          Free: 0

Comment 5 errata-xmlrpc 2020-07-13 17:44:18 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, 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/RHBA-2020:2409