I fixed the swift ip and i'm still getting the same error.<div><br></div><div>Here are the log files and the config files:<div><br></div><div>nova-api > <a href="http://paste.openstack.org/show/16176/">http://paste.openstack.org/show/16176/</a></div>
<div><br></div><div>glance-api.log </div><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">
<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">2012-05-08 11:39:55 6143     INFO [eventlet.wsgi.server] Starting single process server</blockquote>
<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">2012-05-08 11:40:01 6255     INFO [eventlet.wsgi.server] Starting single process server</blockquote>
</blockquote><div> </div><div>glance-registery.log > <a href="http://paste.openstack.org/show/16180/">http://paste.openstack.org/show/16180/</a></div><div><br></div><div>glance-api.conf > <a href="http://paste.openstack.org/show/16184/">http://paste.openstack.org/show/16184/</a></div>
<div><br></div><div>glance-registry.conf > <a href="http://paste.openstack.org/show/16185/">http://paste.openstack.org/show/16185/</a></div><div><br></div><div>glance-api-paste.ini > <a href="http://paste.openstack.org/show/16186/">http://paste.openstack.org/show/16186/</a></div>
<div><br></div><div>glance-registry-pastet-ini > <a href="http://paste.openstack.org/show/16187/">http://paste.openstack.org/show/16187/</a></div><div><br></div><div>keystone log is empty.</div><div><br></div><div>Regards,</div>
<div><br></div><div>Leander</div><br><div class="gmail_quote">On Mon, May 7, 2012 at 4:51 PM, Dolph Mathews <span dir="ltr"><<a href="mailto:dolph.mathews@gmail.com" target="_blank">dolph.mathews@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There's not enough information in those logs to say (check your glance config and glance/keystone logs) -- but you'll definitely need to recreate that endpoint with SWIFT_HOST defined in your env to use swift through your service catalog.<span class="HOEnZb"><font color="#888888"><div>

<br></div></font></span><div><span class="HOEnZb"><font color="#888888">-Dolph</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Mon, May 7, 2012 at 9:11 AM, Leander Bessa <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does that mean that glance is somehow configured to use swift as storage instead of the local file system or is does the error simply occur due to the a parsing error because of ${SWIFT_HOST}? <div><div>
<br><br><div class="gmail_quote">
On Mon, May 7, 2012 at 2:59 PM, Dolph Mathews <span dir="ltr"><<a href="mailto:dolph.mathews@gmail.com" target="_blank">dolph.mathews@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Your swift endpoint appears to be literally configured in keystone as "http://${SWIFT_HOST}:8080/v1/..." -- I'm guessing that's unreachable :)<div><br></div><div>Based on your logs, I'm not certain that will fix your 500, however.<span><font color="#888888"><div>



<br></div><div>-Dolph<br></div></font></span></div><div><div><br><div class="gmail_quote">On Mon, May 7, 2012 at 5:23 AM, Leander Bessa <span dir="ltr"><<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is as much as i can capture at the moment. <a href="http://paste.openstack.org/show/15899/" target="_blank">http://paste.openstack.org/show/15899/</a><div>



<br></div><div>For some reason, nothing is written to the logs, am i forgetting a flag or something?<div><div><br>
<br><div class="gmail_quote">On Fri, May 4, 2012 at 11:30 PM, Yuriy Taraday <span dir="ltr"><<a href="mailto:yorik.sar@gmail.com" target="_blank">yorik.sar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Please post to <a href="http://paste.openstack.org" target="_blank">http://paste.openstack.org</a> error text and backtrace<br>
from nova-api.log.<br>
<br>
Kind regards, Yuriy.<br>
<div><div><br>
<br>
On Fri, May 4, 2012 at 6:13 PM, Leander Bessa <<a href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I seem to be unable to list the images available in glance. I'm not sure why<br>
> this is happening. I've check the logs for nova-api, glance-api and<br>
> glance-registry and am unable to found anything out of the ordinary.<br>
><br>
> Below is an output from the command 'nova image-list'<br>
>><br>
>> REQ: curl -i <a href="http://192.168.164.128:5000/v2.0/tokens" target="_blank">http://192.168.164.128:5000/v2.0/tokens</a> -X POST -H<br>
>> "Content-Type: application/json" -H "Accept: application/json" -H<br>
>> "User-Agent: python-novaclient"<br>
>> REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials":<br>
>> {"username": "admin", "password": "nova"}}}<br>
>> RESP:{'date': 'Fri, 04 May 2012 14:08:53 GMT', 'transfer-encoding':<br>
>> 'chunked', 'status': '200', 'vary': 'X-Auth-Token', 'content-type':<br>
>> 'application/json'} {"access": {"token": {"expires": "2012-05-05T14:08:53Z",<br>
>> "id": "c6d3145f1e924982982b54e52b97bec9", "tenant": {"description": null,<br>
>> "enabled": true, "id": "765a2012198f4751b8457c49932ec80d", "name":<br>
>> "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL":<br>
>> "<a href="http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d" target="_blank">http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d</a>", "region":<br>
>> "nova", "internalURL":<br>
>> "<a href="http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d" target="_blank">http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d</a>",<br>
>> "publicURL":<br>
>> "<a href="http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d" target="_blank">http://192.168.164.128:8776/v2/765a2012198f4751b8457c49932ec80d</a>"}],<br>
>> "endpoints_links": [], "type": "volume", "name": "volume"}, {"endpoints":<br>
>> [{"adminURL":<br>
>> "http://${SWIFT_HOST}:8080/v1/AUTH_765a2012198f4751b8457c49932ec80d",<br>
>> "region": "nova", "internalURL": "<a href="http://127.0.0.1:8080" target="_blank">http://127.0.0.1:8080</a>", "publicURL":<br>
>> "http://${SWIFT_HOST}:8080/v1/AUTH_765a2012198f4751b8457c49932ec80d"}],<br>
>> "endpoints_links": [], "type": "storage", "name": "swift"}, {"endpoints":<br>
>> [{"adminURL": "<a href="http://192.168.164.128:9292/v1" target="_blank">http://192.168.164.128:9292/v1</a>", "region": "nova",<br>
>> "internalURL": "<a href="http://192.168.164.128:9292/v1" target="_blank">http://192.168.164.128:9292/v1</a>", "publicURL":<br>
>> "<a href="http://192.168.164.128:9292/v1" target="_blank">http://192.168.164.128:9292/v1</a>"}], "endpoints_links": [], "type": "image",<br>
>> "name": "glance"}, {"endpoints": [{"adminURL":<br>
>> "<a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d" target="_blank">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d</a>", "region":<br>
>> "nova", "internalURL":<br>
>> "<a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d" target="_blank">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d</a>",<br>
>> "publicURL":<br>
>> "<a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d" target="_blank">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d</a>"}],<br>
>> "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints":<br>
>> [{"adminURL": "<a href="http://192.168.164.128:5000/v2.0" target="_blank">http://192.168.164.128:5000/v2.0</a>", "region": "nova",<br>
>> "internalURL": "<a href="http://192.168.164.128:5000/v2.0" target="_blank">http://192.168.164.128:5000/v2.0</a>", "publicURL":<br>
>> "<a href="http://192.168.164.128:35357/v2.0" target="_blank">http://192.168.164.128:35357/v2.0</a>"}], "endpoints_links": [], "type":<br>
>> "identity", "name": "keystone"}], "user": {"username": "admin",<br>
>> "roles_links": [], "id": "842c74e5daa246239426f92b6f5c5dba", "roles":<br>
>> [{"id": "d6d2f681acbf4f91a3bd3522e1c006ae", "name": "admin"}, {"id":<br>
>> "e1428c3c9403494494b53393660a930a", "name": "KeystoneServiceAdmin"}, {"id":<br>
>> "f2a9436d68974a049547c08324a37aed", "name": "KeystoneAdmin"}], "name":<br>
>> "admin"}}}<br>
>> REQ: curl -i<br>
>> <a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d/images/detail" target="_blank">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d/images/detail</a><br>
>> -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H<br>
>> "Accept: application/json" -H "X-Auth-Token:<br>
>> c6d3145f1e924982982b54e52b97bec9"<br>
>> REQ: curl -i<br>
>> <a href="http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d/images/detail" target="_blank">http://192.168.164.128:8774/v2/765a2012198f4751b8457c49932ec80d/images/detail</a><br>
>> -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H<br>
>> "Accept: application/json" -H "X-Auth-Token:<br>
>> c6d3145f1e924982982b54e52b97bec9"<br>
>> RESP:{'date': 'Fri, 04 May 2012 14:08:53 GMT', 'status': '500',<br>
>> 'content-length': '128', 'content-type': 'application/json; charset=UTF-8',<br>
>> 'x-compute-request-id': 'req-3e953b5d-5953-438f-bd9b-20f52f2f4bf2'}<br>
>> {"computeFault": {"message": "The server has either erred or is incapable of<br>
>> performing the requested operation.", "code": 500}}<br>
>> RESP:{'date': 'Fri, 04 May 2012 14:08:53 GMT', 'status': '500',<br>
>> 'content-length': '128', 'content-type': 'application/json; charset=UTF-8',<br>
>> 'x-compute-request-id': 'req-3e953b5d-5953-438f-bd9b-20f52f2f4bf2'}<br>
>> {"computeFault": {"message": "The server has either erred or is incapable of<br>
>> performing the requested operation.", "code": 500}}<br>
><br>
> I'm using ubuntu 12.04 with the default repository packages. All the<br>
> services are running.<br>
><br>
> Regards,<br>
><br>
> Leander<br>
><br>
</div></div>> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>