Nova skips detaching of ovs dpdk interfaces
thinking that it's already detached because
get_interface_by_cfg() return no inteface.
This is due to _set_config_VIFVHostUser()
not setting target_dev in configuration while
LibvirtConfigGuestInterface sets target_dev
if tag "target" is found in the interface.
As target_dev is not a valid value for
vhostuser interface, it will not be checked
for vhostuser type.
Change-Id: Iaf185b98c236df47e44cda0732ee0aed1fd6323d
Closes-Bug: #1807340
(cherry picked from commit a19c38a6ab13cdf2509a1f9f9d39c7f0a70ba121)
(cherry picked from commit 1ac56a403876fa109385ef6281c525335a613b34)
(cherry picked from commit 6d38ba1589e58d13113b1a2e3549927c091ee17c)
Reviewed: https:/ /review. opendev. org/702231 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b599bacbcd1 f915acf97126622 54b2f84baab279
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit b599bacbcd1f915 acf9712662254b2 f84baab279
Author: arches <email address hidden>
Date: Thu Dec 27 17:25:48 2018 +0200
Skip checking of target_dev for vhostuser
Nova skips detaching of ovs dpdk interfaces interface_ by_cfg( ) return no inteface. VIFVHostUser( ) igGuestInterfac e sets target_dev
thinking that it's already detached because
get_
This is due to _set_config_
not setting target_dev in configuration while
LibvirtConf
if tag "target" is found in the interface.
As target_dev is not a valid value for
vhostuser interface, it will not be checked
for vhostuser type.
Change-Id: Iaf185b98c236df 47e44cda0732ee0 aed1fd6323d 2509a1f9f9d39c7 f0a70ba121) 09385ef6281c525 335a613b34) 3113b1a2e354992 7c091ee17c)
Closes-Bug: #1807340
(cherry picked from commit a19c38a6ab13cdf
(cherry picked from commit 1ac56a403876fa1
(cherry picked from commit 6d38ba1589e58d1