nova/nova/volume
Matt Riedemann 893d11be86 Avoid lazy-loading instance.id when cross_az_attach=False
The instance is no longer created in the API so the id attribute
won't be set, which means when checking the instance AZ against
the volume AZ, if they don't match we can't put the instance.id
in the error message. We shouldn't have been putting the instance
primary key in the error message anyway.

This fixes the bug by using the instance.uuid which is set in
this object in _provision_instances.

Change-Id: I396b767815b666706fec980ded482fa4746d2efc
Closes-Bug: #1693654
(cherry picked from commit 40cf447d28)
2017-05-27 13:40:13 +00:00
..
encryptors encryptors: Introduce encryption provider constants 2016-11-23 10:57:11 +00:00
__init__.py Remove deprecated config option volume_api_class 2016-07-21 23:08:08 +08:00
cinder.py Avoid lazy-loading instance.id when cross_az_attach=False 2017-05-27 13:40:13 +00:00