Skip to content

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

Open
soumyakoduri wants to merge 1 commit intoceph:mainfrom
soumyakoduri:wip-restore-storage-class
Open

rgw/cloud-restore: Restoring to non-existent storage-class should fail#67601
soumyakoduri wants to merge 1 commit intoceph: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 skoduri@redhat.com

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 <skoduri@redhat.com>
@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
Copy link
Copy Markdown
Contributor

mheler commented Mar 4, 2026

lgtm

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