nova/nova/tests/unit/objects
Matt Riedemann a81d27beba Store instance action event exc_val fault details
The InstanceActionEvent.pack_action_event_finish method was
not storing the exc_val in a field that was actually part
of the data model so it was never stored ("message" isn't a
column in the instance_actions_events table, "details" is).

This formats and stores the exc_val, if provided, using the
same utility code that is used to record the message for
an instance fault record.

Eventually we can build on this in the os-instance-actions API
by exposing the fault details to the user without needing to
expose the traceback (like the server fault "details" traceback).

Co-Authored-By: Brin Zhang <zhangbailin@inspur.com>

Part of blueprint action-event-fault-details

Change-Id: Ie3e11b38aac251c3f8911ed57dc5e7503aa91301
2020-03-21 06:08:34 +00:00
..
__init__.py
test_agent.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_aggregate.py DB API changes to get non-matching aggregates from metadata 2019-09-12 16:56:32 -05:00
test_bandwidth_usage.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_block_device.py Remove 'bdm_(update_or_create|destroy)_at_top' 2019-04-16 18:26:17 +01:00
test_build_request.py Merge "Fix misuse of nova.objects.base.obj_equal_prims" 2019-08-13 22:08:39 +00:00
test_cell_mapping.py Fix formatting non-templated cell URLs with no config 2018-10-16 16:11:17 -04:00
test_compute_node.py objects: Add 'NUMACell.pcpuset' field 2019-09-18 00:21:10 +01:00
test_console_auth_token.py Reduce scope of 'path' query parameter to noVNC consoles 2019-09-27 13:50:52 +00:00
test_diagnostics.py Added nova objects for intance diagnostics 2017-05-30 00:39:44 +04:00
test_ec2.py ec2: Move ec2utils functions to their callers 2019-09-27 15:27:08 +01:00
test_external_event.py Use EnumField for instance external event name 2015-05-20 22:16:52 +00:00
test_fields.py Switch to using os-resource-classes 2019-02-07 11:11:09 +00:00
test_flavor.py Fix all invalid obj_make_compatible test case 2018-07-27 02:20:46 +00:00
test_host_mapping.py Warn for duplicate host mappings during discover_hosts 2019-06-13 17:18:16 +00:00
test_hv_spec.py objects: Move 'vm_mode' to 'fields.VMMode' 2016-11-25 16:19:44 +00:00
test_image_meta.py Libvirt: add support for vPMU configuration. 2019-08-20 14:41:57 +00:00
test_instance.py Fix instance.hidden migration and querying 2020-02-07 08:54:56 -08:00
test_instance_action.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
test_instance_device_metadata.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_instance_fault.py Remove 'instance_fault_create_at_top' 2019-04-29 17:54:17 +01:00
test_instance_group.py Avoid unnecessary joins in InstanceGroup.get_hosts 2019-05-23 11:14:55 -04:00
test_instance_info_cache.py Remove 'instance_info_cache_update_at_top' 2019-04-29 17:55:41 +01:00
test_instance_mapping.py Add user_id field to InstanceMapping 2019-03-08 19:01:16 -05:00
test_instance_numa.py Add NovaEphemeralObject class for non-persistent objects 2020-01-14 08:13:18 -08:00
test_instance_pci_requests.py [FUP] Follow-up patch for SR-IOV live migration 2019-07-02 13:52:01 -05:00
test_keypair.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_migrate_data.py New objects for NUMA live migration 2019-09-12 17:34:34 -04:00
test_migration.py Join migration_context and flavor in Migration.instance 2019-10-21 13:00:59 -04:00
test_migration_context.py Fix accumulated non-docs nits for cross-cell-resize series 2019-12-23 10:10:57 -05:00
test_monitor_metric.py Fix MonitorMetric obj_make_compatible 2016-09-12 14:10:41 +00:00
test_network_request.py nova-net: Remove final references to nova-network 2020-01-08 13:54:12 +00:00
test_numa.py hardware: Differentiate between shared and dedicated CPUs 2019-09-18 00:21:10 +01:00
test_objects.py Store instance action event exc_val fault details 2020-03-21 06:08:34 +00:00
test_pci_device.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_pci_device_pool.py Return empty PciDevicePoolList obj instead of None 2015-09-11 21:20:01 +02:00
test_quotas.py nova-net: Remove 'networks' quota 2019-11-22 16:49:31 +00:00
test_request_spec.py Use Placement 1.35 (root_required) 2020-01-07 16:46:56 -06:00
test_resource.py libvirt: Enable driver discovering PMEM namespaces 2019-09-13 08:50:35 +00:00
test_security_group.py Fix ovo compatibility code unit tests 2019-01-16 15:51:22 +01:00
test_selection.py Add Selection.availability_zone field 2019-10-02 13:39:24 -04:00
test_service.py Remove service_uuids_online_data_migration 2019-11-08 11:38:48 -05:00
test_tag.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_task_log.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_trusted_certs.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_vcpu_model.py objects: Move 'cpumodel' to 'fields.CPU*' 2016-11-25 16:19:43 +00:00
test_virt_cpu_topology.py
test_virtual_interface.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_volume_usage.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00