Ask Your Question

public glance server without authentication

asked 2014-06-11 10:08:00 -0500

sTe gravatar image

Is it possible to set up a public glance server without authentication (without keystone)? I have set flavor=cachemanagement into /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf, in order to skip the keystone filter within the pipeline, but how can I upload images?

edit retag flag offensive close merge delete


So, your intend skip all steps mentioned above. Right ?

dbaxps gravatar imagedbaxps ( 2014-06-11 10:43:13 -0500 )edit

yes. no keystone at all, if it is possible.

sTe gravatar imagesTe ( 2014-06-11 10:44:48 -0500 )edit

I guess glance would be unable communicate with AMQP Server, Nova and other Openstack Services without creating glance database managed by keystone.

dbaxps gravatar imagedbaxps ( 2014-06-11 11:09:15 -0500 )edit

@dbaxps There's no releation between the AMQP server and what glance is using for authentication.

flaper87 gravatar imageflaper87 ( 2014-06-11 11:18:30 -0500 )edit

Image-id is used by Nova && Cinder and is stored in images table of glance database. I hardly understand, how Nova && Cinder will do their job not relaying on images table. It doesn't mean at all that it's impossible.

dbaxps gravatar imagedbaxps ( 2014-06-11 11:54:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-11 11:17:44 -0500

You've done what's needed server side. In order to upload an image, you need to tell the client where glance is and pass a fake token to it.

glance --os-image-api-version 2 -U -A test image-create ...
edit flag offensive delete link more


the command doesn't work with --os-image-api-version 2. it only works with --os-image-api-version 1. does anybody know why?

sTe gravatar imagesTe ( 2014-06-18 04:45:24 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-06-11 10:08:00 -0500

Seen: 451 times

Last updated: Jun 11 '14