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/574370 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e3563452617 37162aab90bf733 8d931d64ae524e
Committed: https:/
Submitter: Zuul
Branch: master
commit e35634526173716 2aab90bf7338d93 1d64ae524e
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
Change-Id: I0d2bd9b9ff0aa5
Signed-off-by: Kailun Qin <email address hidden>