aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorMichal Jastrzebski <michal.jastrzebski@intel.com>2015-12-02 14:19:01 -0600
committerMichal Jastrzebski <michal.jastrzebski@intel.com>2015-12-02 14:19:01 -0600
commitaab1bd36c85218457af3d764a570f6f815d712c8 (patch)
tree3e72f0c7c1a8f0116515b5fc09acb27707e953d7 /docker
parentf632cfe8783aed50177d3f2b9924a6074f42810d (diff)
downloadkolla-aab1bd36c85218457af3d764a570f6f815d712c8.tar.gz
kolla-aab1bd36c85218457af3d764a570f6f815d712c8.zip
Sanity check for glance
This runs first sanity check for glance. After glance is deployed it checks images.list(). Also consist few fixes for previous patches Change-Id: I03d05d246302d8411b2e94c94ca7fe046c00d735 Partially-Implements: blueprint sanity-check-container
Diffstat (limited to 'docker')
-rw-r--r--docker/kolla-ansible/kolla_sanity.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/kolla-ansible/kolla_sanity.py b/docker/kolla-ansible/kolla_sanity.py
index 3227bfb94..d579a1093 100644
--- a/docker/kolla-ansible/kolla_sanity.py
+++ b/docker/kolla-ansible/kolla_sanity.py
@@ -28,7 +28,11 @@ import shade
class SanityChecks(object):
@staticmethod
def keystone(cloud):
- cloud.keystone_client.tenants.list()
+ [tenant for tenant in cloud.keystone_client.tenants.list()]
+
+ @staticmethod
+ def glance(cloud):
+ [image for image in cloud.glance_client.images.list()]
def main():