HTTPNotFound

Asked by smallma on 2012-04-09

Hello all,

I install glance.2011.3, and there is a error as below when I download some images. Please help to clarify. Thanks.

2012-04-09 13:50:54 DEBUG [glance.api.middleware.version_negotiation] Processing request: GET /v1/images/70 Accept:
2012-04-09 13:50:54 DEBUG [glance.api.middleware.version_negotiation] Matched versioned URI. Version: 1.0
2012-04-09 13:50:54 DEBUG [routes.middleware] Matched GET /images/70
2012-04-09 13:50:54 DEBUG [routes.middleware] Route path: '/images/:(id)', defaults: {'action': u'show', 'controller': <glance.common.wsgi.Resource object at 0x23943d0>}
2012-04-09 13:50:54 DEBUG [routes.middleware] Match dict: {'action': u'show', 'controller': <glance.common.wsgi.Resource object at 0x23943d0>, 'id': u'70'}
2012-04-09 13:50:54 DEBUG [glance.api.v1.images] image '70' is a cache MISS
2012-04-09 13:50:54 DEBUG [glance.api.v1.images] tee'ing image '70' into cache
2012-04-09 13:50:54 WARNING [glance.utils] xattrs not supported, skipping...
2012-04-09 13:50:54 WARNING [glance.utils] xattrs not supported, skipping...
2012-04-09 13:50:54 WARNING [glance.utils] xattrs not supported, skipping...
2012-04-09 13:50:54 DEBUG [glance.image_cache] fetch errored, rolling back by moving '/srv/cache/incomplete/70' to '/srv/cache/invalid/70'
2012-04-09 13:50:54 DEBUG [eventlet.wsgi.server] Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 347, in handle_one_response
    for data in result:
  File "/usr/lib/pymodules/python2.7/glance/api/v1/images.py", line 233, in get_from_store_tee_into_cache
    chunks = get_from_store(image)
  File "/usr/lib/pymodules/python2.7/glance/api/v1/images.py", line 220, in get_from_store
    raise HTTPNotFound(explanation="%s" % e)
HTTPNotFound: Image file /srv/glusterfs/glance/images/70 not found
2012-04-09 13:50:54 DEBUG [eventlet.wsgi.server] 172.16.70.34 - - [09/Apr/2012 13:50:54] "GET /v1/images/70 HTTP/1.1" 200 0 0.023336

By the way, How many encrypt/decrypt algorithm,like sha1 MD5 etc, dose glance https support?

Thanks,

Rain.

Question information

Language:
English Edit question
Status:
Solved
For:
Glance Edit question
Assignee:
No assignee Edit question
Solved by:
smallma
Solved:
2012-04-11
Last query:
2012-04-11
Last reply:
2012-04-09
Jay Pipes (jaypipes) said : #1

Hi Rain,

It seems to me the error message is self-explanatory. It means the image file "70" does not exist in your /srv/glusterfs/glance/images directory...

As for encrypt/decrypt, Glance does not support encryption/decryption of image files. While Glance supports servers in SSL mode, I'd recommend using something like Pound to do SSL termination instead...

Best,
-jay

smallma (s-rain) said : #2

Jay Thanks:)