[Swift] Mismatch Tenant

Bug #971592 reported by Hugo Kou
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Chmouel Boudjnah

Bug Description

* When I test devstack with DashBoard and Swift , I failed to retrieve container list also failed to create container

Seems that Swift denied the operation due to tenant mismatch from
AUTH_%tenant_id% to %tenant_id%

swift No Authorization header. skipping.
swift Using identity: {'roles': [u'admin'], 'user': u'swift', 'tenant': (u'cf1f4b713b7d40b1acacd0b9b943b57b', u'service')}
swift tenant mismatch: AUTH_cf1f4b713b7d40b1acacd0b9b943b57b != cf1f4b713b7d40b1acacd0b9b943b57b (txn: txab2400ffb0e849bea00ed4970fbc307f) (client_ip: 10.103.0.157)
swift 10.103.0.157 10.103.0.157 02/Apr/2012/14/38/45 HEAD /v1/AUTH_cf1f4b713b7d40b1acacd0b9b943b57b/11 HTTP/1.0 404 - python-cloudfiles/1.7.10 bd3776d4bafa4deba24f46092c63342a - - - txab2400ffb0e849bea00ed4970fbc307f - 0.0107 -

Changed in devstack:
assignee: nobody → Chmouel Boudjnah (chmouel)
Revision history for this message
Chmouel Boudjnah (chmouel) wrote :

I attempt to fix it in this keystone review https://review.openstack.org/#change,6091 in the meantime you can add :

reseller_prefix = AUTH_

in your keystone section of the proxy-server.conf to workaround it.

Revision history for this message
Hugo Kou (tonytkdk) wrote :

Thanks chmouel ,

It works now.

affects: devstack → keystone
tags: added: essex-rc-potential
Changed in keystone:
status: New → In Progress
Dolph Mathews (dolph)
Changed in keystone:
milestone: none → essex-rc2
importance: Undecided → Low
Thierry Carrez (ttx)
tags: removed: essex-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/6091
Committed: http://github.com/openstack/keystone/commit/6e43d30e98ebbfec22d7749f4da5debb2f8394d6
Submitter: Jenkins
Branch: master

commit 6e43d30e98ebbfec22d7749f4da5debb2f8394d6
Author: Chmouel Boudjnah <email address hidden>
Date: Mon Apr 2 17:15:47 2012 +0200

    Add a _ at the end of reseller_prefix default.

    - Fixes bug 971592.

    Change-Id: Ic9edb2b8b0043413e4ec16de9c669646ae4230a6

Changed in keystone:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/6190

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (milestone-proposed)

Reviewed: https://review.openstack.org/6190
Committed: http://github.com/openstack/keystone/commit/aa542c420aa283968a0154a29038ec0bb1be9326
Submitter: Jenkins
Branch: milestone-proposed

commit aa542c420aa283968a0154a29038ec0bb1be9326
Author: Chmouel Boudjnah <email address hidden>
Date: Mon Apr 2 17:15:47 2012 +0200

    Add a _ at the end of reseller_prefix default.

    - Fixes bug 971592.

    Change-Id: Ic9edb2b8b0043413e4ec16de9c669646ae4230a6

Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-rc2 → 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.