I've think i solved half of the issue, some passwords got mixed up. However i keep getting the same problem.<div><br></div><div>For instance, when i run lance --os_username=glance --os_password=111222333444 --os_tenant=service --os_auth_url=<a href="http://127.0.0.1:5000/v2.0">http://127.0.0.1:5000/v2.0</a> index i get > <a href="http://paste.openstack.org/show/17468/">http://paste.openstack.org/show/17468/</a></div>
<div><br></div><div>and i find this in the keystone 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">
(root): 2012-05-14 13:04:42,742 DEBUG TOKEN_REF {'id': '70ad2536c85b47ceae56574939ab50cf', 'expires': datetime.datetime(2012, 5, 15, 12, 4, 42, 705625), 'user': {u'tenantId': u'5a9081d2830e4ca095156ad33e5ae09f', u'enabled': True, u'email': <a href="mailto:u%27glance@hastexo.com">u'glance@hastexo.com</a>', 'name': u'glance', 'id': u'6ae95f65465e42d1925341267b805b61'}, 'tenant': {u'description': None, u'enabled': True, 'id': u'5a9081d2830e4ca095156ad33e5ae09f', 'name': u'service'}, 'metadata': {u'roles': [u'524eb08c20264f05a0ead30418625b51']}}<br>
(eventlet.wsgi.server): 2012-05-14 13:04:42,748 DEBUG 127.0.0.1 - - [14/May/2012 13:04:42] "POST /v2.0/tokens HTTP/1.1" 200 2032 0.118644<br>(keystone.policy.backends.rules): 2012-05-14 13:04:42,817 DEBUG enforce admin_required: {'tenant_id': u'5a9081d2830e4ca095156ad33e5ae09f', 'user_id': u'6ae95f65465e42d1925341267b805b61', u'roles': [u'admin']}<br>
(eventlet.wsgi.server): 2012-05-14 13:04:42,834 DEBUG 127.0.0.1 - - [14/May/2012 13:04:42] "GET /v2.0/tokens/70ad2536c85b47ceae56574939ab50cf HTTP/1.1" 200 542 0.079579</blockquote></div><div><br></div><div>Any ideas?</div>
<div><br><div class="gmail_quote">On Fri, May 11, 2012 at 1:30 PM, Leander Bessa Beernaert <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">
David, thx for the tip. When i changed to DEBUG e caught this in keystone: <a href="http://paste.openstack.org/show/16935/" target="_blank">http://paste.openstack.org/show/16935/</a> and when i try to access glance directly i get this: <a href="http://paste.openstack.org/show/16936/" target="_blank">http://paste.openstack.org/show/16936/</a><div class="HOEnZb">
<div class="h5"><div>
<div><br><div class="gmail_quote">On Thu, May 10, 2012 at 6:48 PM, David Kranz <span dir="ltr"><<a href="mailto:david.kranz@qrclab.com" target="_blank">david.kranz@qrclab.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
I don't know if this is your problem, but the default log level in
/etc/keystone/logging.conf is WARNING (at least in Ubuntu). I had a
similar issue and saw important stuff in the log after changing that
to DEBUG.<span><font color="#888888"><br>
<br>
-David</font></span><div><div><br>
<br>
On 5/10/2012 11:32 AM, Dolph Mathews wrote:
<blockquote type="cite">Concerning your keystone.log being empty (empty for
the duration of the request, or completely empty?)... is logging
to a specific file configured in your keystone.conf? If not,
keystone just "logs" to stdout.
<div>
<br>
</div>
<div>-Dolph</div>
<br>
<div class="gmail_quote">On Thu, May 10, 2012 at 10:20 AM, Leander
Bessa Beernaert <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">Can anyone
pinpoint what exactly is wrong with this. I've been stuck here
for the past three days, and nothing i do seems to be working
:/
<div>
<div><br>
<br>
<div class="gmail_quote">On Tue, May 8, 2012 at 12:11 PM,
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">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/" target="_blank">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/" target="_blank">http://paste.openstack.org/show/16180/</a></div>
<div><br>
</div>
<div>glance-api.conf > <a href="http://paste.openstack.org/show/16184/" target="_blank">http://paste.openstack.org/show/16184/</a></div>
<div><br>
</div>
<div>glance-registry.conf > <a href="http://paste.openstack.org/show/16185/" target="_blank">http://paste.openstack.org/show/16185/</a></div>
<div><br>
</div>
<div>glance-api-paste.ini > <a href="http://paste.openstack.org/show/16186/" target="_blank">http://paste.openstack.org/show/16186/</a></div>
<div><br>
</div>
<div>glance-registry-pastet-ini > <a href="http://paste.openstack.org/show/16187/" target="_blank">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>
<div>
<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><font color="#888888">
<div>
<br>
</div>
</font></span>
<div><span><font color="#888888">-Dolph</font></span>
<div>
<div><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
<a>"http://${SWIFT_HOST}:8080/v1/..."</a>
-- 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>
>>
<a>"http://${SWIFT_HOST}:8080/v1/AUTH_765a2012198f4751b8457c49932ec80d"</a>,<br>
>>
"region":
"nova",
"internalURL":
"<a href="http://127.0.0.1:8080" target="_blank">http://127.0.0.1:8080</a>",
"publicURL":<br>
>>
<a>"http://${SWIFT_HOST}:8080/v1/AUTH_765a2012198f4751b8457c49932ec80d"</a>}],<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/%7Eopenstack" 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/%7Eopenstack" 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/%7Eopenstack" 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/%7Eopenstack" 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>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<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>
</div></div></blockquote></div><br></div>