From: Robin H. Johnson Date: Fri, 11 Dec 2015 20:50:11 +0000 (-0800) Subject: openstack: keep image private X-Git-Tag: 1.1.0~713^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F751%2Fhead;p=teuthology.git openstack: keep image private Ensure a newly created image is private to this tenant by default, regardless of whatever the openstack defaults are. Signed-off-by: Robin H. Johnson --- diff --git a/teuthology/openstack/__init__.py b/teuthology/openstack/__init__.py index 4fcb8d77b..68cebabca 100644 --- a/teuthology/openstack/__init__.py +++ b/teuthology/openstack/__init__.py @@ -266,6 +266,7 @@ class OpenStack(object): disk_format = 'qcow2' misc.sh("glance image-create --property ownedby=teuthology " + " --disk-format=" + disk_format + " --container-format=bare " + + " --visibility private" + " --file " + image + " --name " + self.image_name(name)) def image(self, os_type, os_version):