2011-10-14 19:43:59 DEBUG [routes.middleware] Matched GET /images/2
2011-10-14 19:43:59 DEBUG [routes.middleware] Route path: '/images/:(id)', defaults: {'action': u'show', 'controller': <glance.common.wsgi.Resource object at 0x22c4cd0>}
2011-10-14 19:43:59 DEBUG [routes.middleware] Match dict: {'action': u'show', 'controller': <glance.common.wsgi.Resource object at 0x22c4cd0>, 'id': u'2'}
2011-10-14 19:43:59 DEBUG [glance.api.v1.images] image '2' is a cache MISS
2011-10-14 19:43:59 DEBUG [glance.api.v1.images] tee'ing image '2' into cache
2011-10-14 19:43:59 WARNING [glance.utils] xattrs not supported, skipping...
2011-10-14 19:43:59 WARNING [glance.utils] xattrs not supported, skipping...
2011-10-14 19:43:59 WARNING [glance.utils] xattrs not supported, skipping...
2011-10-14 19:43:59 DEBUG [glance.image_cache] fetch errored, rolling back by moving '/var/lib/glance/image-cache/incomplete/2' to '/var/lib/glance/image-cache/invalid/2'
2011-10-14 19:43:59 DEBUG [eventlet.wsgi.server] Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/eventlet/wsgi.py", line 347, in handle_one_response
for data in result:
File "/usr/lib/pymodules/python2.6/glance/api/v1/images.py", line 233, in get_from_store_tee_into_cache
chunks = get_from_store(image)
File "/usr/lib/pymodules/python2.6/glance/api/v1/images.py", line 216, in get_from_store
location = image_meta['location']
KeyError: 'location'
Well, here's what happens when there's no unit or functional test cases for an entire module... :)
This should be easy enough to fix. I'll handle it.