nova/nova/api/openstack/compute
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
..
contrib Log id in raise_http_conflict_for_instance_invalid_state() 2014-10-07 10:22:14 -04:00
plugins Log id in raise_http_conflict_for_instance_invalid_state() 2014-10-07 10:22:14 -04:00
schemas Add quotas for Server Groups (V2 API compatibility & V2.1 support) 2014-09-10 16:29:22 +00:00
views Add quotas for Server Groups (V2 API compatibility & V2.1 support) 2014-09-10 16:29:22 +00:00
__init__.py Add v2.1 API router and endpoint 2014-08-27 05:52:32 +00:00
consoles.py Return 404 instead of 501 for unsupported actions 2014-08-07 20:44:41 +08:00
extensions.py Use oslo.i18n 2014-07-18 14:28:09 -04:00
flavors.py make flavors use common limit and marker 2014-09-17 14:59:51 -04:00
image_metadata.py Correct image_metadata API use of nova.image.glance 2014-07-23 14:43:17 -04:00
images.py Correct use of nova.image.glance in compute API 2014-07-20 13:29:31 -04:00
ips.py Return 404 instead of 501 for unsupported actions 2014-08-07 20:44:41 +08:00
limits.py Remove usage of self.__dict__ for message var replacement 2014-09-25 07:40:27 -07:00
server_metadata.py Log id in raise_http_conflict_for_instance_invalid_state() 2014-10-07 10:22:14 -04:00
servers.py Log id in raise_http_conflict_for_instance_invalid_state() 2014-10-07 10:22:14 -04:00
versions.py Change v3 version API to v2.1 2014-08-30 07:08:59 +00:00