In multisite environment, objects containing "/" in the name are not synced
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-
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-
Apparently adding to the apache2
AllowEncodedSlashes On
fix the issue.