Revision history [back]

click to hide/show revision 1
initial version

glance add failed

help: keystone+glance, glance add failed, who can help me?

linux-rskn:/usr/lib64/python2.6/site-packages/glance-tools # glance add name=chnzzw is_public=true < /opt/ubuntu-11.10-server-cloudimg-amd64-disk1.img glance_endpoint = action=/v1.1/2/images headers={'content-length': 225443840, 'x-image-meta-container_format': u'ovf', 'x-image-meta-min_disk': u'0', 'x-auth-token': u'4750b0c1-8279-4b24-8af5-e4e65aae35d3', 'x-image-meta-size': 225443840, 'x-image-meta-is_public': u'True', 'x-image-meta-min_ram': u'0', 'content-type': 'application/octet-stream', 'x-image-meta-disk_format': u'raw', 'x-image-meta-name': u'chnzzw'} Failed to add image. Got error: image Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'. linux-rskn:/usr/lib64/python2.6/site-packages/glance-tools # glance --debug index params={'marker': None, 'sort_key': None, 'limit': 10, 'sort_dir': None} glance_endpoint = action=/v1.1/2/images?limit=10 headers={'x-auth-token': u'4750b0c1-8279-4b24-8af5-e4e65aae35d3'} res=<httplib.httpresponse instance="" at="" 0x155e050=""> Traceback (most recent call last): File "/usr/bin/glance", line 1207, in <module> result = command(options, args) File "/usr/bin/glance", line 60, in wrapper ret = func(*args, kwargs) File "/usr/bin/glance", line 498, in images_index print_header=True) File "/usr/bin/glance", line 444, in _images_index images = client.get_images(parameters) File "/usr/lib64/python2.6/site-packages/glance/", line 56, in get_images data = json.loads(['images'] KeyError: 'images'