From a4e72f71fc7001e4dc68263caa13e801aa3eed90 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Wed, 8 May 2024 10:57:06 -0700 Subject: [PATCH] Upload glance image with --file in ceph job This enables our use of the OCaaS devstack feature, which can't support image upload from stdin. Change-Id: Idc5646ef6763447e3c1c68de03dea8197c305f6c --- playbooks/ceph/glance-setup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/ceph/glance-setup.yaml b/playbooks/ceph/glance-setup.yaml index 5792c7223791..93248251d1fe 100644 --- a/playbooks/ceph/glance-setup.yaml +++ b/playbooks/ceph/glance-setup.yaml @@ -25,7 +25,7 @@ # Upload it to glance as the sole image available so tempest # config will find it. Wait ten seconds after doing this # before the restart below. - openstack image create --container-format bare --disk-format raw --public "cirros-raw" < "$rawimage" + openstack image create --container-format bare --disk-format raw --public "cirros-raw" --file $(readlink -f "$rawimage") sleep 10 openstack image list openstack image show cirros-raw