[rgw][tentacle] Add Restore support from Glacier/Tape cloud endpoints#64360
[rgw][tentacle] Add Restore support from Glacier/Tape cloud endpoints#64360cbodley merged 7 commits intoceph:tentaclefrom
Conversation
607aff7 to
8564d8a
Compare
|
is #62713 ready to merge to main? edit: it merged |
8564d8a to
f07c9fb
Compare
|
jenkins test api |
|
teuthology results - http://pulpito.front.sepia.ceph.com/soumyakoduri-2025-07-08_11:10:02-rgw-wip-skoduri-tentacle-distro-default-smithi/detail The failures reported in few tests seem to be due to missing modules and unrelated to this PR |
i agree that they're unrelated, but they prevented lots of other tests from running after. could you please --rerun? |
Sure! |
…cier/Tape endpoint Restoration of objects from certain cloud services (like Glacier/Tape) could take significant amount of time (even days). Hence store the state of such restore requests and periodically process them. Brief summary of changes * Refactored existing restore code to consolidate and move all restore processing into rgw_restore* file/class * RGWRestore class is defined to manage the restoration of objects. * Lastly, for SAL_RADOS, FIFO is used to store and read restore entries. Currently, this PR handles storing state of restore requests sent to cloud-glacier tier-type which need async processing. The changes are tested with AWS Glacier Flexible Retrieval with tier_type Expedited and Standard. Reviewed-by: Matt Benjamin <mbenjamin@redhat.com> Reviewed-by: Adam Emerson <aemerson@redhat.com> Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com> Reviewed-by: Daniel Gryniewicz <dang@redhat.com> Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit ef96bb0)
In case adding restore entry to FIFO fails, reset the `restore_status` of that object as "RestoreFailed" so that restore process can be retried from the end S3 user. Reviewed-by: Adam Emerson <aemerson@redhat.com> Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com> Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit 9974f51)
In addition, added some more debug statements and done code cleanup Reviewed-by: Adam Emerson <aemerson@redhat.com> Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com> Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit f00ac7c)
Reviewed-by: Adam Emerson <aemerson@redhat.com> Reviewed-by: Matt Benjamin <mbenjamin@redhat.com> Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit b3c867a)
f07c9fb to
7502b8c
Compare
|
from https://jenkins.ceph.com/job/ceph-api/99806/ |
Use new neorados/FIFO routines to store restore state. Note: Old librados ioctx is also still retained as it is needed by RestoreRadosSerializer. Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit faf06bc)
Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit a981b4c)
Fix the version of `restore_pool` and `dedup_pool` to be compatible with earlier releases. Signed-off-by: Soumya Koduri <skoduri@redhat.com> (cherry picked from commit b6fc0be)
7502b8c to
dc123a7
Compare
I have addressed the conflicts and also ran cloud-transition/restore tests for sanity check - I guess this is now ready to be merged. |
This is backport of below PRs, which adds Restore support for Glacier/Tape endpoints.
#62713
#64361
Fixes: https://tracker.ceph.com/issues/72015
Signed-off-by: Soumya Koduri skoduri@redhat.com
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 Definition