atom feed3 messages in org.openstack.lists.openstack-operatorsRe: [Openstack-operators] Glance is n...
FromSent OnAttachments
Nobuki HaraMay 15, 2012 12:07 am 
Igor LaskovyMay 15, 2012 12:39 am 
Kiall Mac InnesMay 15, 2012 1:41 am 
Subject:Re: [Openstack-operators] Glance is not able to find an endpoint in response from keystone
From:Igor Laskovy (
Date:May 15, 2012 12:39:17 am

Hi Hobuki,

What is the version of this documentation? I can't found this command in my own copy. Look like you have older version with many mistakes in it. On May 15, 2012 10:07 AM, "Nobuki Hara" <> wrote:


I am trying to install and configure glance following "OpenStack Install and
Deploy Manual” (

But I am stuck at the step "Verifying the ImageService Installation" on page23. I had an error that glance was not able to find an endpoint in response from
keystone as below.

(adminUser's $TOKEN is set by hand.)

root@server1:~# glance -d -v -A $TOKEN -R regionOne -k -S keystone -T
openstackDemo --os_auth_url -I adminUser -K
MYPASSWORD index Traceback (most recent call last): File "/usr/bin/glance", line 1040, in <module> result = command(options, args) File "/usr/bin/glance", line 63, in wrapper ret = func(*args, **kwargs) File "/usr/bin/glance", line 551, in images_index print_header=True) File "/usr/bin/glance", line 497, in _images_index images = client.get_images(**parameters) File "/usr/lib/python2.7/dist-packages/glance/", line 60, in
get_images res = self.do_request("GET", "/images", params=params) File "/usr/lib/python2.7/dist-packages/glance/common/", line 60, in
wrapped self._authenticate(force_reauth=True) File "/usr/lib/python2.7/dist-packages/glance/common/", line 394, in
_authenticate auth_plugin.authenticate() File "/usr/lib/python2.7/dist-packages/glance/common/", line 128, in
authenticate _authenticate(auth_url) File "/usr/lib/python2.7/dist-packages/glance/common/", line 120, in
_authenticate self._v2_auth(token_url) File "/usr/lib/python2.7/dist-packages/glance/common/", line 247, in
_v2_auth self.management_url = get_endpoint(resp_auth['serviceCatalog']) File "/usr/lib/python2.7/dist-packages/glance/common/", line 223, in
get_endpoint raise exception.NoServiceEndpoint() glance.common.exception.NoServiceEndpoint: Response from Keystone does not
contain a Glance endpoint.

I confirmed that keystone is correctly installed and endpoints of glance are

root@server1:~# keystone endpoint-list +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+ | id | region | publicurl
| internalurl | adminurl
| +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+ | 4fa0681524dc4807b56c907a3cc2203b | RegionOne |
| |
| | c0e80036d2b14c6db26a47a757b9f840 | RegionOne | | | | | ce51e262118b4aef8c2809c050b88011 | RegionOne | |
| | | d09341a714fb438c8778610383b2982b | RegionOne | | | | | ed4e0b7ad92e4faf83a42921ef475e04 | RegionOne | | | | +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+

And I checked keystone returned a correct json response, by printing
service_catalog in _v2_auth function of

Does anyone who had the same problem, or knows how to solve it?


Chihiro Watanabe