Glance configuration file instructions may be incorrect...
Closed this issue · 3 comments
I've just done a 'apt-get install glance' and the resulting config files in /etc/glance/ are not matching up to what your instructions indicate should be edited. Specifically, doing a 'cat glance-registry-paste.ini' after glance install results in:
# Use this pipeline for no auth - DEFAULT [pipeline:glance-registry] pipeline = unauthenticated-context registryapp # Use this pipeline for keystone auth [pipeline:glance-registry-keystone] pipeline = authtoken context registryapp [app:registryapp] paste.app_factory = glance.registry.api.v1:API.factory [filter:context] paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory [filter:unauthenticated-context] paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory
Notice the lack of the SERVICE tenant's name, user and password entries.
I'm not sure if someone changed something upstream, or I've done a prior step incorrectly and installed a strange version of glance without the credential settings in it. Can you confirm we should be adding auth info to this file, and not the glance-registry.conf file?
I've confirmed the instructions are wrong.
See: http://bcwaldon.cc/2012/09/05/glance-essex-to-folsom-upgrade.html
Hi Kord,
Sorry for taking long to answer, i was on a mission.
The glance conf are fine and no modification is required!
----- Mail original -----
De: "Kord Campbell" notifications@github.com
À: "mseknibilel/OpenStack-Folsom-Install-guide" OpenStack-Folsom-Install-guide@noreply.github.com
Envoyé: Lundi 28 Janvier 2013 17:34:43
Objet: {Disarmed} Re: [OpenStack-Folsom-Install-guide] Glance configuration file instructions may be incorrect... (#66)
I've confirmed the instructions are wrong.
See: http://bcwaldon.cc/2012/09/05/glance-essex-to-folsom-upgrade.html
—
Reply to this email directly or view it on GitHub . Web Bug from https://github.com/notifications/beacon/I1T5EjfDb5OWgQ2B_759LUqTZ2BaXpmjQBErwbFKRARmpg6FjOkdwtnnoJM0gyR6.gif
According to the official docs: http://docs.openstack.org/trunk/openstack-compute/install/yum/content/configure-glance-files.html, there needs to be an entry in glance-api.conf to force using glance-api-paste.ini pipelines:
[paste_deploy]
# Name of the paste configuration file that defines the available pipelines
config_file = /etc/glance/glance-api-paste.ini
I think you'll find that without that line in the .conf file, which your instructions leave out, your paste.ini file is going to get ignored. Probably works either way though, so it's not a blocker to it installing and working.