Update git submodules
* Update nova from branch 'master' - Merge "Handle flavor disk mismatches when resizing" - Handle flavor disk mismatches when resizing When resizing a non-volume-backed instance, we call the '_validate_flavor_image_nostatus' function to do a myriad of checks with the aim of ensuring the flavor and image don't conflict. One of these checks tests whether the flavor is requesting a smaller local disk than the size of the image of the minimum size the image says it requires. If this check fails, it will raise the 'FlavorDiskSmallerThanImage' or 'FlavorDiskSmallerThanMinDisk' exceptions, respectively. We currently handle this exception in the 'create' and 'rebuild' flows but do not in the 'resize' path. Correct this by way of adding this exception to 'INVALID_FLAVOR_IMAGE_EXCEPTIONS', a list of exceptions that can be raised when an flavor and image conflict. The fix for this issue also highlights another exception that can be raised in the three code paths but is not handled by them all, 'FlavorMemoryTooSmall'. This is added to 'INVALID_FLAVOR_IMAGE_EXCEPTIONS' also. Change-Id: Idc82ed3bcfc37220a50d9e2d552be5ab8844374a Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Closes-Bug: #1867077
This commit is contained in:
parent
d3b440b5da
commit
0aa8a00349
2
nova
2
nova
|
@ -1 +1 @@
|
|||
Subproject commit de42f9e983cb4d4e94977697f86abf0a05e61cb4
|
||||
Subproject commit 323339236517b00ee2495572cfb2540b9e72ce98
|
Loading…
Reference in New Issue