diff options
| author | Paul Bourke <paul.bourke@oracle.com> | 2017-05-17 12:28:00 +0100 |
|---|---|---|
| committer | Paul Bourke (pbourke) <paul.bourke@oracle.com> | 2017-05-22 10:15:32 +0000 |
| commit | 5cb25c227c539022de9cac61b23ccefc3d5f860d (patch) | |
| tree | 7a7cb294664f3ff1ebaefa976e8be7823db50b57 /docker | |
| parent | c72c001e7f45f9416b13d64c7d6833ff8ea86647 (diff) | |
| download | kolla-5cb25c227c539022de9cac61b23ccefc3d5f860d.tar.gz kolla-5cb25c227c539022de9cac61b23ccefc3d5f860d.zip | |
Clean up unused sanity check modules
These are now replaced with built in Ansible modules
Change-Id: I6e3f4b72243da1cfa76d32822ec4f75f689f7317
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/kolla-toolbox/kolla_sanity.py | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/docker/kolla-toolbox/kolla_sanity.py b/docker/kolla-toolbox/kolla_sanity.py index b950204f4..3df8d2ac2 100644 --- a/docker/kolla-toolbox/kolla_sanity.py +++ b/docker/kolla-toolbox/kolla_sanity.py @@ -22,29 +22,13 @@ # in upstream shade we will be able to use more of the shade module. Until then # if we want to be 'stable' we really need to be using it as a passthrough -import tempfile import traceback import shade class SanityChecks(object): - @staticmethod - def keystone(cloud): - [tenant for tenant in cloud.keystone_client.tenants.list()] - - @staticmethod - def glance(cloud): - with tempfile.NamedTemporaryfile(suffix='qcow2') as image: - cloud.create_image("test", filename=image.name, - disk_format="qcow2", container_format="bare") - testid = cloud.get_image_id("test") - cloud.delete_image(testid) - - @staticmethod - def cinder(cloud): - [volume for volume in cloud.cinder_client.volumes.list()] - + # TODO(pbourke): remove and replace with direct call to os_object @staticmethod def swift(cloud): [container for container in cloud.swift_client.list()] |
