From c31729cdaf2c8ab64dfea86cc29c735df8894b23 Mon Sep 17 00:00:00 2001 From: jvora Date: Sat, 27 Feb 2016 16:22:34 -0800 Subject: Sanity check for cinder This runs first sanity check for cinder. Once cinder is deployed it checks volumes.list() Change-Id: I1b4cc57f21cf0fa52a391229c2c2b3fa995d32a8 Partially-Implements: blueprint sanity-check-container --- docker/kolla-toolbox/kolla_sanity.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docker') diff --git a/docker/kolla-toolbox/kolla_sanity.py b/docker/kolla-toolbox/kolla_sanity.py index 7f4eea9fc..1a0b4151a 100644 --- a/docker/kolla-toolbox/kolla_sanity.py +++ b/docker/kolla-toolbox/kolla_sanity.py @@ -34,6 +34,10 @@ class SanityChecks(object): def glance(cloud): [image for image in cloud.glance_client.images.list()] + @staticmethod + def cinder(cloud): + [volume for volume in cloud.cinder_client.volumes.list()] + def main(): module = AnsibleModule( -- cgit v1.2.3