glance api uses deprecated config location for swift

Bug #1391475 reported by Andrew Woodward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Andrew Woodward
puppet-glance
Fix Released
High
Andrew Woodward

Bug Description

This is regression introduced by new Glance code.

in 6.0 config
[DEFAULT]
default_store = swift
swift_store_auth_address=http://10.108.42.2:5000/v2.0/
known_stores=glance.store.swift.Store,glance.store.http.Store
swift_store_create_container_on_put=True
swift_store_user=services:glance
swift_store_auth_version=2
swift_store_container=glance
swift_store_key=Sg4kiW7c
swift_store_large_object_size=200

[glance_store]
swift_store_auth_version = 2
swift_store_auth_address = 127.0.0.1:5000/v2.0/
swift_store_user = jdoe:jdoe
swift_store_key = a86850deb2742ec3cb41518e26aa2d89
swift_store_container = glance
swift_store_create_container_on_put = False
swift_store_large_object_size = 5120
swift_store_large_object_chunk_size = 200
swift_enable_snet = False

Where we should instead be only setting the parameters in [glance_store] now instead of [DEFAULT]

Andrew Woodward (xarses)
Changed in fuel:
status: New → Confirmed
Changed in puppet-glance:
status: New → Confirmed
Changed in fuel:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
assignee: nobody → Andrew Woodward (xarses)
status: Confirmed → In Progress
Mike Scherbakov (mihgen)
description: updated
Changed in fuel:
milestone: none → 6.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-glance (master)

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

Changed in puppet-glance:
assignee: nobody → Andrew Woodward (xarses)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-glance (master)

Change abandoned by Andrew Woodward (<email address hidden>) on branch: master
Review: https://review.openstack.org/133661
Reason: dropped for https://review.openstack.org/#/c/131576/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/133659
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=87aee90f20213b57aa4f7cb63eb00241494ca880
Submitter: Jenkins
Branch: master

commit 87aee90f20213b57aa4f7cb63eb00241494ca880
Author: Emilien Macchi <email address hidden>
Date: Tue Oct 28 17:37:46 2014 -0400

    Update [glance_store] section in glance config for Juno

    Use new parameters for Juno like it's documented here:
    http://docs.openstack.org/trunk/config-reference/content/glance-conf-changes-master.html
    http://docs.openstack.org/trunk/config-reference/content/configuring-image-service-backends.html
    * Use [glance_store] section
    * Update prefix when needed

    From Change-Id: I096b16c33c493270422113e0107a100f967debc6

    Closes-bug: 1391475
    Co-Authored-By: Emilien Macchi <email address hidden>

    Change-Id: I5174e1b6a6d4ac978680325a5fad46001c5ca59f

Changed in fuel:
status: In Progress → Fix Committed
summary: - glance api uses depracated config location for swift
+ glance api uses deprecated config location for swift
tags: added: on-verification
tags: added: verified
removed: on-verification
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Verified on MOS 6.0 ISO #56:
{"build_id": "2014-12-18_01-32-01", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "56", "auth_required": true, "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-18_01-32-01", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "56", "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"}}}, "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"}

Steps To Verify:
1. Configure OpenStack cloud with Ubuntu, HA, 1 controller and 2 compute, Cinder + Ceph, Glance + Swift, Neutron GRE.
2. Deploy this cloud.
3. Check the configuration file /etc/glance/glance-api.conf

Observed Result:
we can see that parameters swift_store_auth_version & swift_store_key and other parameters are located in the right category [glance_store]

Revision history for this message
Emilien Macchi (emilienm) wrote :

Fixed upstream in puppet-glance: https://review.openstack.org/#/c/131576/

Changed in puppet-glance:
status: In Progress → Fix Committed
importance: Undecided → Critical
importance: Critical → High
Mathieu Gagné (mgagne)
Changed in puppet-glance:
milestone: none → 6.0.0
Mathieu Gagné (mgagne)
Changed in puppet-glance:
status: Fix Committed → Fix Released
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.