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

Bug(ontap-nas-qtree): unused FlexVols not cleaned up #936

Open
clementnuss opened this issue Oct 17, 2024 · 0 comments
Open

Bug(ontap-nas-qtree): unused FlexVols not cleaned up #936

clementnuss opened this issue Oct 17, 2024 · 0 comments

Comments

@clementnuss
Copy link

clementnuss commented Oct 17, 2024

Describe the bug
The code calling the pruneUnusedFlexVols function has been commented 5 years ago in this commit by @clintonk.
image

As a result, unused flexVols never get cleaned up 🤦🏼

Environment
Provide accurate information about the environment to help us reproduce the issue.

  • Trident version: 24.06, but any version starting from 19.xx mostly

To Reproduce
Steps to reproduce the behavior:

Create a few flexVol with the ontap-nas-economy (ontap-nas-qtree in the code) and observe that FlexVols never get cleaned up.

Expected behavior
The code should be uncommented, the housekeeping task should run, and unused FlexVols should be cleaned up.

@clintonk can you remember the rationale ?

As an enterprise user of netapp, we have to spend time chasing around deleted_ Qtrees and empty FlexVols. The feature should at least be made optional in my eyes

clementnuss added a commit to clementnuss/trident that referenced this issue Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants