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

Snapshot objects are not properly cleaned up during backup delete #147

Open
sushanthakumar opened this issue Feb 10, 2023 · 0 comments · May be fixed by #148
Open

Snapshot objects are not properly cleaned up during backup delete #147

sushanthakumar opened this issue Feb 10, 2023 · 0 comments · May be fixed by #148
Assignees

Comments

@sushanthakumar
Copy link
Collaborator

Issue/Feature Description:
When backup is performed in kahu for csi volumes, csi volume snapshots are created through csi drivers.
Kahu also creates its own volume snapshot crds to keep track of the backup.

When backup is deleted, these snapshot objects are expected to be deleted. But in current flow, these objects still exists after backup delete

Expectation: These snapshot objects to be deleted during backup delete

Why this issue to fixed / feature is needed(give scenarios or use cases):
This issue will result in lot of stale objects to be present in the system which will consume unnecessary system resources

How to reproduce, in case of a bug:
1)Kahu is deployed with nfs provider and openebs zfs provider
image

  1. Backup is created for an application having csi volume provisioned from openebs zfs
    image

  2. Backup is deleted but snapshot objects are still not deleted
    image

Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants