← Back to team overview

openstack team mailing list archive

Re: Just a newbie getting some error messages

 

Hi Janis,

Just fyi, in the Folsom release the lines with the "%…%" in glance-api.conf  and glance-api-paste.ini are not present.  Document instructs user to add the three relevant lines to [filter.authtoken] section.

Regards,
Ahmed.


From: J?nis ?e??eris <janis.gengeris@xxxxxxxxx<mailto:janis.gengeris@xxxxxxxxx>>
Date: Thursday, October 4, 2012 7:24 AM
To: Daniel Oliveira <dvalbrand@xxxxxxxxx<mailto:dvalbrand@xxxxxxxxx>>
Cc: "openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>" <openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>>
Subject: Re: [Openstack] Just a newbie getting some error messages

When you have fresh install you will usually have something like this in glance-api.conf

[filter:authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%

and something similar inside glance-api-paste.ini

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.

Here you can see sample config files with the sections configured:
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-conf-file.html

On Thu, Oct 4, 2012 at 4:36 PM, Daniel Oliveira <dvalbrand@xxxxxxxxx<mailto:dvalbrand@xxxxxxxxx>> wrote:
Hello Janis,

I'm not sure if I understood what I should replace. Do you mean replacing, for example:

the line
admin_user = glance
in the [filter:authtoken] section

for the line
admin_user = %glance?

and so on for the other credentials?

2012/10/4 J?nis ?e??eris <janis.gengeris@xxxxxxxxx<mailto:janis.gengeris@xxxxxxxxx>>
Hi Daniel,

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.

To get more precise output use, 'glance -d index', that will show additional debug information.

On Thu, Oct 4, 2012 at 4:07 PM, Daniel Oliveira <dvalbrand@xxxxxxxxx<mailto:dvalbrand@xxxxxxxxx>> wrote:
Hello,

I've been trying to install OpenStack on a server by following the manual installation tutorial on openstack.org<http://openstack.org> 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 (http://docs.openstack.org/essex/openstack-compute/install/apt/content/images-verifying-install.html), I get the following error message:

Failed to show index. Got error:
Unexpected responde: 500

The same happens when I try to do glance index, 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,

--
My best regards,

Daniel Oliveira.


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




--
--janis



--
My best regards,

Daniel Oliveira.




--
--janis

Follow ups

References