commit b3e14931d6aac6ee5776ce1e6974c75a5a6b1823
Author: Stephen Finucane <email address hidden>
Date: Wed Jun 5 16:39:45 2019 +0100
Unplug VIFs as part of cleanup of networks
If an instance fails to build, which is possible for a variety of
reasons, we may end up in a situation where we have remnants of a
plugged VIF (typically files) left on the host. This is because we
cleanup from the neutron perspective but don't attempt to unplug the
VIF, a call which may have many side-effects depending on the VIF
driver. Resolve this by always attempting to unplug VIFs as part of the
network cleanup.
A now invalid note is also removed and a unit test corrected.
Reviewed: https:/ /review. opendev. org/663382 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b3e14931d6a ac6ee5776ce1e69 74c75a5a6b1823
Committed: https:/
Submitter: Zuul
Branch: master
commit b3e14931d6aac6e e5776ce1e6974c7 5a5a6b1823
Author: Stephen Finucane <email address hidden>
Date: Wed Jun 5 16:39:45 2019 +0100
Unplug VIFs as part of cleanup of networks
If an instance fails to build, which is possible for a variety of
reasons, we may end up in a situation where we have remnants of a
plugged VIF (typically files) left on the host. This is because we
cleanup from the neutron perspective but don't attempt to unplug the
VIF, a call which may have many side-effects depending on the VIF
driver. Resolve this by always attempting to unplug VIFs as part of the
network cleanup.
A now invalid note is also removed and a unit test corrected.
Closes-Bug: #1831771 b0cbe0d6b76e0e5 b3c0650f9d9
Related-Bug: #1830081
Signed-off-by: Stephen Finucane <email address hidden>
Change-Id: Ibdbde4ed460a99