Repository navigation
squid: rgw: fix lifecycle transition of encrypted multipart objects - #68807
Conversation
Lifecycle transtion can copy objects to a different storage tier. When this happens, since the object is repacked, the original manifest is invalidated. It is necessary to store a special "parts_len" attribute to fix this. There was code in PutObj to handle this, but that was only used for multisite replication, it is not used by the lifecycle transisiton code. This fix adds similar logic to the lifecycle transition code path to make the same thing happen. Fixes: https://tracker.ceph.com/issues/23264 Signed-off-by: Marcus Watts <[email protected]> (cherry picked from commit 77b8672)
|
This PR has been added to wip-yuri-testing-20260622.143629-squid. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Missing Backport Tracker: Main tracker #23264 does not have a backport tracker for
squid. Please adjust the 'Backports' field on the main tracker appropriately and remove 'backport_processed' from 'Tags (freeform)'.
Automated Backport Parity Review
Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.
Commit Parity Visualizer
| BACKPORT PR #68807 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| <<<< MISSING IN BACKPORT >>>> | PR #63794 | b415ece rgw: involve next on RGWGetObj_BlockDecrypt::fixup_range |
| <<<< MISSING IN BACKPORT >>>> | bfa58a6 rgw: involve next on RGWGetObj_BlockDecrypt::flush | |
| <<<< MISSING IN BACKPORT >>>> | 1c9e356 rgw: teach rgw_s3_prepare_decrypt about source decrypt headers | |
| <<<< MISSING IN BACKPORT >>>> | 2e63108 rgw: gather all get_decrypt_filter together | |
| <<<< MISSING IN BACKPORT >>>> | 95d3bc7 rgw/sal: introduce DataProcessorFactory | |
| <<<< MISSING IN BACKPORT >>>> | b813b17 rgw: pass DataProcessorFactory to copy_object | |
| <<<< MISSING IN BACKPORT >>>> | 81145b1 rgw: introduce DataProcessorFilter | |
| <<<< MISSING IN BACKPORT >>>> | e6a74d8 rgw: introduce RGWCopyObjDPF for RGWCopyObj | |
| <<<< MISSING IN BACKPORT >>>> | fdb78c7 rgw: implement CopyObject for encrypted object | |
| <<<< MISSING IN BACKPORT >>>> | a5f4516 rgw: set compression attrs in copy_obj_data() | |
| b9b6519 rgw: fix lifecycle transition of encrypted multipart objects | 77b8672 rgw: fix lifecycle transition of encrypted multipart objects | |
| <<<< MISSING IN BACKPORT >>>> | 8ceb9b5 rgw: expose copy_source from rgw_s3_prepare_decrypt | |
| <<<< MISSING IN BACKPORT >>>> | c88f305 rgw: always return crypt headers on put obj | |
| <<<< MISSING IN BACKPORT >>>> | caef812 rgw: verify sse-c headers on multipart completion | |
| <<<< MISSING IN BACKPORT >>>> | e4d6835 rgw: sanitize copy source attrs | |
| <<<< MISSING IN BACKPORT >>>> | 16e477d rgw: fix offset calculation in copy_obj_data |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
This PR has been added to squid integration testing by anuchaithra started 2026-07-21-16:30. |
@mheler The Shaman build is failing with this PR. Could you please check? |
@anrao19 could you retry the build? I am not sure how this code could have caused the build issue. |
sure @mheler |
|
jenkins test make check |
|
✅ Audit Override Applied by @batrick. |
|
@adamemerson @ivancich @cbodley review please. |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
This is a partial backport of #63794 , with just the required commit for fixing lifecycle processing for encrypted multipart objects.
Fixes: https://tracker.ceph.com/issues/76413
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.