While libvirt 4.1 started to use DEVICE_MISSING for most of the cases
there is still one[1] using OPERATION_FAILED when the device is missing
during detach. So nova needs to handle that properly.
Revert this when libvirt merges[1] and nova bumps the min version over
to that release.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /796255 /opendev. org/openstack/ nova/commit/ eb67ec24e31d797 49f2fa515fa69d8 61dfb12244
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit eb67ec24e31d797 49f2fa515fa69d8 61dfb12244
Author: Balazs Gibizer <email address hidden>
Date: Mon Jun 14 12:29:18 2021 +0200
Handle OPERATION_FAILED error during detach
While libvirt 4.1 started to use DEVICE_MISSING for most of the cases
there is still one[1] using OPERATION_FAILED when the device is missing
during detach. So nova needs to handle that properly.
Revert this when libvirt merges[1] and nova bumps the min version over
to that release.
[1] https:/ /listman. redhat. com/archives/ libvir- list/2021- June/msg00337. html
Change-Id: Ibc967be291853e 23027d9b8210ece 572adcc80c9
Closes-Bug: #1931716