Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix instance cross AZ check when attaching volumes
For CONF.cinder_cross_az_attach=False, we currently only check the desired AZ during scheduling but don't actually check the final AZ of the node. When attaching volumes to running instances we need to check the actual AZ on the instance and not the desired AZ at boot time. The desired AZ attribute is optional at boot and may not be set or the desired AZ could be different from the final AZ. When we are booting with a volume however we don't know the final AZ so we check on the desired AZ. Closes-Bug: #1255347 Change-Id: Ied912c171100a450754d315027bf5c407ac067bb (cherry picked from commit 18a1486)
- Loading branch information
Showing
2 changed files
with
44 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters