Install the Image Service in OpenStack Installation Guide for Debian 7.0 (Wheezy)  - icehouse

Bug #1310048 reported by Dennis Rasey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Low
Thomas Goirand

Bug Description

Chapter 6. Configure the Image Service | Install the Image Service
Item # 3 references making the following changes:

<<<<
Edit /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf and edit the [database] section of each file:

[database]
connection = mysql://glance:GLANCE_DBPASS@controller/glance
>>>>

On a freshly updated Sid install, debconf seems to pick different values.
The debconf values seems to work, where-as using the documented ones fail (also played around with 'controller' v 'localhost', but could only get things working using localhost, though the 'controller' resolves properly )

/etc/glance/glance-api.conf
connection = mysql://glance-common:<REDACTED>@localhost/glancedb
connection = mysql://glance:GLANCE_DBPASS@controller/glance

/etc/glance/glance-registry.conf
connection = mysql://glance-common:<REDACTED>@localhost/glancedb
connection = mysql://glance:GLANCE_DBPASS@controller/glance

-----------------------------------
Built: 2014-04-19T14:32:29 00:00
git SHA: e5e64f4bf87e9442bcc0e5386a0e416b7530842b
URL: http://docs.openstack.org/icehouse/install-guide/install/apt-debian/content/glance-install.html
source File: file:/home/jenkins/workspace/openstack-manuals-tox-doc-publishdocs/doc/install-guide/section_glance-install.xml
xml:id: glance-install

Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

The config files for glance have been updated just a few days before the Icehouse release, might be that Debian did not incorporate the change fully yet.

Changed in openstack-manuals:
assignee: nobody → Thomas Goirand (thomas-goirand)
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → icehouse
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Hi,

I'm not sure I understand what this bug is about. Could someone care to explain a bit more clearly?

Thomas

Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

If I understand correctly, the database configuration is done by debconf on debian, and the user shouldn't change the database/connection value. I think that we should exclude debian from this para in section_glance-install.xml.

Thomas, does this ok to you? Thanks!

Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Hi,

Indeed, it's automatic in Debian. I'll try to take care of it.

Revision history for this message
Dennis Rasey (drasey-x) wrote :

Folks,
Firstly, apologies for badly worded initial report.

Regarding removing Debian from this paragraph/section; would it make sense to just note this 'isn't needed' if using Debconf (I'm assuming NOT using Debconf might require some user intervention on Debian systems).

-Dennis

Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Hi,

It doesn't make sense to write about debconf and database setup at all, when there's a full chapter talking about just that. It just makes it harder for readers if it is still present.

Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/90324

Changed in openstack-manuals:
status: Triaged → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/90324
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=711bce5d80d5ab3f14918250958510f5c79bb50f
Submitter: Jenkins
Branch: master

commit 711bce5d80d5ab3f14918250958510f5c79bb50f
Author: Thomas Goirand <email address hidden>
Date: Fri Apr 25 17:23:31 2014 +0800

    No manual db setup in Debian

    In Debian, there's no need to do manual configuration
    of the database settings, as this is handled by debconf.
    This patch removes the step for the Debian guide, and also
    removes the step where Glance daemons are restarted (also
    not needed in Debian).

    Change-Id: I964669492277b0d13a46c8ad8009c51aa6e0c493
    Closes-bug: #1310048

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

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.