memcached store old data of tempauth

Bug #1201678 reported by Kun Huang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Kun Huang

Bug Description

data in tempauth is store in config file

if we update that file, and restart the proxy server (for example, add .reseller_admin), memcached now still store old data (without reseller_admin role)

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

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

Changed in swift:
assignee: nobody → Kun Huang (academicgareth)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/37195
Committed: http://github.com/openstack/swift/commit/908e5fcb70e82cbd38e49768cff524ba3cc1571b
Submitter: Jenkins
Branch: master

commit 908e5fcb70e82cbd38e49768cff524ba3cc1571b
Author: Kun Huang <email address hidden>
Date: Tue Jul 16 16:28:32 2013 +0800

    [tempauth] update token if its value changes or expires

    In current codes, tempauth token will be updated only when it expires. In
    token's lifetime, any changes in tempauth config file doesn't update token,
    which means if you update your config file and restart proxy server, the
    role in runtime might not change. So a good fix is updating token when
    it changes or expires.

    fixes bug #1201678

    Change-Id: Ieb080e87268e16d0a2e5896431aa41fcedc7a900

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

Fix proposed to branch: feature/ec
Review: https://review.openstack.org/45897

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (feature/ec)
Download full text (22.6 KiB)

Reviewed: https://review.openstack.org/45897
Committed: http://github.com/openstack/swift/commit/2d5210da89380ba5892f56eb4326082ef3e448d2
Submitter: Jenkins
Branch: feature/ec

commit ce12d66cf970aec6dbbf0dc84500665c62638cd5
Author: Clay Gerrard <email address hidden>
Date: Tue Jul 30 11:44:11 2013 -0700

    fix swift i18n

    Change-Id: I53cea28a6d7593a1b308dbcf77dddf7f40d76cb2

commit 54d5f3bde9c8685a2f5c238fc6af4162a9dae01b
Author: Alex Gaynor <email address hidden>
Date: Mon Sep 9 14:49:39 2013 -0700

    Fixed a suite that was over-indented

    Change-Id: I3d05b29e57b77c3751d9f5ff694085bd082e8eb1

commit 537626ac6b79679ea775a84266901545d1a6a864
Author: Alex Gaynor <email address hidden>
Date: Mon Sep 9 09:58:26 2013 -0700

    Don't stat the path in ``unlink_older_than``

    ``listdir`` already handles the ENOENT and returns an empty list in
    that case.

    Change-Id: I597d7ffa9979f668a856519062839505d26129f2

commit 816c73e0151f5d75e591e8bf490974855037ea58
Author: Dirk Mueller <email address hidden>
Date: Sat Sep 7 16:29:15 2013 +0200

    Add Apache 2.0 licensing headers

    Change-Id: I38fae2a78b2369a897b7f298c1aead9b963bf7c9

commit 00f9d718d2d746ca8664290b79c852bb91fca1cc
Author: Dirk Mueller <email address hidden>
Date: Fri Aug 30 23:56:55 2013 +0200

    Move string expansion outside localisation (H702)

    String expansion should be done outside localisation call (_()),
    otherwise there will never be a matching string found in the
    catalogue.

    Also enable gating on this Hacking check (H702).

    Change-Id: Ie7c89fbfb52629e75d5e68e9afda8bcf50bf4cdd

commit 3d36a76156a5080f29aa32f6fce019d7b4f1e18b
Author: Dirk Mueller <email address hidden>
Date: Wed Aug 28 21:16:08 2013 +0200

    Use Python 3.x compatible except construct

    except x,y: was deprected and is removed in Python 3.x.
    Use "except x as y:" instead which works in any Python
    version >= 2.6.

    Change-Id: I7008c74b807340f3457d3a0c8bd0b83f23169d14

commit 3102ad48d56ec2df00da66307191a9dd711e4784
Author: Dirk Mueller <email address hidden>
Date: Sat Sep 7 10:14:00 2013 +0200

    Do not use locals() for string formatting (H501)

    Fixes a warning triggered by Hacking 0.7.x or newer. There
    is no need to use a positional string formatting here, since
    this is not going to be localized.

    Change-Id: Ie38d620aecb0b48cd113af45cc9ca0d61f8f8ff1

commit 698023f477e2b66a1463aeb7082ef4547d0e6dd7
Author: Peter Portante <email address hidden>
Date: Tue Sep 3 11:10:22 2013 -0400

    Provide a method for retrieving on-disk metadata

    We hide the internal dictionary for the metadata providing a method to
    retrieve it to abstract away the implementation details of how
    DiskFile object provides and maintains that metadata.

    This is in anticipation of the DiskFile API refactoring.

    Change-Id: I1c0dc01a4680bd435512405e2d31fba24421720a
    Signed-off-by: Peter Portante <email address hidden>

commit 9d98070f7b2e06ac8cc30d12523798df4418eed0
Author: Peter Portante <email address hidden>
Date: Tue Sep 3 16:34:09 2013 -0400

    Remove reference to 'file' built-in...

Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.10.0-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in swift:
milestone: 1.10.0-rc1 → 1.10.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.