Bug 1771458

Summary: Create namespace recursively bind-mounting [osp-14]
Product: Red Hat OpenStack Reporter: Alan Pevec <apevec>
Component: python-pyroute2Assignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: bshephar, ccamposr, ekuris, jschluet, ralonsoh, slinaber, tquinlan
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pyroute2-0.5.2-4.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1760041 Environment:
Last Closed: 2019-12-20 16:49:16 UTC Type: ---
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: 1771461    
Bug Blocks: 1760041    

Description Alan Pevec 2019-11-12 12:01:30 UTC
+++ This bug was initially created as a clone of Bug #1760041 +++

Description of problem:

When ip netns {add|delete} is first run, it bind-mounts /var/run/netns on top of itself, then marks it as shared. However, if there are already bind-mounts in the directory from other tools, these would not be propagated. Fix this by recursively bind-mounting.

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 11 errata-xmlrpc 2019-12-20 16:49:16 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-2019:4338