Skip to content

squid: rgw: fix lifecycle transition of encrypted multipart objects - #68807

Merged
batrick merged 1 commit into
ceph:squidfrom
mheler:squid-backport-77b86722300
Jul 28, 2026
Merged

batrick merged 1 commit into
ceph:squidfrom
mheler:squid-backport-77b86722300

Conversation

@mheler

@mheler mheler commented May 7, 2026

Copy link
Copy Markdown
Contributor

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

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)
@mheler
mheler requested a review from a team as a code owner May 7, 2026 23:34
@github-actions github-actions Bot added the rgw label May 7, 2026
@github-actions github-actions Bot added this to the squid milestone May 7, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@mheler mheler modified the milestones: squid, v19.2.5 Jun 19, 2026
@yuriw

yuriw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri-testing-20260622.143629-squid.

@batrick batrick modified the milestones: v19.2.5, v19.2.6 Jul 21, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 21, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Jul 21, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 21, 2026
@anrao19

anrao19 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@anrao19

anrao19 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@mheler

mheler commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

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? Shaman build - https://shaman.ceph.com/builds/ceph/wip-anuchaithra-testing-20260722.051442-squid

@anrao19 could you retry the build? I am not sure how this code could have caused the build issue.

@anrao19

anrao19 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

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? Shaman build - https://shaman.ceph.com/builds/ceph/wip-anuchaithra-testing-20260722.051442-squid

@anrao19 could you retry the build? I am not sure how this code could have caused the build issue.

sure @mheler

@batrick

batrick commented Jul 27, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 27, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick

batrick commented Jul 27, 2026

Copy link
Copy Markdown
Member

@adamemerson @ivancich @cbodley

review please.

@batrick
batrick merged commit b70e8a6 into ceph:squid Jul 28, 2026
20 of 23 checks passed
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I found one or more Fixes: tags in the commit messages in

git log b70e8a607e42b388a86ffa5c8fd7bddc8a3dcaf0^..b70e8a607e42b388a86ffa5c8fd7bddc8a3dcaf0

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.

Update Log: https://github.com/ceph/ceph/actions/runs/30389949215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants