namespace may be stable

Bug #1703077 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Jeffrey Zhang
Ocata
Fix Released
Undecided
Jeffrey Zhang

Bug Description

In some cause, namespace become stale.

$ ip netns
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
qdhcp-10c154a5-b030-42f1-8f45-6ade2aa04722

$ ls -alh /run/netns
---------- 1 root root 0 Jul 7 23:58 /run/netns/qdhcp-10c154a5-b030-42f1-8f45-6ade2aa04722

The root cause may be that

neutron-metadata-agent still handle /run/netn folder. So use /run folder for all container when need namespace.

Changed in kolla-ansible:
milestone: none → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/481797
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=dba360f5a84c136e3bcc3fb0edf2520c7e0df4e9
Submitter: Jenkins
Branch: master

commit dba360f5a84c136e3bcc3fb0edf2520c7e0df4e9
Author: Jeffrey Zhang <email address hidden>
Date: Sat Jul 8 14:07:59 2017 +0800

    Use /run for all containers when need access namespace

    If use /run/netns, it may cause namepace stale and unable to remove. The
    root cause may be that docker engine still unrelease the namespace
    folder.

    Change-Id: If120d54c266878990c952b60043b596b0a0788ab
    Closes-Bug: #1703077

Changed in kolla-ansible:
status: New → Fix Released
Changed in kolla-ansible:
assignee: nobody → Jeffrey Zhang (jeffrey4l)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/482764
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=4d3d50c78893c2c49f4056302abfd7b5a44cca4e
Submitter: Jenkins
Branch: stable/ocata

commit 4d3d50c78893c2c49f4056302abfd7b5a44cca4e
Author: Jeffrey Zhang <email address hidden>
Date: Sat Jul 8 14:07:59 2017 +0800

    Use /run for all containers when need access namespace

    If use /run/netns, it may cause namepace stale and unable to remove. The
    root cause may be that docker engine still unrelease the namespace
    folder.

    Change-Id: If120d54c266878990c952b60043b596b0a0788ab
    Closes-Bug: #1703077
    (cherry picked from commit dba360f5a84c136e3bcc3fb0edf2520c7e0df4e9)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b3

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.3

This issue was fixed in the openstack/kolla-ansible 4.0.3 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.