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.
Reviewed: https:/ /review. openstack. org/175385 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b339391bcb2 23c0f03d30f36de a47d13adb12c71
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit b339391bcb223c0 f03d30f36dea47d 13adb12c71
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 details( ) is sent by a host that doesn't own
state when get_device_
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: I9b3673f453abba faaa4f78542fcfe be8dc93f2bb 1ebc0f02ff667d5 345fb7e139)
(cherry picked from commit 9b53b82ce7dad55