https://rancher.com/ logo
#longhorn-storage
Title
# longhorn-storage
a

adamant-kite-43734

11/29/2022, 4:17 AM
This message was deleted.
a

acceptable-printer-7134

11/29/2022, 4:21 AM
Copy code
kubelet  MountVolume.MountDevice failed while expanding volume for volume "pvc-bd4ba064-1ac6-4c9a-ad28-efe16fb72b25" : Expander.NodeExpand found CSI plugin <http://kubernetes.io/csi/driver.longhorn.io|kubernetes.io/csi/driver.longhorn.io> to not support node expansion
a

acceptable-printer-7134

11/29/2022, 4:29 AM
quick look at our storage-class if anything missing there
Copy code
🕙 09:57:50 ❯ kubectl get sc longhorn -o yaml
allowVolumeExpansion: true
apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
kind: StorageClass
metadata:
  annotations:
    <http://longhorn.io/last-applied-configmap|longhorn.io/last-applied-configmap>: |
      kind: StorageClass
      apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
      metadata:
        name: longhorn
        annotations:
          <http://storageclass.kubernetes.io/is-default-class|storageclass.kubernetes.io/is-default-class>: "true"
      provisioner: <http://driver.longhorn.io|driver.longhorn.io>
      allowVolumeExpansion: true
      reclaimPolicy: "Delete"
      volumeBindingMode: Immediate
      parameters:
        numberOfReplicas: "3"
        staleReplicaTimeout: "30"
        fromBackup: ""
        fsType: "ext4"
        dataLocality: "disabled"
    <http://storageclass.kubernetes.io/is-default-class|storageclass.kubernetes.io/is-default-class>: "true"
  creationTimestamp: "2022-08-10T16:16:54Z"
  name: longhorn
  resourceVersion: "138486055"
  uid: f5d4a193-352b-48b2-8d76-80432bd1b32b
parameters:
  dataLocality: disabled
  fromBackup: ""
  fsType: ext4
  numberOfReplicas: "3"
  staleReplicaTimeout: "30"
provisioner: <http://driver.longhorn.io|driver.longhorn.io>
reclaimPolicy: Delete
volumeBindingMode: Immediate
we tried editing PVC to expand storage. didn't help...any logs we can see @creamy-pencil-82913 i am thinking to check longhorn manager logs on the node where pvc volume is attached.
i see this message for pvc events
Copy code
Events:
  Type     Reason             Age                 From           Message
  ----     ------             ----                ----           -------
  Warning  ExternalExpanding  13s (x2 over 126m)  volume_expand  Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
looks like some config missing in our setup, can you help spot that.
FYI - longhorn version
v1.3.0
can we get some help around this issue
Copy code
Expander.NodeExpand found CSI plugin <http://kubernetes.io/csi/driver.longhorn.io|kubernetes.io/csi/driver.longhorn.io> to not support node expansion
any config missing in longhorn?
not sure if anyone around to help 😞
i

icy-agency-38675

11/29/2022, 3:11 PM
Can you provide use the support bundle?
a

acceptable-printer-7134

11/30/2022, 6:02 AM
@icy-agency-38675 not quite understood - support bundle?
b

breezy-church-69414

12/01/2022, 2:56 PM
@acceptable-printer-7134 You could download the support bundle via Longhorn UI.
a

acceptable-printer-7134

12/01/2022, 2:58 PM
ok my question what is that bundle for? also a quick question
does dynamic volume resizing
supported for longhorn volumes? like we edit the PVC to upsize the volume.
b

breezy-church-69414

12/01/2022, 3:12 PM
1. The support bundle contains system information and logs You can check this https://www.suse.com/support/kb/doc/?id=000020145 2. Regarding
does dynamic volume resizing
, maybe this document what you want.https://longhorn.io/docs/1.3.2/volumes-and-nodes/expansion/#expand-a-longhorn-volume
👍 1
312 Views