Fix to use the new NOVA API to find images
Change-Id: I44ff02def0d03757a53f7c1caf105781b1f5a23e
This commit is contained in:
parent
8bbd410cdb
commit
4db46e2915
@ -125,7 +125,7 @@ class BaseCompute(object):
|
||||
Given a image name return the image id
|
||||
"""
|
||||
try:
|
||||
image = self.novaclient.images.find(name=image_name)
|
||||
image = self.novaclient.glance.find_image(image_name)
|
||||
return image
|
||||
except Exception:
|
||||
return None
|
||||
|
Loading…
x
Reference in New Issue
Block a user