Ask Your Question
0

publicURL endpoint for image not found.

asked 2013-11-07 03:21:57 -0500

siugaron gravatar image

Hi all/ I need help Trying install and run openstack-glance-api. Service is running, but when i try to run the any command recive: publicURL endpoint for image not found. No logs error. [root@controller ~]# glance --debug image-list publicURL endpoint for image not found.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-11-07 03:31:42 -0500

dheeru gravatar image

Did you define the service and endpoints in keystone for glance ? Can you paste 'keystone service-list' and keystone endpoint-list output ?

edit flag offensive delete link more

Comments

Yes, defined, but the service does not see what need

siugaron gravatar imagesiugaron ( 2013-11-07 03:54:35 -0500 )edit

1. This looks correct to me. 2. What do you mean by 'service does not see what I need?". 3. Did you check verifcation steps as in http://docs.openstack.org/havana/install-guide/install/apt/content/glance-verify.html 4. Define the keystone authentication in glance.conf ? 5. Hope you have right user,tenant and role defined.

dheeru gravatar imagedheeru ( 2013-11-07 04:08:55 -0500 )edit

I do all by manual what you give me.
My conf:
[keystone_authtoken]
auth_host = 192.168.150.201
admin_user = glance
admin_tenant_name = service
admin_password = <pass>
5) I hope too)))
2) i meen that glance don't see publicURL. But i din't know why.

siugaron gravatar imagesiugaron ( 2013-11-07 04:16:26 -0500 )edit

Do you see any errors in /var/log/glance/glance*.log ? also what is is the entry in /etc/hosts file ?

dheeru gravatar imagedheeru ( 2013-11-07 04:24:10 -0500 )edit

no. one warning about cinder
2013-11-07 01:13:49.228 2271 WARNING glance.store.base [-] Failed to configure store correctly: Store cinder could not be configured correctly. Reason: Cinder storage requires a context. Disabling add method.

siugaron gravatar imagesiugaron ( 2013-11-07 05:55:45 -0500 )edit
0

answered 2013-11-07 03:51:51 -0500

siugaron gravatar image

updated 2013-11-07 03:55:36 -0500

[root@controller ~]# keystone service-list
+----------------------------------+----------+----------+---------------------------+
| id | name | type | description |
+----------------------------------+----------+----------+---------------------------+
| 5b7988f8a34746879709104193965e72 | glance | image | Glance Image Service |
| 3c5e7bf9c21043a99daf452dc36899d3 | keystone | identity | Keystone Identity Service |
+----------------------------------+----------+----------+---------------------------+
[root@controller ~]# keystone endpoint-list
+----------------------------------+-----------+-----------------------------+-----------------------------+------------------------------+----------------------------------+
| id | region | publicurl | internalurl | adminurl | service_id |
+----------------------------------+-----------+-----------------------------+-----------------------------+------------------------------+----------------------------------+
| 5fe3fb9e1f8344b298bc0518e99780d4 | regionOne | http://controller:5000/v2.0 | http://controller:5000/v2.0 | http://controller:35357/v2.0 | 3c5e7bf9c21043a99daf452dc36899d3 |
| baba220ab06f4f94bfaec31aab3feb89 | regionOne | http://controller:9292 | http://controller:9292 | http://controller:9292 | 5b7988f8a34746879709104193965e72 |
+----------------------------------+-----------+-----------------------------+-----------------------------+------------------------------+----------------------------------+

edit flag offensive delete link more
0

answered 2013-11-18 08:49:40 -0500

obuisson gravatar image

Hello,

I had the same behavior with glance-api. During the creation of the glance endpoint in keystone, the default region is 'regionOne'. The default region in glance client seems to be 'RegionOne' instead of 'regionOne'.

Try "glance --os-region-name=regionOne image-list" or recreate your endpoint in keystone with "--region=RegionOne".

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-11-07 03:21:57 -0500

Seen: 7,646 times

Last updated: Nov 18 '13