Skip to content

Commit 72f6322

Browse files
committed
Update cirros256 flavor to have some disk
It seems nova has changed defaults on who can create zero-sized disk instances [1] and now some devstack jobs, like nodepool's, can't create cirros images using this flavor. It seems the easiest thing to do is just to bump it up. [1] https://review.openstack.org/#/c/603910/ Change-Id: I1172d4775d608568ccbeb27e2975d83add892ea9
1 parent f9f1114 commit 72f6322

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/nova

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ function create_flavors {
11671167
if is_service_enabled n-api; then
11681168
if ! openstack --os-region-name="$REGION_NAME" flavor list | grep -q ds512M; then
11691169
# Note that danms hates these flavors and apologizes for sdague
1170-
openstack --os-region-name="$REGION_NAME" flavor create --id c1 --ram 256 --disk 0 --vcpus 1 cirros256
1170+
openstack --os-region-name="$REGION_NAME" flavor create --id c1 --ram 256 --disk 1 --vcpus 1 cirros256
11711171
openstack --os-region-name="$REGION_NAME" flavor create --id d1 --ram 512 --disk 5 --vcpus 1 ds512M
11721172
openstack --os-region-name="$REGION_NAME" flavor create --id d2 --ram 1024 --disk 10 --vcpus 1 ds1G
11731173
openstack --os-region-name="$REGION_NAME" flavor create --id d3 --ram 2048 --disk 10 --vcpus 2 ds2G

0 commit comments

Comments
 (0)