From 7518bb52eea3f599d2a2643caa4860b978d4c021 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Fri, 2 Jun 2017 14:42:32 +0200 Subject: [PATCH] openstack: use --limit 2000 with openstack image list command The --limit defaults to 25, which is way too low. Fixes: https://github.com/SUSE/teuthology/issues/82 Signed-off-by: Loic Dachary Signed-off-by: Nathan Cutler --- teuthology/openstack/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/openstack/__init__.py b/teuthology/openstack/__init__.py index 76aa35a0c1..545b9fb1b7 100644 --- a/teuthology/openstack/__init__.py +++ b/teuthology/openstack/__init__.py @@ -340,7 +340,7 @@ class OpenStack(object): """ Return true if the image exists in OpenStack. """ - found = self.run("image list -f json --private --property name='" + + found = self.run("image list -f json --limit 2000 --private --property name='" + self.image_name(image) + "'") return len(json.loads(found)) > 0 -- 2.39.5