From: Nathan Cutler Date: Fri, 2 Jun 2017 12:42:32 +0000 (+0200) Subject: openstack: use --limit 2000 with openstack image list command X-Git-Tag: 1.1.0~211^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7518bb52eea3f599d2a2643caa4860b978d4c021;p=teuthology.git 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 --- diff --git a/teuthology/openstack/__init__.py b/teuthology/openstack/__init__.py index 76aa35a0c..545b9fb1b 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