Project

General

Profile

Bug #16856

ACL request for objects with underscore at end and beginning

Added by Martin Born over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
Start date:
07/29/2016
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
jewel
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

It seems that an ACL-request to an object starting with an underscore and ending with another underscore is
broken (e.g. temp ) . The Api returns "NoSuckKey". Similar to ticket http://tracker.ceph.com/issues/11442 .

Tested in Version 10.2.2


Related issues

Related to rgw - Bug #17443: rgw: versioning is broken in current master Resolved 09/30/2016
Copied to rgw - Backport #17480: jewel: ACL request for objects with underscore at end and beginning Resolved

History

#1 Updated by Martin Born over 2 years ago

e.g. _temp_

#2 Updated by Abhishek Lekshmanan over 2 years ago

I'm guessing we end up setting namespace for the object as temp here (rgw_common: from_index_key()) and this starts the problem

#3 Updated by Abhishek Lekshmanan over 2 years ago

I've a wip-patch for this at https://github.com/ceph/ceph/pull/10528

#4 Updated by Abhishek Lekshmanan over 2 years ago

  • Assignee deleted (Yehuda Sadeh)

#5 Updated by Abhishek Lekshmanan over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Yehuda Sadeh

#6 Updated by Orit Wasserman over 2 years ago

I have a fix less intrusive:
https://github.com/ceph/ceph/pull/10939

#7 Updated by Yehuda Sadeh over 2 years ago

  • Status changed from In Progress to Need Review

#8 Updated by Matt Benjamin over 2 years ago

  • Assignee changed from Yehuda Sadeh to Matt Benjamin

#9 Updated by Ken Dreyer over 2 years ago

  • Status changed from Need Review to Pending Backport
  • Backport changed from Jewel to jewel

#10 Updated by Yehuda Sadeh over 2 years ago

  • Related to Bug #17443: rgw: versioning is broken in current master added

#11 Updated by Yehuda Sadeh over 2 years ago

Note that when backporting this fix, also need to backport the fix to http://tracker.ceph.com/issues/17443.

#12 Updated by Loic Dachary over 2 years ago

  • Copied to Backport #17480: jewel: ACL request for objects with underscore at end and beginning added

#13 Updated by Loic Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF