Improve glance sanity check
Checks to see if a blank glance image was loaded correctly partially-implements: blueprint sanity-check-container Change-Id: I29549518e726b9530897ef31b120dd3759d1b279
This commit is contained in:
parent
51504c3597
commit
e7251f1640
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user