diff options
| author | jvora <jvora@cisco.com> | 2016-02-27 16:22:34 -0800 |
|---|---|---|
| committer | jvora <jvora@cisco.com> | 2016-02-27 16:22:34 -0800 |
| commit | c31729cdaf2c8ab64dfea86cc29c735df8894b23 (patch) | |
| tree | 1d3700f85201655fd163125181e9a890ec87de6a /docker | |
| parent | c81097df8b0525bcff9df875f38bbfe2ab83be3f (diff) | |
| download | kolla-c31729cdaf2c8ab64dfea86cc29c735df8894b23.tar.gz kolla-c31729cdaf2c8ab64dfea86cc29c735df8894b23.zip | |
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
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/kolla-toolbox/kolla_sanity.py | 4 |
1 files changed, 4 insertions, 0 deletions
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( |
