Update git submodules
* Update devstack from branch 'master' - Merge "Set non-0 disk sizes for tempest flavors" - Set non-0 disk sizes for tempest flavors Nova change https://review.openstack.org/603910/ is going to change the default rule on policy os_compute_api:servers:create:zero_disk_flavor to admin-only, which will prevent non-admins from creating image-backed servers with a flavor that has disk=0 since it's a potential security exposure. Therefore we need the test flavors that are created for tempest to use non-0 disk values. Since the flavor_ref and flavor_ref_alt can be aligned to the image_ref and image_ref_alt in tempest.conf, we get the image sizes from glance (in bytes) and convert those to GiB disk sizes for each flavor, respectively. Since we're using Cirros images by default, we need to make sure to round up otherwise we'd still have a 0-disk flavor. There are lots of ways the math could be done here using numfmt, bash, awk, bc, etc, but it's simplest to write and probably easiest to read by using python for the size conversion code. Change-Id: I537c299b0cd400982189f35b31df74755422737e Related-Bug: #1739646
This commit is contained in:
parent
ce3f7046be
commit
656ac66ef3
2
devstack
2
devstack
@ -1 +1 @@
|
||||
Subproject commit 69af5757da6a9c85c51f9954e5ec79ce8a7db349
|
||||
Subproject commit a5aa242dc02f450656f76523c87423e8096355e5
|
Loading…
Reference in New Issue
Block a user