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.
Reviewed: https:/ /review. openstack. org/627540 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a19c38a6ab1 3cdf2509a1f9f9d 39c7f0a70ba121
Committed: https:/
Submitter: Zuul
Branch: master
commit a19c38a6ab13cdf 2509a1f9f9d39c7 f0a70ba121
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
Closes-Bug: #1807340