Install and configure in Openstack(Glance) Installation Guide for Ubuntu 14.04  - juno

Bug #1392565 reported by Frank Duan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Unassigned
openstack-manuals
Invalid
Medium
Darren Chan

Bug Description

The following configuration item:

default_store = file

should in the default section, instead of glance_store section

-----------------------------------
Built: 2014-11-12T16:08:49 00:00
git SHA: 89c0d5ea2ded32ed1ae95637e7b690cee891b6a5
URL: http://docs.openstack.org/juno/install-guide/install/apt/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

Darren Chan (dazzachan)
Changed in openstack-manuals:
status: New → Confirmed
assignee: nobody → Darren Chan (dazzachan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
status: Confirmed → In Progress
Darren Chan (dazzachan)
Changed in openstack-manuals:
milestone: none → juno
importance: Undecided → Medium
milestone: juno → none
Darren Chan (dazzachan)
Changed in openstack-manuals:
status: In Progress → Incomplete
Revision history for this message
Darren Chan (dazzachan) wrote :

In the code https://github.com/openstack/glance_store/commit/7d15d0189860cf927745373dbbe85d0a5f8b0f9e, it says [default] is deprecated. This has been replaced by [glance_store] shown in https://github.com/openstack/glance_store/commit/74a472d314f3a22c63f5e85ff1e79e4ad6937c5c. It is also documented here: http://docs.openstack.org/juno/config-reference/content/glance-conf-changes-juno.html

However the configuration file snippet in http://docs.openstack.org/juno/config-reference/content/section_glance-api.conf.html shows default_store = file under [default].

Can I get clarification on the correct glance configuration?

Revision history for this message
Matt Kassawara (ionosphere80) wrote :

Why does the example configuration file in the repository [1] show '[DEFAULT] default_store', but the configuration reference [2][3] shows '[glance_store] default_store'?

[1] https://github.com/openstack/glance/blob/master/etc/glance-api.conf
[2] http://docs.openstack.org/juno/config-reference/content/image-configuring-api.html
[3] http://docs.openstack.org/juno/config-reference/content/glance-conf-changes-juno.html

Revision history for this message
Ian Cordasco (icordasc) wrote :

Judging by https://github.com/openstack/glance_store/commit/74a472d314f3a22c63f5e85ff1e79e4ad6937c5c (linked by Darren), it looks like [DEFAULT]/default_store has been deprecated in favor of [glance_store]/default_store. The documentation should then appropriately recommend and prefer [glance_store]/default_store to [DEFAULT]/default_store.

As for why the example config in #3/[1] shows it under [DEFAULT], we just need that file to be regenerated.

Changed in glance:
importance: Undecided → Low
status: New → Triaged
tags: added: low-hanging-fruit
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-manuals (master)

Change abandoned by Darren Chan (<email address hidden>) on branch: master
Review: https://review.openstack.org/134437
Reason: This patch is not valid. [DEFAULT]/default_store was deprecated.

Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: Incomplete → Confirmed
Hideki Saito (saitou)
Changed in glance:
assignee: nobody → Hideki Saito (saitou)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: Triaged → In Progress
Darren Chan (dazzachan)
Changed in openstack-manuals:
status: Confirmed → Invalid
Revision history for this message
Darren Chan (dazzachan) wrote :

Please ignore the comment #7. Sorry, wrong bug! :s

Revision history for this message
Hideki Saito (saitou) wrote :
Changed in glance:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (master)

Change abandoned by Hideki Saito (<email address hidden>) on branch: master
Review: https://review.openstack.org/136637
Reason: This bug was already fixed by https://github.com/openstack/glance/commit/99124f627f2d8506a652b8d09740658215ef6674

Revision history for this message
Ian Cordasco (icordasc) wrote :

@saitou, it was fixed after this bug was opened.

Changed in glance:
status: Invalid → Fix Committed
assignee: Hideki Saito (saitou) → nobody
Revision history for this message
Hideki Saito (saitou) wrote :

@icordasc
I understand about that.
Thank you.

Thierry Carrez (ttx)
Changed in glance:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: kilo-2 → 2015.1.0
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.