DHCP/L3 agent may change status of ports it doesn't own

Bug #1525495 reported by Eugene Nikanorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
Undecided
Unassigned
6.1.x
Fix Released
High
Eugene Nikanorov
7.0.x
Invalid
Undecided
Unassigned
8.0.x
Invalid
Undecided
Unassigned

Bug Description

L3 or DHCP agent may change port's status to BUILD although the port itself is not owned by the agent.
This causes various issues.

Relevant upstream bugs:
https://bugs.launchpad.net/neutron/+bug/1416933
https://bugs.launchpad.net/neutron/+bug/1438040
https://bugs.launchpad.net/neutron/+bug/1439857

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/neutron (openstack-ci/fuel-6.1/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.1/2014.2
Change author: mathieu-rohon <email address hidden>
Review: https://review.fuel-infra.org/14637

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/neutron (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/14637
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: 2a74b3753833e9897adbfe33118d700d6ae802e7
Author: mathieu-rohon <email address hidden>
Date: Wed Jan 27 11:36:29 2016

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.

(cherry picked from commit 9b53b82ce7dad551ebc0f02ff667d5345fb7e139)

Closes-Bug: #1525495

Change-Id: I9b3673f453abbafaaa4f78542fcfebe8dc93f2bb

Revision history for this message
Ekaterina Shutova (eshutova) wrote :

Verified on 6.1 mu-5.

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.