nova/nova/tests/api/openstack/compute/plugins
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
..
v3 Log id in raise_http_conflict_for_instance_invalid_state() 2014-10-07 10:22:14 -04:00
__init__.py API extensions framework for v3 API 2013-05-13 10:31:22 +09:30