Comment 8 for bug 1438040

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/kilo)

Reviewed: https://review.openstack.org/175385
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b339391bcb223c0f03d30f36dea47d13adb12c71
Submitter: Jenkins
Branch: stable/kilo

commit b339391bcb223c0f03d30f36dea47d13adb12c71
Author: mathieu-rohon <email address hidden>
Date: Sat Mar 7 13:30:49 2015 +0100

    ML2: Change port status only when it's bound to the host

    Currently, nothing prevents the port status to be changed to BUILD
    state when get_device_details() is sent by a host that doesn't own
    the port.
    In some cases the port might stay in BUILD state.
    This could happen during a live-migration, or for multi-hosted ports
    such as HA ports.
    This commit allows the port status modification only if the port
    is bound to the host that is asking for it.

    Closes-Bug: #1439857
    Closes-Bug: #1438040
    Closes-Bug: #1416933

    Change-Id: I9b3673f453abbafaaa4f78542fcfebe8dc93f2bb
    (cherry picked from commit 9b53b82ce7dad551ebc0f02ff667d5345fb7e139)