Volume size and quotas remain after PVC and qtree deletion
Applies to
Trident for Kubernetes/Openshift
Issue
As for the
ontap-nas
driver, when using the "retain" policy, Trident does not clean up the qtree or the quota on the qtree for ontap-nas-economy
, when the PVC is deleted. However, with the ontap-nas-economy
driver, when you delete the qtree through NFS it will cause the following errors on quota commands:- "Invalid qtree name error in quota initialization"
tree quota exceeded on volume 'trident_qtree_pool_<PREFIX>_<10-LETTERS>'
Then, when a new PVC is requested, and the PVC doesn't fit according to the quota listing, it will fail the request.
If the SVM was set with a maximum number of volumes that has already been reached, the following error will occur:
Cannot create volume. Reason: Maximum volume count for Vserver <SVM> reached. Maximum volume count is <VOL_LIMIT>.