hpe-storage / csi-driver

A Container Storage Interface (CSI) driver from HPE
https://scod.hpedev.io
Apache License 2.0
55 stars 53 forks source link

Openshift 4.12 FILESYSTEM PVC expansion failed with no error #368

Open Greco21298 opened 6 months ago

Greco21298 commented 6 months ago

Openshift 4.12+ hpe csi driver 2.3.0

1、we have a storage class: ind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: nfs-sas annotations: storageclass.kubernetes.io/is-default-class: 'false' provisioner: csi.hpe.com parameters: csi.storage.k8s.io/fstype: xfs csi.storage.k8s.io/provisioner-secret-namespace: hpe-storage csi.storage.k8s.io/provisioner-secret-name: primera-secret-dc1 remoteCopyGroup: rcg-ocp-sas csi.storage.k8s.io/node-stage-secret-name: primera-secret-dc1 nfsResources: 'true' provisioning_type: tpvv csi.storage.k8s.io/controller-expand-secret-name: primera-secret-dc1 csi.storage.k8s.io/node-publish-secret-namespace: hpe-storage replicationDevices: crd-sas csi.storage.k8s.io/controller-publish-secret-name: primera-secret-dc1 csi.storage.k8s.io/controller-publish-secret-namespace: hpe-storage nfsProvisionerImage: 'registry.bhc-ocp4-bda.bbac.local/hpestorage/nfs-provisioner:v3.0.0' csi.storage.k8s.io/node-publish-secret-name: primera-secret-dc1 csi.storage.k8s.io/controller-expand-secret-namespace: hpe-storage cpg: YZ-DC1-Stor-BHC-CPG-SAS accessProtocol: fc description: Volume created using Peer Persistence with the HPE CSI Driver for Kubernetes allowOverrides: 'description,provisioning_type,cpg,remoteCopyGroup' csi.storage.k8s.io/node-stage-secret-namespace: hpe-storage reclaimPolicy: Delete allowVolumeExpansion: true volumeBindingMode: Immediate 2、we create a NFS -PVC ,and we want to expansion,but failed with no error image

image

datamattsson commented 6 months ago

This is not supported today. Please see NFS limitations here: https://scod.hpedev.io/csi_driver/using.html#limitations_and_considerations_for_the_nfs_server_provisioner