Skip to content

rgw/cloud-restore: Restoring to non-existent storage-class should fail - #67601

Merged
soumyakoduri merged 1 commit into
ceph:mainfrom
soumyakoduri:wip-restore-storage-class
Apr 17, 2026
Merged

soumyakoduri merged 1 commit into
ceph:mainfrom
soumyakoduri:wip-restore-storage-class

Conversation

@soumyakoduri

Copy link
Copy Markdown
Contributor

Validate if the restore_storage_class exists before restoring the object. If it doesn't exist, fail the restore operation with EINVAL.

Fixes: https://tracker.ceph.com/issues/75252
Signed-off-by: Soumya Koduri [email protected]

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.

Validate if the restore_storage_class exists before restoring the
object. If it doesn't exist, fail the restore operation with EINVAL.

Signed-off-by: Soumya Koduri <[email protected]>
@github-actions github-actions Bot added the rgw label Mar 2, 2026
@soumyakoduri
soumyakoduri requested review from mheler and thotz March 2, 2026 10:12
@mheler

mheler commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

lgtm

@anrao19

anrao19 commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress...
Tracker created for same is : https://tracker.ceph.com/issues/75780

@anrao19

anrao19 commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress... Tracker created for same is : https://tracker.ceph.com/issues/75780

Pr testing completed. Tacker approved by @ivancich. More details : https://tracker.ceph.com/issues/75780
@soumyakoduri , if no further testing needed, pr can be merged

@soumyakoduri
soumyakoduri merged commit bf2ab87 into ceph:main Apr 17, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

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

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

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

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.

3 participants