Unclear that you need the account in swift_store_user

Bug #771465 reported by Everett Toews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Hengqing Hu

Bug Description

In glance.conf.sample the comment for swift_store_user reads.

# User to authenticate against the Swift authentication service
swift_store_user = jdoe

When you actually need to prepend the account and a ':' to the username for Swift authentication to work (e.g. swift_store_user = accountname:jdoe)

The comment and the example value should reflect this.

Revision history for this message
Jay Pipes (jaypipes) wrote :

Hmm, it actually depends on whether you are running swauth or some other auth service. But, that said, you are right that it could use some extra comments about "if you use swauth, you're swift_store_user should be "user:account""

Changed in glance:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Jay Pipes (jaypipes)
Revision history for this message
Everett Toews (everett-toews) wrote :

That would be helpful. Ummmm....you meant "account:user" right?

It might also be worthwhile to mention that if you're using swauth then swift_store_auth_address will need auth in the URL and if you're using SSL then you'll need https. E.G.

swift_store_auth_address = https://127.0.0.1:8080/auth/v1.0/

Jay Pipes (jaypipes)
Changed in glance:
assignee: Jay Pipes (jaypipes) → nobody
tags: added: documentation low-hanging-fruit swift
Hengqing Hu (hudayou)
Changed in glance:
assignee: nobody → Hengqing Hu (hudayou)
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/2780

Changed in glance:
status: Triaged → In Progress
Jay Pipes (jaypipes)
Changed in glance:
milestone: none → essex-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

Reviewed: https://review.openstack.org/2826
Committed: http://github.com/openstack/glance/commit/9633697ae08bc222c07b96e777061c7d24f45273
Submitter: Jenkins
Branch: master

commit 9633697ae08bc222c07b96e777061c7d24f45273
Author: Hengqing Hu <email address hidden>
Date: Thu Jan 5 10:27:30 2012 +0800

    Add comments for swift options in glance-api.conf.

    Fixes bug #771465.

    Comments added for the following two options in
    glance-api.conf
        'swift_store_auth_address'
        'swift_store_user'

    Indent reason for BadStoreUri exception in swift.py.

    Change-Id: Ife28e01a4e2344cf1e5a179752d244b68e45d348

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: essex-3 → 2012.1
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.