ceph-csi/internal/nfs/controller
Niels de Vos 5c0f9d565e nfs: delete the CephFS volume when the export is already removed
In case the NFS-export has already been removed from the NFS-server, but
the CSI Controller was restarted, a retry to remove the NFS-volume will
fail with an error like:

> GRPC error: ....: response status not empty: "Export does not exist"

When this error is reported, assume the NFS-export was already removed
from the NFS-server configuration, and continue with deleting the
backend volume.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 9d7faf850f)
2022-05-05 03:27:30 +00:00
..
controllerserver.go nfs: delete the CephFS volume when the export is already removed 2022-05-05 03:27:30 +00:00
volume.go nfs: use go-ceph API for creating/deleting exports 2022-04-15 13:13:31 +00:00