xenapi: handle InstanceNotFound in detach_interface()
CI tests frequently teardown by rolling back interface
attachments and then deleting the server, both of which
are asynchronous. If we're trying to detach an interface
on a guest that is gone, we don't need to log a traceback
exception in the logs, just let the InstanceNotFound
raise up to the ComputeManager which will handle the
error and log it appropriately.
Reviewed: https:/ /review. openstack. org/562838 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5a42701f89a 5139acdc38f8572 b1083ba528264c
Committed: https:/
Submitter: Zuul
Branch: master
commit 5a42701f89a5139 acdc38f8572b108 3ba528264c
Author: Matt Riedemann <email address hidden>
Date: Thu Apr 19 17:42:23 2018 -0400
xenapi: handle InstanceNotFound in detach_interface()
CI tests frequently teardown by rolling back interface
attachments and then deleting the server, both of which
are asynchronous. If we're trying to detach an interface
on a guest that is gone, we don't need to log a traceback
exception in the logs, just let the InstanceNotFound
raise up to the ComputeManager which will handle the
error and log it appropriately.
Change-Id: I9428be0e6e5b64 0fdda0041081792 5001361fd2c
Closes-Bug: #1759979