commit 40cf447d28a5c9842f3546c4e7fe4efa682293cf
Author: Matt Riedemann <email address hidden>
Date: Thu May 25 21:35:09 2017 -0400
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.
Reviewed: https:/ /review. openstack. org/468232 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=40cf447d28a 5c9842f3546c4e7 fe4efa682293cf
Committed: https:/
Submitter: Jenkins
Branch: master
commit 40cf447d28a5c98 42f3546c4e7fe4e fa682293cf
Author: Matt Riedemann <email address hidden>
Date: Thu May 25 21:35:09 2017 -0400
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 instances.
this object in _provision_
Change-Id: I396b767815b666 706fec980ded482 fa4746d2efc
Closes-Bug: #1693654