Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup RADOS namespace with forced deletion annotation (backport #14052) #14068

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 12, 2024

If RadosNamespace CR is deleted with rook.io/force-deletion annotation then start a clean up job that will delete the images and snapshots on the radosnamespace.
Steps followed for cleanup:

  • List images in pool
  • List snapshots for each image.
  • Delete snapshots for each image.
  • Move Image to trash
  • Start a task to delete the trash.

Operator logs after deleting radosNamespace CR with annotation
operator-logs.txt

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

This is an automatic backport of pull request #14052 done by [Mergify](https://mergify.com).

Clean up pool images and snapshots in the
radosnamespace

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit f6b1449)
@travisn travisn merged commit fb661a5 into release-1.14 Apr 12, 2024
50 of 52 checks passed
@mergify mergify bot deleted the mergify/bp/release-1.14/pr-14052 branch April 12, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants