8000
Skip to content

[Bug]: kadalu-csi-provisioner-0 pod keeps external gluster volumes mounted using 11GB of memory #1083

@ramalhais-sky

Description

@ramalhais-sky

Describe the bug
kadalu-csi-provisioner-0 pod keeps external gluster volumes mounted using 11GB of memory

To Reproduce
Steps to reproduce the behavior:

  1. Create KadaluStorage for several external gluster volumes
  2. kubectl -n kadalu exec -it kadalu-csi-provisioner-0 -c kadalu-provisioner -- bash
  3. Check number of mounts:
root@kadalu-csi-provisioner-0:/# mount -t fuse.glusterfs|wc -l
849
  1. Check memory usage (sum VSS)
root@kadalu-csi-provisioner-0:/# ps auxww|grep glusterfs|awk '{print $6}'|while read; do MEMUSAGE=$(($MEMUSAGE+$REPLY)); echo MEMUSAGE=$MEMUSAGE; done | tail -1
MEMUSAGE=12458344

Expected behavior
kadalu-provisioner should unmount gluster volumes when not needed

Actual behavior
all volumes are kept mounted until restart of kadalu-csi-provisioner-0 pod

Environment:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0