Project

General

Profile

Bug #5691

All bucket ACLs lost after upgrade

Added by Faidon Liambotis over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I upgraded from 0.66 to current next, 8c5e1db4fb76b5e1fcf6721ad210f143a571d7b8 (via c0e77c91b6c39998ef4e19a726db87b66850cf2c, see #5675).

After the upgrade, all of my buckets show no ACLs at all using the Swift interface. Logs say "WARNING: couldn't find acl header for bucket, generating default".

Associated revisions

Revision 20bc09c6 (diff)
Added by Yehuda Sadeh over 10 years ago

rgw: read attributes when reading bucket entry point

Fixes: #5691

We need to also read the attributes, as bucket might be a legacy
bucket and might have all bucket instance info in that object.

Signed-off-by: Yehuda Sadeh <>
Reviewed-by: Greg Farnum <>
Tested-by: Faidon Liambotis <>

History

#1 Updated by Ian Colle over 10 years ago

  • Assignee set to Yehuda Sadeh

#2 Updated by Yehuda Sadeh over 10 years ago

  • Status changed from New to Fix Under Review
  • Assignee changed from Yehuda Sadeh to Greg Farnum

Pushed fix to wip-5691.

#3 Updated by Faidon Liambotis over 10 years ago

Yes, this worked.

#4 Updated by Greg Farnum over 10 years ago

  • Status changed from Fix Under Review to Resolved

Reviewed-by: Greg Farnum <>
In next at commit:20bc09c668cca01bc1d27c0a860b384d85585ef5

Thanks for the testing! :)

Also available in: Atom PDF