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.
Change-Id: I9e7e44727946705506d740896349ca1833cfddcd
Related-Bug: #1825020
(cherry picked from commit a40c7f3e8d06f0bc8918a25b60f73ec2c18add05)
Reviewed: https:/ /review. opendev. org/656511 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a1db4507ac8 32913a911afbee9 0f76f576d8ea20
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit a1db4507ac83291 3a911afbee90f76 f576d8ea20
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 c8918a25b60f73e c2c18add05)
Related-Bug: #1825020
(cherry picked from commit a40c7f3e8d06f0b