Skip to content
Snippets Groups Projects
Commit e7251f16 authored by Patrick Powell's avatar Patrick Powell
Browse files

Improve glance sanity check

Checks to see if a blank glance image was loaded correctly
partially-implements: blueprint sanity-check-container

Change-Id: I29549518e726b9530897ef31b120dd3759d1b279
parent 51504c35
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,9 @@ class SanityChecks(object):
@staticmethod
def glance(cloud):
[image for image in cloud.glance_client.images.list()]
open("/tmp/blank.qcow2", 'a').close()
cloud.create_image("test", filename="/tmp/blank.qcow2",
disk_format="qcow2", container_format="bare")
@staticmethod
def cinder(cloud):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment