nova/nova/tests/unit/virt/xenapi
Matt Riedemann ffe092b112 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: I9428be0e6e5b640fdda00410817925001361fd2c
Closes-Bug: #1759979
(cherry picked from commit 5a42701f89)
2018-04-26 11:18:20 +00:00
..
image Don't fix protocol-less glance api_servers anymore 2017-10-10 13:03:26 +00:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
stubs.py Deprecate xenserver.vif_driver config option and change default 2017-02-16 12:15:12 -05:00
test_agent.py XenAPI: use os-xenapi 0.2.0 in nova 2017-06-06 22:01:24 -07:00
test_driver.py XenAPI: create vGPU for instance 2017-12-18 08:09:20 -08:00
test_network_utils.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_vgpu.py XenAPI: create vGPU for instance 2017-12-18 08:09:20 -08:00
test_vif.py XenAPI: Don't use nicira-iface-id for XenServer VIF 2017-12-06 15:48:12 +00:00
test_vm_utils.py Move remaining uses of parted to privsep. 2018-01-24 22:26:36 +00:00
test_vmops.py xenapi: handle InstanceNotFound in detach_interface() 2018-04-26 11:18:20 +00:00
test_volume_utils.py [3/3]Replace six.iteritems() with .items() 2017-02-09 23:09:38 +08:00
test_volumeops.py refactor: move down ``dev_number`` in xenapi 2016-12-05 13:19:23 -06:00
test_xenapi.py XenAPI: Unit tests must mock os_xenapi calls 2017-12-28 23:11:47 +00:00
vm_rrd.xml move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00