Bug #5691
All bucket ACLs lost after upgrade
0%
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
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 <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Tested-by: Faidon Liambotis <faidon@wikimedia.org>
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 <greg@inktank.com>
In next at commit:20bc09c668cca01bc1d27c0a860b384d85585ef5
Thanks for the testing! :)