When DVR scheduling in live-migration, the current implementation in DVR
serviceable ports checking on host performs a "contains" operation of
sub-string match which checks the wrong port binding profile for host
(i.e. compute-1 will also match compute-10).
Add quotes to force an exact match of the host name in the port binding
profile dictionary to address this issue.
Reviewed: https:/ /review. openstack. org/575857 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=663a7926260 061dbc09e924b37 2d278fbe17b0a9
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 663a7926260061d bc09e924b372d27 8fbe17b0a9
Author: Kailun Qin <email address hidden>
Date: Tue Jun 12 10:22:32 2018 +0800
Fix DVR scheduling checks wrong profile for host
When DVR scheduling in live-migration, the current implementation in DVR
serviceable ports checking on host performs a "contains" operation of
sub-string match which checks the wrong port binding profile for host
(i.e. compute-1 will also match compute-10).
Add quotes to force an exact match of the host name in the port binding
profile dictionary to address this issue.
Closes-Bug: #1776255 8a7cce1b8da2a5f 21ac6b38c57 2aab90bf7338d93 1d64ae524e)
Change-Id: I0d2bd9b9ff0aa5
Signed-off-by: Kailun Qin <email address hidden>
(cherry picked from commit e35634526173716