RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1173435 - deleting netns ends in Device or resource busy and blocks further namespace usage
Summary: deleting netns ends in Device or resource busy and blocks further namespace ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: iproute
Version: Icehouse
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: Juno
Assignee: Phil Sutter
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On: 1062685
Blocks: 1051028 1051036 RHEL-OSP_Neutron_HA
TreeView+ depends on / blocked
 
Reported: 2014-12-12 07:17 UTC by Tsuyoshi Nagata
Modified: 2016-05-19 15:57 UTC (History)
15 users (show)

Fixed In Version:
Clone Of: 1062685
Environment:
Last Closed: 2016-05-19 15:57:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Tsuyoshi Nagata 2014-12-12 07:17:10 UTC
+++ This bug was initially created as a clone of Bug #1062685 +++

Description of problem:

   

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


How reproducible:

100%

Steps to Reproduce:
1. ip netns add netns_one
2. ip netns add netns_two
3. ip link add name if_one type veth peer name if_one_peer
4. ip link add name if_two type veth peer name if_two_peer
5. ip link set dev if_one_peer netns netns_one
6.  ip link set dev if_two_peer netns netns_two

7. ip netns exec netns_one bash

# in other terminal:

8. ip netns delete netns_two


Actual results:
> # => Cannot remove /var/run/netns/netns_two: Device or resource busy

Expected results:
Correct removal of the netns_two


Additional info:

Original description here:
http://permalink.gmane.org/gmane.linux.network/240875

Upstream iproute patch:
https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=58a3e8270fe72f8ed92687d3a3132c2a708582dd

--- Additional comment from Miguel Angel Ajo on 2014-02-10 04:31:05 EST ---

Rising priority to high, since it's blocking 2 bugs with high priority.

--- Additional comment from Petr Šabata on 2014-02-10 08:33:41 EST ---

Patch available and seems to work.

--- Additional comment from Miguel Angel Ajo on 2014-02-10 09:57:11 EST ---

I confirm that it also happens if you omit steps 3,4,5,6.

--- Additional comment from Miguel Angel Ajo on 2014-03-24 03:34:40 EDT ---

Please, this is an important bugfix we need for Thu 2014-04-03 , when we dev freeze RHOS 4.0 A4. Without this fix high availability will have severe problems.

--- Additional comment from Ofer Blaut on 2014-04-22 05:21:41 EDT ---

Tested on iproute-2.6.32-130.el6ost.netns.3.x86_64
using steps 1,2,7,8

--- Additional comment from errata-xmlrpc on 2014-05-29 16:00:04 EDT ---

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.

http://rhn.redhat.com/errata/RHBA-2014-0576.html

Comment 1 Tsuyoshi Nagata 2014-12-12 07:22:11 UTC
the iproute-2.6.32-130.el6ost.netns.2 in the OpenStack icehouse repo.
https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/iproute-2.6.32-130.el6ost.netns.2.src.rpm

I need same solution as 130.el6ost.netns.3 .

Comment 6 Chandan Kumar 2016-05-19 15:57:08 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


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