OpenStack Image Registry and Delivery Service (Glance)

Unclear that you need the account in swift_store_user

Reported by Everett Toews on 2011-04-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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.

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)
Everett Toews (everett-toews) wrote :

That would be helpful. 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 =

Jay Pipes (jaypipes) on 2012-01-01
Changed in glance:
assignee: Jay Pipes (jaypipes) → nobody
tags: added: documentation low-hanging-fruit swift
Hengqing Hu (hudayou) on 2012-01-04
Changed in glance:
assignee: nobody → Hengqing Hu (hudayou)

Fix proposed to branch: master

Changed in glance:
status: Triaged → In Progress
Jay Pipes (jaypipes) on 2012-01-04
Changed in glance:
milestone: none → essex-3

Fix proposed to branch: master

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

    Indent reason for BadStoreUri exception in

    Change-Id: Ife28e01a4e2344cf1e5a179752d244b68e45d348

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-01-25
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers