Description of problem: hose objects name beginning and ending with underscores can not be deleted using POST method of js sdk body of http: <Delete xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Object><Key>_new.txt</Key></Object><Object><Key>_new_again.txt</Key></Object></Delete> Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
upstream fix: https://github.com/ceph/ceph/pull/11982
additional fix: https://github.com/ceph/ceph/pull/12262
Orit, would you please check Loic's backport to jewel upstream and approve it if it properly fixes this issue?
(In reply to Ken Dreyer (Red Hat) from comment #4) > Orit, would you please check Loic's backport to jewel upstream and approve > it if it properly fixes this issue? Loic's backport looks good (https://github.com/ceph/ceph/pull/12320), it still needs to pass teuthology run.
Matt, Orit, are we still waiting on a successful Teuthology run with this change, or can it go downstream now?
Moving this bug to verified state. Objects starts and ending with '_' are getting deleted. Before deleting objects: [ubuntu@host023 ~]$ swift -A http://xx.xx.xx.xx:8080/auth/v1.0 -U testuser:swift -K 9DNt6EQQkdOFfslQy3XM7FKQnkpA4C9zfCikHqgs list current_myobj _myobj_ _myobjabc _myobjabc_ my_obj After deleting objects: [ubuntu@host023 ~]$ swift -A http://xx.xx.xx.xx:8080/auth/v1.0 -U testuser:swift -K 9DNt6EQQkdOFfslQy3XM7FKQnkpA4C9zfCikHqgs list current my_obj Python boto used for deleting objects in bulk. Thanks Orit for sharing this information. bucket = conn.get_bucket('current') keys_to_delete = ['_myobj','_myobj_','_myobjabc','_myobjabc_'] result = bucket.delete_keys(keys_to_delete)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0514.html