Comment 14 for bug 1682835

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/465591
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=22e7dcb5396b503636c0a2f4ba14f100fd2850d1
Submitter: Jenkins
Branch: stable/mitaka

commit 22e7dcb5396b503636c0a2f4ba14f100fd2850d1
Author: Sergey Vasilenko <email address hidden>
Date: Wed May 17 17:02:03 2017 +0300

    Add more strict checking for veth pair into OVS bridge.

    Some time VETH pair may be self-disassempled or broken by 3d party action,
    but OVS doesn't know about it and does not remove port with broken interface.
    Such ports we can detect by 'ifindex' property. For really existing interfaces
    'ifindex' property should be equal to real ifindex. For broken interfaces
    'ifindex' mabe have zero or empty value.

    This patchset add checking for it.

    Also:
     * improove logging
     * monitor() function was refactored, because previous logic had no full
       coverage of failure cases.
     * set sysctl -w net.ipv4.ip_nonlocal_bind=1 into network namespace while creating

    Change-Id: I05062f84895e020b10a94ac09f8573598434b0e6
    Closes-Bug: #1682835