Description of problem:
When using an MCG bucket with an Azure backingstore random objects don't get transitioned to the cloud provider.
Normally one object from a bucket that has the LC applied to transition to the cloud doesn't get moved:
On-premise:
aws s3 --ca-bundle /etc/pki/ca-trust/source/anchors/myCA.pem --profile rgw --endpoint https://ceph-bos-2.makestoragegreatagain.com:8043 --region default ls s3://transition/
2022-11-02 13:08:42 3847 transition1
2022-11-02 12:53:31 0 transition2
2022-11-02 12:53:31 0 transition3
2022-11-02 12:54:27 0 transition4
2022-11-02 12:53:31 0 transition5
2022-11-02 13:12:28 0 transition6
2022-11-02 13:10:15 0 transition7
2022-11-02 13:12:28 0 transition
The object remains in SC STANDARD
aws s3api --ca-bundle /etc/pki/ca-trust/source/anchors/myCA.pem --profile rgw --endpoint https://ceph-bos-2.makestoragegreatagain.com:8043 --region default head-object --bucket transition --key transition1
{
"AcceptRanges": "bytes",
"LastModified": "2022-11-02T11:48:58+00:00",
"ContentLength": 3847,
"ETag": "\"46ecb42fd0def0e42f85922d62d06766\"",
"ContentType": "binary/octet-stream",
"Metadata": {}
The rest of the objects are transitioned fine to the cloud provider.
aws s3api --ca-bundle /etc/pki/ca-trust/source/anchors/myCA.pem --profile rgw --endpoint https://ceph-bos-2.makestoragegreatagain.com:8043 --region default head-object --bucket transition --key transition2
{
"AcceptRanges": "bytes",
"LastModified": "2022-11-02T11:53:31+00:00",
"ContentLength": 0,
"ETag": "\"46ecb42fd0def0e42f85922d62d06766\"",
"ContentType": "binary/octet-stream",
"Metadata": {},
"StorageClass": "CLOUDTIER"
Version-Release number of selected component (if applicable):
ceph version 17.2.3-55.el9cp (e57fd6f8008c472ddf2115482308a726e8f4fc0b) quincy (stable)
How reproducible:
Create an MCG/Azure backing store.
Configure RGW Storage class with MCG credentials
Configure an LC for a bucket on-prem
Watch that randomly, usually the first object in the bucket doesn't get transitioned to MCG
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
All objects get transitioned
Additional info:
Comment 1RHEL Program Management
2022-11-03 07:40:25 UTC
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 (Red Hat Ceph Storage 6.0 Bug Fix update), 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://access.redhat.com/errata/RHBA-2023:1360