When you have fresh install you will usually have something like this in glance-api.conf<div><br></div><div><div>[filter:authtoken]</div><div>auth_host = 127.0.0.1</div><div>auth_port = 35357</div><div>auth_protocol = http</div>

<div>admin_tenant_name = %SERVICE_TENANT_NAME%</div><div>admin_user = %SERVICE_USER%</div><div>admin_password = %SERVICE_PASSWORD%</div><div><br></div><div>and something similar inside glance-api-paste.ini</div><div><br>
</div>
<div>So if you have these lines with %SERVICE_USER%, %SERVICE_PASSWORD%, %SERVICE_TENANT_NAME%, you need to replace them all with real user credentials that have been configured in Keystone.</div><div><br></div><div>Here you can see sample config files with the sections configured:</div>

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

</div><br><div class="gmail_quote">On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira <span dir="ltr"><<a href="mailto:dvalbrand@gmail.com" target="_blank">dvalbrand@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello Janis,<div><br></div><div>I'm not sure if I understood what I should replace. Do you mean replacing, for example:</div><div><br></div><div>the line</div><div><i>admin_user = glance</i></div><div>in the [filter:authtoken] section</div>


<div><br></div><div>for the line</div><div><i>admin_user = %glance</i>?</div><div><br></div><div>and so on for the other credentials?</div><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote">2012/10/4 Jānis Ģeņģeris <span dir="ltr"><<a href="mailto:janis.gengeris@gmail.com" target="_blank">janis.gengeris@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Daniel,</div><div><br></div>Do you have set up [filter:authtoken] section in glance-api-paste.ini? You need to replace the strings with percent signs with correct auth credentials.<div>


<br></div><div>To get more precise output use, 'glance -d index', that will show additional debug information.</div>

<br><div class="gmail_quote"><div><div>On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira <span dir="ltr"><<a href="mailto:dvalbrand@gmail.com" target="_blank">dvalbrand@gmail.com</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>

Hello,<div><br></div><div>I've been trying to install OpenStack on a server by following the manual installation tutorial on <a href="http://openstack.org" target="_blank">openstack.org</a> for Ubuntu Server 12.04 (and that's the OS I'm using, obviously). But when it comes to test whether Glance was installed successfully (<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:</div>





<div><br></div><div><i>Failed to show index. Got error:</i></div><div><i>Unexpected responde: 500</i></div><div><i><br></i></div><div>The same happens when I try to do <i>glance index</i>, which I guess should produce no output instead. I really need some help on this, since I'm not that experient with linux. Sorry for any grammar errors, english is not my native language ^_^. Thanks in advance,</div>




<span><font color="#888888">
<div><div><br></div>-- <br>My best regards,<div><br></div><div>Daniel Oliveira.</div><br>
</div>
</font></span><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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>--janis<br>
</font></span></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>--janis<br>