Bug 1847674 - ovn-kube pods should mount /var/run/netns rslave
Summary: ovn-kube pods should mount /var/run/netns rslave
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.5.0
Assignee: Peter Hunt
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On:
Blocks: 1847675
TreeView+ depends on / blocked
 
Reported: 2020-06-16 19:04 UTC by Peter Hunt
Modified: 2020-07-13 17:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1847675 (view as bug list)
Environment:
Last Closed: 2020-07-13 17:44:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-network-operator pull 579 0 None closed Bug 1847674: mount /var/run/netns rslave in ovnkube 2020-09-21 01:26:59 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:44:40 UTC

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


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