aboutsummaryrefslogtreecommitdiff
path: root/docker/kolla-toolbox
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-30 17:30:15 +0000
committerGerrit Code Review <review@openstack.org>2017-06-30 17:30:15 +0000
commit2c0ff76835acf6f74fbc4e6cd3a32bfabef9e600 (patch)
tree15ff618e494986730398ddf2e19bf4a7d3abf4b9 /docker/kolla-toolbox
parent5c37a6d8c7009f153687fe69822c04a9cccaa3d0 (diff)
parent5cb25c227c539022de9cac61b23ccefc3d5f860d (diff)
downloadkolla-2c0ff76835acf6f74fbc4e6cd3a32bfabef9e600.tar.gz
kolla-2c0ff76835acf6f74fbc4e6cd3a32bfabef9e600.zip
Merge "Clean up unused sanity check modules"
Diffstat (limited to 'docker/kolla-toolbox')
-rw-r--r--docker/kolla-toolbox/kolla_sanity.py18
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()]