Add functional regression recreate test for bug 1825020
Change I06fad233006c7bab14749a51ffa226c3801f951b in Stein
started validating extra specs on the new flavor during a
resize but didn't take into account some validation that
happens with disk size with the new flavor if the validation
code isn't told that the server is volume-backed. That results
in a 500 FlavorDiskSmallerThanMinDisk response from the API
if the new flavor has a smaller disk size than the current
flavor that the server is using, which shouldn't actually
matter for a volume-backed server.
This adds a functional regression test to recreate the bug.
Reviewed: https:/ /review. opendev. org/653268 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a40c7f3e8d0 6f0bc8918a25b60 f73ec2c18add05
Committed: https:/
Submitter: Zuul
Branch: master
commit a40c7f3e8d06f0b c8918a25b60f73e c2c18add05
Author: Matt Riedemann <email address hidden>
Date: Tue Apr 16 23:00:15 2019 -0400
Add functional regression recreate test for bug 1825020
Change I06fad233006c7b ab14749a51ffa22 6c3801f951b in Stein erThanMinDisk response from the API
started validating extra specs on the new flavor during a
resize but didn't take into account some validation that
happens with disk size with the new flavor if the validation
code isn't told that the server is volume-backed. That results
in a 500 FlavorDiskSmall
if the new flavor has a smaller disk size than the current
flavor that the server is using, which shouldn't actually
matter for a volume-backed server.
This adds a functional regression test to recreate the bug.
Change-Id: I9e7e4472794670 5506d740896349c a1833cfddcd
Related-Bug: #1825020