please see the pdb output from glance.py. It looks like that glanceclient.v2 was called instead of v1 from your example. --weiguo
(Epdb) p client <glanceclient.v2.client.Client object at 0x2e713d0> (Epdb) p client.images <glanceclient.v2.images.Controller object at 0x2ba7c50> (Epdb) p dir(client.images) ['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'data', 'delete', 'get', 'http_client', 'list', 'model', 'update'] (Epdb) p client.images <glanceclient.v2.images.Controller object at 0x2ba7c50>
After disabling "glance_api_version=2" in cinder.conf, the error dissappears and the image got registered in glance.
However, the new image creation stuck at "queued" status,
72fe1a63-6d40-4dcd-ba68-a85745218c29 | new-test-image | raw | bare | | queued |
please see the pdb output from glance.py. It looks like that glanceclient.v2 was called instead of v1 from your example. --weiguo
(Epdb) p client v2.client. Client object at 0x2e713d0> v2.images. Controller object at 0x2ba7c50> v2.images. Controller object at 0x2ba7c50>
<glanceclient.
(Epdb) p client.images
<glanceclient.
(Epdb) p dir(client.images)
['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'data', 'delete', 'get', 'http_client', 'list', 'model', 'update']
(Epdb) p client.images
<glanceclient.
After disabling "glance_ api_version= 2" in cinder.conf, the error dissappears and the image got registered in glance.
However, the new image creation stuck at "queued" status,
72fe1a63- 6d40-4dcd- ba68-a85745218c 29 | new-test-image | raw | bare | | queued |