[IMPROVEMENT] Consolidate the mounts in longhorn-manager and instance-manager #5883
Labels
component/longhorn-manager
Longhorn manager (control plane)
kind/improvement
Request for improvement of existing function
priority/0
Must be fixed in this release (managed by PO)
Milestone
Is your improvement request related to a feature? Please describe (馃憤 if you like this request)
As per #5856 (comment), there will be some potential leftover backup store mount points (nfs/cifs) which are built into the Kernel after resetting the backup store.
Currently, the backup store will be mounted in the below two places:
How to detach unused mount points when updating the backup target should be consistent for different cases as mentioned in #5856 (comment), the solution is like longhorn/longhorn-manager#1848
The current situation is if the nfs backup store is reset, there will be a leftover. Before v1.4, A nfs mount is a hard mount for the nfs backup store, so it would cause high CPU usage if there are some leftover mount points. After that, there will be leftover mount points but will not cause critical resource consumption until this issue is fixed.
Describe the solution you'd like
As above
Additional context
After discussed with @derekbit
We agree the scope of this issue is to see if we can move the backup related operation like
list
,remove
from longhorn-manager to longhorn-instance-manager.cc @ChanYiLin @derekbit @longhorn/qa
The text was updated successfully, but these errors were encountered: