This message was deleted.
# longhorn-storage
a
This message was deleted.
a
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
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
Can you provide use the support bundle?
a
@icy-agency-38675 not quite understood - support bundle?
b
@acceptable-printer-7134 You could download the support bundle via Longhorn UI.
a
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
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
374 Views