Hello,<div><br></div><div>I seem to be unable to list the images available in glance. I'm not sure why this is happening. I've check the logs for nova-api, glance-api and glance-registry and am unable to found anything out of the ordinary. </div>
<div><br>Below is an output from the command 'nova image-list'</div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
REQ: curl -i <a href="http://192.168.164.128:5000/v2.0/tokens">http://192.168.164.128:5000/v2.0/tokens</a> -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient"<br>
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "nova"}}}<br>RESP:{'date': 'Fri, 04 May 2012 14:08:53 GMT', 'transfer-encoding': 'chunked', 'status': '200', 'vary': 'X-Auth-Token', 'content-type': 'application/json'} {"access": {"token": {"expires": "2012-05-05T14:08:53Z", "id": "c6d3145f1e924982982b54e52b97bec9", "tenant": {"description": null, "enabled": true, "id": "765a2012198f4751b8457c49932ec80d", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "<a href="http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d">http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d</a>", "region": "nova", "internalURL": "<a href="http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d">http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d</a>", "publicURL": "<a href="http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d">http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d</a>"}], "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints": [{"adminURL": "http://${SWIFT_HOST}:8080/v1/AUTH_765a2012198f4751b8457c49932ec80d", "region": "nova", "internalURL": "<a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a>", "publicURL": "http://${SWIFT_HOST}:8080/v1/AUTH_765a2012198f4751b8457c49932ec80d"}], "endpoints_links": [], "type": "storage", "name": "swift"}, {"endpoints": [{"adminURL": "<a href="http://192.168.164.128:9292/v1">http://192.168.164.128:9292/v1</a>", "region": "nova", "internalURL": "<a href="http://192.168.164.128:9292/v1">http://192.168.164.128:9292/v1</a>", "publicURL": "<a href="http://192.168.164.128:9292/v1">http://192.168.164.128:9292/v1</a>"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "<a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d</a>", "region": "nova", "internalURL": "<a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d</a>", "publicURL": "<a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d</a>"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "<a href="http://192.168.164.128:5000/v2.0">http://192.168.164.128:5000/v2.0</a>", "region": "nova", "internalURL": "<a href="http://192.168.164.128:5000/v2.0">http://192.168.164.128:5000/v2.0</a>", "publicURL": "<a href="http://192.168.164.128:35357/v2.0">http://192.168.164.128:35357/v2.0</a>"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "842c74e5daa246239426f92b6f5c5dba", "roles": [{"id": "d6d2f681acbf4f91a3bd3522e1c006ae", "name": "admin"}, {"id": "e1428c3c9403494494b53393660a930a", "name": "KeystoneServiceAdmin"}, {"id": "f2a9436d68974a049547c08324a37aed", "name": "KeystoneAdmin"}], "name": "admin"}}}<br>
REQ: curl -i <a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d/images/detail">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d/images/detail</a> -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: c6d3145f1e924982982b54e52b97bec9"<br>
REQ: curl -i <a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d/images/detail">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d/images/detail</a> -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: c6d3145f1e924982982b54e52b97bec9"<br>
RESP:{'date': 'Fri, 04 May 2012 14:08:53 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-3e953b5d-5953-438f-bd9b-20f52f2f4bf2'} {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}<br>
RESP:{'date': 'Fri, 04 May 2012 14:08:53 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-3e953b5d-5953-438f-bd9b-20f52f2f4bf2'} {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}</blockquote>
<div><blockquote></blockquote><blockquote></blockquote><blockquote></blockquote><blockquote></blockquote><blockquote></blockquote><blockquote></blockquote></div><div>I'm using ubuntu 12.04 with the default repository packages. All the services are running.</div>
<div><br></div><div>Regards,</div><div><br>Leander</div>