Comment 28 for bug 1671634

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (stable/pike)

Reviewed: https://review.openstack.org/501856
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c62662f3c34dc1db42f1ef07a73269ac7a8a1734
Submitter: Jenkins
Branch: stable/pike

commit c62662f3c34dc1db42f1ef07a73269ac7a8a1734
Author: Ihar Hrachyshka <email address hidden>
Date: Tue Aug 29 20:10:12 2017 +0000

    fullstack: skip test_mtu_update when DHCP agent is not in rootns

    The test case requires access to devices created by DHCP agent. When the
    agent is deployed with linuxbridge agent, we start it in a host-
    namespace, and then it creates its own qdhcp- namespaces for dhcp ports
    inside the host- namespace.

    This could be solved by calling:
    ip netns exec host-* ip netns exec qdhcp-* ip link show ...
    but ip_lib doesn't support constructing such commands.

    Of course, we could extend ip_lib to support this use case, but
    currently we have larger dragons to fight. We will revisit the skip once
    all agents are moved to namespaces as planned by jlibosva@.

    This patch merely disables the test case if DHCP agent is running in a
    namespace. We may revisit it when and if we feel comfortable making
    significant changes to ip_lib.

    Change-Id: Ieea83bf2959654f98b1dc4d7aa17138d0626ec40
    Related-Bug: #1671634
    (cherry picked from commit 1a5b796b0639593eaee36be5a7b3ac371884d67d)