In multisite environment, objects containing "/" in the name are not synced

Bug #1974138 reported by Giuseppe Petralia
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph RADOS Gateway Charm
In Progress
Undecided
Unassigned

Bug Description

Steps to reproduce:
===================

1. Create new object on primary zone in "test-sync-bucket" callend "obj-no-slash"

2. Object is synced correctly

From secondary:
$ python3 list_bucket.py $s3_creds test-sync-bucket
obj-no-slash

3. Create object with slash called "object-/with-slash" on Primary

4. Object is not replicated.

From secondary:
$ python3 list_bucket.py $s3_creds test-sync-bucket
obj-no-slash

but the object is present on the Primary:
$ python3 list_bucket.py $s3_creds test-sync-bucket
obj-no-slash
object-/with-slash

Note: same happens if the object is created on the secondary, it will not be replicated on the primary

Expected result:
================

"object-/with-slash" is replicated correctly

Revision history for this message
Giuseppe Petralia (peppepetra) wrote :

Apparently adding to the apache2

AllowEncodedSlashes On

fix the issue.

Revision history for this message
Trent Lloyd (lathiat) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-radosgw (master)
Changed in charm-ceph-radosgw:
status: New → In Progress
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.