Googled my way out of it. <a href="http://forums.openstack.org/viewtopic.php?f=13&t=1063">this link</a> solved the problem, more precisely Sanscard's post. Thanks everyone who helped me through this, I hope someday I can be useful as well! :)<br>
<br><div class="gmail_quote">2012/10/5 Daniel Oliveira <span dir="ltr"><<a href="mailto:dvalbrand@gmail.com" target="_blank">dvalbrand@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That was it, the 500 error is gone (I can't believe I didn't notice the typo, ffs...). Now I'm getting a 503 Error though. Gonna try to figure something out.<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">
2012/10/5 Asher Newcomer <span dir="ltr"><<a href="mailto:ashernew@gmail.com" target="_blank">ashernew@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">It looks like you have an error in an endpoint internalURL. Do a 'keystone endpoint-list' and make sure that the url stings look good. It appears you've made a typo tenand_id -> tenant_id.</span><br>


<br></div><div class="gmail_quote"><div>On Fri, Oct 5, 2012 at 9:36 AM, Daniel Oliveira <span dir="ltr"><<a href="mailto:dvalbrand@gmail.com" target="_blank">dvalbrand@gmail.com</a>></span> wrote:<br></div>
<div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When I try to glance index, I get the following entry in my /var/log/keystone/keystone.log:<div><br></div><div><font face="courier new, monospace">(root): 2012-10-05 10:21:24, 300 ERRPR u'tenand_id'</font></div><div>



<font face="courier new, monospace">Traceback (most recent call last):</font></div><div><font face="courier new, monospace">  File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 184, in __call__</font></div>



<div><font face="courier new, monospace">    result = method(context, **params)</font></div><div><font face="courier new, monospace">  File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 301, in authenticate</font></div>



<div><font face="courier new, monospace">    metadata=metadata_ref)</font></div><div><font face="courier new, monospace">  File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 48, in _wrapper</font></div>



<div><font face="courier new, monospace">    return f(*args, **kw)</font></div><div><font face="courier new, monospace">  File "/usr/lib/python2.7/dist-packages/keystone/catalog/backends/sql.py", line 169, in get_catalog</font></div>



<div><font face="courier new, monospace">    catalog[region][srv_type]['internalURL'] = internal_url % d</font></div><div><font face="courier new, monospace">KeyError: u'tenand_id'</font></div><div><font face="courier new, monospace"><br>



</font></div><div><font face="arial, helvetica, sans-serif">Any idea on what might be causing this?</font></div><div><div><div><br><div class="gmail_quote">2012/10/5 Daniel Oliveira <span dir="ltr"><<a href="mailto:dvalbrand@gmail.com" target="_blank">dvalbrand@gmail.com</a>></span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My glance-api-paste.ini already had the credentials when I posted the problem. Also, my python-glance package is Essex, just like the other openstack packages. After giving <i>glance -d index</i> as input, I noticed something that's pretty much obvious: The error comes from the response to the attempt at authenticating the user. I'm gonna double-check the credentials in the config files, then gonna report here. <div>



<div><div>
<br><div class="gmail_quote">2012/10/4 Jon Thomas <span dir="ltr"><<a href="mailto:jthomas@redhat.com" target="_blank">jthomas@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>On Thu, 2012-10-04 at 11:41 -0500, Ahmed Al-Mehdi wrote:<br>
> Hi Janis,<br>
><br>
><br>
> Just fyi, in the Folsom release the lines with the "%…%" in<br>
> glance-api.conf  and glance-api-paste.ini are not present.  Document<br>
> instructs user to add the three relevant lines to [filter.authtoken]<br>
> section.<br>
><br>
</div>It looked to me that there were some config file changes in folsom.<br>
<br>
glance index works fine for me and I have in glance-api-paste.ini<br>
<br>
[filter:authtoken]<br>
paste.filter_factory = keystone.middleware.auth_token:filter_factory<br>
delay_auth_decision = true<br>
admin_tenant_name = service<br>
admin_user = glance<br>
admin_password = servicepass<br>
<br>
and in glance-api.conf there is no [filter:authtoken]. However there is<br>
[keystone_authtoken], but it's unchanged<br>
<br>
[keystone_authtoken]<br>
<div>auth_host = 127.0.0.1<br>
auth_port = 35357<br>
auth_protocol = http<br>
admin_tenant_name = %SERVICE_TENANT_NAME%<br>
admin_user = %SERVICE_USER%<br>
admin_password = %SERVICE_PASSWORD%<br>
<br>
</div>Another possiblity for the 500 error might be that the<br>
python-glanceclient package is essex, not folsom. I had a 500 error with<br>
nova that was due to the python-novaclient package being essex, while<br>
nova packages were folsom.<br>
<div><br>
><br>
> Regards,<br>
> Ahmed.<br>
><br>
><br>
><br>
> From: J?nis ?e??eris <<a href="mailto:janis.gengeris@gmail.com" target="_blank">janis.gengeris@gmail.com</a>><br>
> Date: Thursday, October 4, 2012 7:24 AM<br>
> To: Daniel Oliveira <<a href="mailto:dvalbrand@gmail.com" target="_blank">dvalbrand@gmail.com</a>><br>
> Cc: "<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>><br>




> Subject: Re: [Openstack] Just a newbie getting some error messages<br>
><br>
><br>
><br>
> When you have fresh install you will usually have something like this<br>
> in glance-api.conf<br>
><br>
><br>
> [filter:authtoken]<br>
> auth_host = 127.0.0.1<br>
> auth_port = 35357<br>
> auth_protocol = http<br>
> admin_tenant_name = %SERVICE_TENANT_NAME%<br>
> admin_user = %SERVICE_USER%<br>
> admin_password = %SERVICE_PASSWORD%<br>
><br>
><br>
> and something similar inside glance-api-paste.ini<br>
><br>
><br>
> So if you have these lines with %SERVICE_USER%, %SERVICE_PASSWORD%, %<br>
</div>> SERVICE_TENANT_NAME%, you need to replace them all with real user<br>
<div><div>> credentials that have been configured in Keystone.<br>
><br>
><br>
> Here you can see sample config files with the sections configured:<br>
> <a href="http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html" target="_blank">http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-paste-file.html</a><br>





> <a href="http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html" target="_blank">http://docs.openstack.org/trunk/openstack-compute/install/content/glance-api-conf-file.html</a><br>





><br>
> On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira <<a href="mailto:dvalbrand@gmail.com" target="_blank">dvalbrand@gmail.com</a>><br>
> wrote:<br>
>         Hello Janis,<br>
><br>
><br>
>         I'm not sure if I understood what I should replace. Do you<br>
>         mean replacing, for example:<br>
><br>
><br>
>         the line<br>
>         admin_user = glance<br>
>         in the [filter:authtoken] section<br>
><br>
><br>
>         for the line<br>
>         admin_user = %glance?<br>
><br>
><br>
>         and so on for the other credentials?<br>
><br>
>         2012/10/4 J?nis ?e??eris <<a href="mailto:janis.gengeris@gmail.com" target="_blank">janis.gengeris@gmail.com</a>><br>
>                 Hi Daniel,<br>
><br>
><br>
>                 Do you have set up [filter:authtoken] section in<br>
>                 glance-api-paste.ini? You need to replace the strings<br>
>                 with percent signs with correct auth credentials.<br>
><br>
><br>
>                 To get more precise output use, 'glance -d index',<br>
>                 that will show additional debug information.<br>
><br>
>                 On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira<br>
>                 <<a href="mailto:dvalbrand@gmail.com" target="_blank">dvalbrand@gmail.com</a>> wrote:<br>
><br>
>                         Hello,<br>
><br>
><br>
>                         I've been trying to install OpenStack on a<br>
>                         server by following the manual installation<br>
>                         tutorial on <a href="http://openstack.org" target="_blank">openstack.org</a> for Ubuntu Server<br>
>                         12.04 (and that's the OS I'm using,<br>
>                         obviously). But when it comes to test whether<br>
>                         Glance was installed successfully<br>
>                         (<a href="http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html" target="_blank">http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html</a>), I get the following error message:<br>





><br>
><br>
>                         Failed to show index. Got error:<br>
>                         Unexpected responde: 500<br>
><br>
><br>
>                         The same happens when I try to do glance<br>
>                         index, which I guess should produce no output<br>
>                         instead. I really need some help on this,<br>
>                         since I'm not that experient with linux. Sorry<br>
>                         for any grammar errors, english is not my<br>
>                         native language ^_^. Thanks in advance,<br>
><br>
><br>
>                         --<br>
>                         My best regards,<br>
><br>
><br>
>                         Daniel Oliveira.<br>
><br>
><br>
><br>
><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   :<br>
>                         <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
><br>
><br>
><br>
><br>
>                 --<br>
>                 --janis<br>
><br>
><br>
><br>
><br>
>         --<br>
>         My best regards,<br>
><br>
><br>
>         Daniel Oliveira.<br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> --janis<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>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>My best regards,<div><br></div><div>Daniel Oliveira.</div><br>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>My best regards,<div><br></div><div>Daniel Oliveira.</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></div></div><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>My best regards,<div><br></div><div>Daniel Oliveira.</div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>My best regards,<div><br></div><div>Daniel Oliveira.</div><br>