nova/nova/tests/api/openstack/compute/contrib
Matthew Treinish c96cadc5a2 Log id in raise_http_conflict_for_instance_invalid_state()
This commit adds the instance id to the log message generated by
raise_http_conflict_for_instance_invalid_state(). Previously, the
messages just included the action and state failure information, but
when investigating a failure knowing the instance id is useful. While
there are other clues in the logs, like the req-id or other unique info
about the failed request in the logs already, it increase the effort
required to figure out what failed. Directly logging the instance id
that failed increases the utility of these log messages.

Change-Id: I7328ad16f3cb313266011f778c0c8161eded1801
2014-10-07 10:22:14 -04:00
..
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
test_admin_actions.py Log id in raise_http_conflict_for_instance_invalid_state() 2014-10-07 10:22:14 -04:00
test_admin_password.py Use v2.1 URLs instead of v3 ones in API unit tests 2014-08-28 08:05:15 +00:00
test_agents.py Add unit test to os-agent API 2014-09-11 10:13:05 +09:00
test_aggregates.py Making nova.compute.api to return Aggregate Objects 2014-09-22 03:04:45 -04:00
test_attach_interfaces.py Change v3 attach_interface to v2.1 2014-08-25 09:55:29 +08:00
test_availability_zone.py Add API schema for v2.1/v3 availability_zone extension 2014-09-02 21:08:08 +09:00
test_baremetal_nodes.py Proxy nova baremetal commands to Ironic 2014-09-12 09:09:41 -07:00
test_block_device_mapping.py Convert multiple-create v3 plugin to v2.1 2014-09-01 09:58:54 +09:30
test_block_device_mapping_v1.py Convert multiple-create v3 plugin to v2.1 2014-09-01 09:58:54 +09:30
test_cells.py Convert v3 cells API to v2.1 2014-09-01 09:45:56 +09:00
test_certificates.py Convert v3 certificate API to v2.1 2014-08-29 13:55:57 +09:00
test_cloudpipe.py Fix bad typo in cloudpipe.py 2013-10-23 14:23:59 -04:00
test_cloudpipe_update.py Fix error status code for cloudpipe_update 2014-07-22 05:29:13 +00:00
test_config_drive.py Use v2.1 URLs instead of v3 ones in API unit tests 2014-08-28 08:05:15 +00:00
test_console_auth_tokens.py Fix and gate on H305 and H307 2014-07-15 01:13:26 +00:00
test_console_output.py Convert console_output v3 plugin to v2.1 2014-08-28 09:35:40 +09:30
test_consoles.py api: add serial console API calls v2 2014-09-05 09:08:37 +00:00
test_createserverext.py Convert compute/api to use NetworkRequest object and list 2014-08-28 09:17:56 -07:00
test_deferred_delete.py Allow forceDelete to delete running instances 2014-09-01 22:48:35 +08:00
test_disk_config.py Remove vi modelines 2014-02-03 14:19:44 +00:00
test_evacuate.py Changes V3 evacuate extension into v2.1 2014-09-01 21:15:10 +08:00
test_extended_availability_zone.py Convert v3 ExtendedAvailabilityZone api to v2.1 2014-09-02 11:54:09 +09:00
test_extended_evacuate_find_host.py Add APIv2 support to make host optional on evacuate 2014-07-21 10:58:54 -03:00
test_extended_hypervisors.py Convert v3 hypervisor plugin to v2.1 2014-09-02 11:25:00 +09:00
test_extended_ips.py Fix api direct use of instance module objects 2014-06-03 09:05:12 -07:00
test_extended_ips_mac.py Fix api direct use of instance module objects 2014-06-03 09:05:12 -07:00
test_extended_rescue_with_image.py Allow user to specify image to use during rescue - V2 API changes 2014-04-10 09:35:57 +00:00
test_extended_server_attributes.py Use v2.1 URLs instead of v3 ones in API unit tests 2014-08-28 08:05:15 +00:00
test_extended_status.py Use v2.1 URLs instead of v3 ones in API unit tests 2014-08-28 08:05:15 +00:00
test_extended_virtual_interfaces_net.py Catch InstanceNotFound exceptions for V2 API virtual interfaces 2014-02-20 13:55:15 +10:30
test_extended_volumes.py Fix api direct use of instance module objects 2014-06-03 09:05:12 -07:00
test_fixed_ips.py Move the fixed_ips APIv2 extension to use objects 2014-06-17 12:25:30 -07:00
test_flavor_access.py Change v3 flavor_access to v2.1 2014-09-01 16:01:31 +09:30
test_flavor_disabled.py Change v3 flavor_manage API to v2.1 2014-09-03 05:27:16 +00:00
test_flavor_manage.py Change v3 flavor_manage API to v2.1 2014-09-03 05:27:16 +00:00
test_flavor_rxtx.py Change v3 flavor_rxtx to v2.1 2014-08-24 03:06:37 +08:00
test_flavor_swap.py Change v3 flavor_manage API to v2.1 2014-09-03 05:27:16 +00:00
test_flavorextradata.py Change v3 flavor_manage API to v2.1 2014-09-03 05:27:16 +00:00
test_flavors_extra_specs.py Convert v3 flavor extraspecs plugin to v2.1 2014-09-01 09:14:46 +09:00
test_floating_ip_dns.py Fix and gate on H305 and H307 2014-07-15 01:13:26 +00:00
test_floating_ip_pools.py Convert network/api.py to use FloatingIP object 2014-08-11 09:34:02 -07:00
test_floating_ips.py Add unit test for add_floating_ip API 2014-09-12 15:57:36 +09:00
test_floating_ips_bulk.py Fix floating_ips_bulk unit test name 2014-09-19 01:54:02 +00:00
test_fping.py Rename NotAuthorized exception to Forbidden 2014-04-25 12:37:07 -07:00
test_hide_server_addresses.py Use v2.1 URLs instead of v3 ones in API unit tests 2014-08-28 08:05:15 +00:00
test_hosts.py Change v3 hosts to v2.1 2014-08-24 11:56:23 +08:00
test_hypervisor_status.py Convert v3 hypervisor plugin to v2.1 2014-09-02 11:25:00 +09:00
test_hypervisors.py Convert v3 hypervisor plugin to v2.1 2014-09-02 11:25:00 +09:00
test_image_size.py Port image-size extension to work in v2.1/v3 framework 2014-09-01 22:27:31 +08:00
test_instance_actions.py Changes V3 server_actions extension into v2.1 2014-08-30 17:04:47 +08:00
test_instance_usage_audit_log.py Fix and Gate on E265 2014-07-24 08:11:00 -04:00
test_keypairs.py Change v3 keypairs API to v2.1 2014-08-27 05:46:04 +00:00
test_migrate_server.py Convert migrate_server v3 plugin to v2.1 2014-09-01 21:31:30 +08:00
test_migrations.py Merge "Replace assertTrue/False with assertIn/NotIn" 2014-07-19 07:05:28 +00:00
test_multinic.py Add multinic API unit test 2014-09-18 09:13:46 +09:00
test_networks.py Fix the os_networks display to show cidr properly 2014-10-03 08:04:21 -07:00
test_neutron_security_groups.py Improve secgroup create error message 2014-09-15 10:17:11 +09:30
test_quota_classes.py Add quotas for Server Groups (V2 API compatibility & V2.1 support) 2014-09-10 16:29:22 +00:00
test_quotas.py Fix 'force' parameter for quota-update 2014-09-16 13:29:01 +10:00
test_rescue.py Convert rescue v3 plugin to v2.1 API 2014-09-01 14:15:53 +09:30
test_scheduler_hints.py Convert v3 server SchedulerHints plugin to v2.1 2014-08-22 14:15:28 +09:00
test_security_group_default_rules.py Raise NotImplemented default-security-group-rule api with neutron 2014-07-23 23:00:18 +00:00
test_security_groups.py Improve secgroup create error message 2014-09-15 10:17:11 +09:30
test_server_diagnostics.py Convert v3 server diagnostics plugin to v2.1 2014-08-27 16:19:17 +09:00
test_server_external_events.py Consistently use jsonutils instead of specific implementation 2014-08-12 15:57:09 +02:00
test_server_group_quotas.py Add quotas for Server Groups (quota checks) 2014-09-13 08:48:40 +00:00
test_server_groups.py Add quotas for Server Groups (quota checks) 2014-09-13 08:48:40 +00:00
test_server_password.py Object-ify server_password APIv2 extension 2014-06-17 12:25:30 -07:00
test_server_start_stop.py Fix 'os-start/os-stop' server actions for V2.1 API 2014-09-10 19:39:46 +09:00
test_server_usage.py Convert server_usage v3 plugin to v2.1 API 2014-09-02 10:35:43 +09:30
test_services.py Fix and gate on H305 and H307 2014-07-15 01:13:26 +00:00
test_shelve.py Change v3 shelve to v2.1 2014-08-30 07:00:57 +00:00
test_simple_tenant_usage.py maint: various spelling fixes 2014-09-08 11:55:48 +01:00
test_snapshots.py Utilizes assertIn - tests/api/contrib 2013-10-12 10:57:49 +08:00
test_tenant_networks.py Handle NetworkInUse exception in api layer 2014-05-27 13:11:34 +08:00
test_used_limits.py Add quotas for Server Groups (V2 API change) 2014-09-13 08:43:26 +00:00
test_virtual_interfaces.py Convert network/api.py uses of vif database functions to objects 2014-08-12 06:49:09 -07:00
test_volumes.py Port volumes extension to work in v2.1/v3 framework 2014-09-02 09:28:06 +09:30