nova/nova/tests/unit
Stephen Finucane 160ed6ff65 Add missing exception
Change Idd49b0c70caedfcd42420ffa2ac926a6087d406e added support for
discovery of PMEM devices by the libvirt driver. Some error handling
code in this was expected to raise a 'GetPMEMNamespacesFailed'
exception, however, a typo meant the exception was actually called
'GetPMEMNamespaceFailed' (singular). This exception was later removed in
change I6fd027fb51823b8a8a24ed7b864a2191c4e8e8c0 because it had no
references.

Re-introduce the exception, this time with the correct name, and add
some unit tests to prevent us regressing.

Change-Id: I3b597a46314a1b29a952fc0f7a9c4537341e37b8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-Bug: #1904446
2020-11-17 11:38:57 +00:00
..
accelerator Cyborg evacuate support 2020-09-01 08:41:45 +00:00
api Merge "Remove compute service level check for qos ops" 2020-11-15 08:19:55 +00:00
cmd Merge "Remove six.moves" 2020-11-09 16:05:06 +00:00
compute Merge "virt: Remove 'get_per_instance_usage' API" 2020-11-09 18:50:31 +00:00
conductor Remove compute service level check for qos ops 2020-11-09 16:13:51 +01:00
conf Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
console Remove six.moves 2020-11-07 03:25:02 +00:00
db Merge "objects: Remove Agent, AgentList" 2020-11-14 14:42:25 +00:00
fake_loadables
image Merge "rbd: Only log import failures when the RbdDriver is used" 2020-11-09 23:51:46 +00:00
keymgr
network Remove six.moves 2020-11-07 03:25:02 +00:00
notifications scheduler: Request vTPM trait based on flavor or image 2020-07-16 17:54:44 +01:00
objects Merge "objects: Remove Agent, AgentList" 2020-11-14 14:42:25 +00:00
pci Merge "virt: Remove 'get_per_instance_usage' API" 2020-11-09 18:50:31 +00:00
policies Merge "Remove compute service level check for qos ops" 2020-11-15 08:19:55 +00:00
privsep Remove six.moves 2020-11-07 03:25:02 +00:00
scheduler Remove six.moves 2020-11-07 03:25:02 +00:00
servicegroup Handle ServiceNotFound in DbDriver._report_state 2019-12-04 09:50:17 -05:00
ssl_cert
storage Add ability to download Glance images into the libvirt image cache via RBD 2020-08-31 15:14:11 +02:00
virt Add missing exception 2020-11-17 11:38:57 +00:00
volume Merge "Add retry to cinder API calls related to volume detach" 2020-04-20 17:36:33 +00:00
__init__.py
cast_as_call.py
conf_fixture.py Support different vGPU types per pGPU 2020-04-09 17:54:26 +02:00
fake_block_device.py
fake_build_request.py
fake_console_auth_token.py
fake_crypto.py
fake_diagnostics.py
fake_flavor.py
fake_hosts.py
fake_instance.py objects: Update keypairs when saving an instance 2020-07-22 12:29:19 +00:00
fake_ldap.py Remove six.moves 2020-11-07 03:25:02 +00:00
fake_network.py nova-net: Kill it 2020-01-14 21:25:56 +00:00
fake_network_cache_model.py Use UUID as vif and network_id in vif tests 2020-09-07 10:31:52 +02:00
fake_notifier.py
fake_pci_device_pools.py
fake_policy.py api: Remove 'os-agents' API 2020-09-11 14:10:32 +01:00
fake_processutils.py
fake_request_spec.py objects: Introduce 'pcpuset' field for InstanceNUMACell 2020-07-14 00:38:34 +08:00
fake_requests.py
fake_server_actions.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
fake_volume.py
image_fixtures.py
matchers.py Remove six.moves 2020-11-07 03:25:02 +00:00
policy_fixture.py [Trivial] Replace ref of policy.json to policy.yaml 2020-09-09 16:46:43 +00:00
test_api_validation.py Remove six.byte2int/int2byte 2020-11-07 03:25:40 +00:00
test_availability_zones.py trivial: Fetch 'Service' objects once when building AZs 2020-02-05 21:26:23 +00:00
test_baserpc.py
test_block_device.py utils: Move 'get_bdm_image_metadata' to nova.block_device 2020-07-08 11:56:01 +01:00
test_cache.py
test_cinder.py
test_conf.py test cleanup: Make base TestCase subclass oslotest 2019-11-22 22:38:22 +00:00
test_configdrive2.py
test_context.py Revert "Log CellTimeout traceback in scatter_gather_cells" 2019-10-22 17:12:28 -04:00
test_crypto.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_exception.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
test_fake_notifier.py
test_fixtures.py Prevent starting services with older than N-1 computes 2020-11-04 14:05:52 +01:00
test_flavors.py
test_hacking.py Merge "Add a hacking rule for assert_has_calls" 2020-10-14 14:31:15 +00:00
test_identity.py
test_instance_types_extra_specs.py
test_json_ref.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_loadables.py
test_matchers.py
test_metadata.py Use cell targeted context to query BDMs for metadata 2020-10-12 08:25:24 +00:00
test_notifications.py nova-net: Remove dependency on nova-net from fake cache 2020-01-08 13:54:12 +00:00
test_notifier.py
test_policy.py api: Remove 'os-agents' API 2020-09-11 14:10:32 +01:00
test_profiler.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_quota.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_rpc.py
test_safeutils.py
test_service.py Prevent starting services with older than N-1 computes 2020-11-04 14:05:52 +01:00
test_service_auth.py
test_test.py Handle oslo.messaging ping endpoint 2020-09-03 17:01:19 -05:00
test_test_utils.py Remove six.moves 2020-11-07 03:25:02 +00:00
test_utils.py Improve error handling during service level check 2020-11-10 17:39:50 +01:00
test_versions.py
test_weights.py
test_wsgi.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
utils.py Remove six.moves 2020-11-07 03:25:02 +00:00