From c61ce66b4a478ae1daa0b7f63343ca67868771f4 Mon Sep 17 00:00:00 2001 From: Tim Dettrick Date: Mon, 4 Jul 2016 15:41:18 +1000 Subject: [PATCH] Glance image API v1 must now be explicitly specified by the client --- oem/openstack/glance_load.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oem/openstack/glance_load.sh b/oem/openstack/glance_load.sh index 2f5cdecf42..63e87fdacd 100755 --- a/oem/openstack/glance_load.sh +++ b/oem/openstack/glance_load.sh @@ -51,7 +51,7 @@ curl --fail -s -L ${image_url} | bunzip2 > ${coreosimg} # perform actual image creation # here we set the os_release, os_verison, os_family, and os_distro variables # for intelligent consumption of images by scripts -glance image-create --name CoreOS-${release}-v${COREOS_VERSION} --progress \ +glance --os-image-api-version 1 image-create --name CoreOS-${release}-v${COREOS_VERSION} --progress \ --is-public true --property os_distro=coreos --property os_family=coreos \ --property os_version=${COREOS_VERSION} \ --disk-format qcow2 --container-format bare --min-disk 6 --file $coreosimg