Only use heat image where support
Glance will reject images that it doesn't understand, and only certain drivers can use qcow2 images. This means for systems without qcow2 support, devstack will fail to run until this change is merged. Change-Id: Ic92815f3d32880e987456c0428953dddaa81c94c
This commit is contained in:
parent
5ee1cd3b47
commit
527f21c7e7
11
stackrc
11
stackrc
@ -342,10 +342,15 @@ esac
|
|||||||
|
|
||||||
# Use 64bit fedora image if heat is enabled
|
# Use 64bit fedora image if heat is enabled
|
||||||
if [[ "$ENABLED_SERVICES" =~ 'h-api' ]]; then
|
if [[ "$ENABLED_SERVICES" =~ 'h-api' ]]; then
|
||||||
HEAT_CFN_IMAGE_URL=${HEAT_CFN_IMAGE_URL:-"https://dl.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"}
|
case "$VIRT_DRIVER" in
|
||||||
IMAGE_URLS+=",$HEAT_CFN_IMAGE_URL"
|
libvirt|baremetal|ironic)
|
||||||
|
HEAT_CFN_IMAGE_URL=${HEAT_CFN_IMAGE_URL:-"https://dl.fedoraproject.org/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2"}
|
||||||
|
IMAGE_URLS+=",$HEAT_CFN_IMAGE_URL"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Staging Area for New Images, have them here for at least 24hrs for nodepool
|
# Staging Area for New Images, have them here for at least 24hrs for nodepool
|
||||||
# to cache them otherwise the failure rates in the gate are too high
|
# to cache them otherwise the failure rates in the gate are too high
|
||||||
PRECACHE_IMAGES=$(trueorfalse False $PRECACHE_IMAGES)
|
PRECACHE_IMAGES=$(trueorfalse False $PRECACHE_IMAGES)
|
||||||
|
Loading…
Reference in New Issue
Block a user