From 3a67e3f479d4bef776316b0308852fd56964006a Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 11 Dec 2015 12:50:11 -0800 Subject: [PATCH] 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 --- teuthology/openstack/__init__.py | 1 + 1 file changed, 1 insertion(+) 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): -- 2.47.3