summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Wienand <iwienand@redhat.com>2019-02-19 14:06:18 +1100
committerIan Wienand <iwienand@redhat.com>2019-02-19 14:06:18 +1100
commit72f632222f6d90d3545b5d7ca48297da4218e2ea (patch)
tree5332b20460136dcf5398b83cd45ac05b25cc724f
parentf9f11148cf1b43e1f3e9684cc11b0160d3ff4479 (diff)
Update cirros256 flavor to have some diskHEADmaster
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
Notes
Notes (review): Code-Review+1: yatin <ykarel@redhat.com> Code-Review+2: Ian Wienand <iwienand@redhat.com> Workflow+1: Ian Wienand <iwienand@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 19 Feb 2019 08:56:11 +0000 Reviewed-on: https://review.openstack.org/637668 Project: openstack-dev/devstack Branch: refs/heads/master
-rw-r--r--lib/nova2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nova b/lib/nova
index 6c9b944..033ebf3 100644
--- a/lib/nova
+++ b/lib/nova
@@ -1167,7 +1167,7 @@ function create_flavors {
1167 if is_service_enabled n-api; then 1167 if is_service_enabled n-api; then
1168 if ! openstack --os-region-name="$REGION_NAME" flavor list | grep -q ds512M; then 1168 if ! openstack --os-region-name="$REGION_NAME" flavor list | grep -q ds512M; then
1169 # Note that danms hates these flavors and apologizes for sdague 1169 # 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
1171 openstack --os-region-name="$REGION_NAME" flavor create --id d1 --ram 512 --disk 5 --vcpus 1 ds512M 1171 openstack --os-region-name="$REGION_NAME" flavor create --id d1 --ram 512 --disk 5 --vcpus 1 ds512M
1172 openstack --os-region-name="$REGION_NAME" flavor create --id d2 --ram 1024 --disk 10 --vcpus 1 ds1G 1172 openstack --os-region-name="$REGION_NAME" flavor create --id d2 --ram 1024 --disk 10 --vcpus 1 ds1G
1173 openstack --os-region-name="$REGION_NAME" flavor create --id d3 --ram 2048 --disk 10 --vcpus 2 ds2G 1173 openstack --os-region-name="$REGION_NAME" flavor create --id d3 --ram 2048 --disk 10 --vcpus 2 ds2G