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)
Reviewed: https:/ /review. openstack. org/633734 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1ac56a40387 6fa109385ef6281 c525335a613b34
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 1ac56a403876fa1 09385ef6281c525 335a613b34
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)
Closes-Bug: #1807340
(cherry picked from commit a19c38a6ab13cdf