Glance configuration docs in trunk missing important config change

Bug #1089695 reported by Richard Shaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Brad Topol

Bug Description

http://docs.openstack.org/trunk/openstack-compute/install/apt/content/configure-glance-files.html

Doesn't work for me, out of the box, with Ubuntu 12.04LTS and folsom

Glance registry log was filling up with "ERROR eventlet.wsgi.server [-] Removing dead child 3779"

I found an existing bug report with config changes that resolved the issue

https://bugs.launchpad.net/glance/+bug/1042823

Specifically

1) Update /etc/glance/glance-registry-paste.ini and configure the admin_* values under [filter:authtoken]
[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
admin_tenant_name = service
admin_user = glance
admin_password = glance

2) Update /etc/glance/glance-registry.conf under [paste_deploy]
[paste_deploy]
# Name of the paste configuration file that defines the available pipelines
config_file = /etc/glance/glance-registry-paste.ini
# ______ instead of
# config_file = /etc/glance/glance-api-paste.ini
# in the user guide

Recommended Change

Update /etc/glance/glance-registry-paste.ini by enabling the Identity service, keystone:

# Use this pipeline for keystone auth
[pipeline:glance-registry-keystone]
pipeline = authtoken context registryapp

With

Update /etc/glance/glance-registry-paste.ini by enabling the Identity service, keystone and the authtoken

# Use this pipeline for keystone auth
[pipeline:glance-registry-keystone]
pipeline = authtoken context registryapp

[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
admin_tenant_name = service
admin_user = glance
admin_password = glance

Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Triaged
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/18064
Committed: http://github.com/openstack/openstack-manuals/commit/90a83c94aaaf7db122f01b4508c9f2ea9fdbf4c1
Submitter: Jenkins
Branch: master

commit 90a83c94aaaf7db122f01b4508c9f2ea9fdbf4c1
Author: Brad Topol <email address hidden>
Date: Thu Dec 13 12:33:16 2012 -0600

    Add missing config change to Glance docs (bug 1089695)

    The bug report suggested to changes to the docs but it appeared to me that the one recommened change to glance-registry.conf was already completed. I did complete the other suggested doc change

    Change-Id: Ic025dc345c0fd659bd74a578e60049eadff4a651

Changed in openstack-manuals:
status: Triaged → Fix Released
Revision history for this message
Richard Shaw (richardshaw) wrote :

Thanks, yes it was only the second change that needed applying, I just included the entire section from the bug report for confirmation.

Revision history for this message
Anne Gentle (annegentle) wrote :

Assigning to Brad after the fact, just to have the data.

Changed in openstack-manuals:
assignee: nobody → Brad Topol (btopol)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.