Ask Your Question

Revision history [back]

The error caused by glance. It couldn't send correct image id to nova for furthur processes. To solve this problem

1- I reinstalled glance and python-glanceclient.

2- By default nova call glance client to query image metadata by using glance api version 1. I modify /usr/lib/python2.7/dist-packages/nova/image/ as below

def get(self, context, id_or_uri, include_locations=False,   ========changed to========>   def get(self, context, id_or_uri, include_locations=True,

3- In /etc/glance/glance.api.conf make the glance use api version to 2. enable_v2_api = True

4- restart glance-api, glance-registry, and nova-api. Everything should work fine.