0

Could anyone help me? I cannot mount successfully. I use this csi plugin to mount cephfs into pod: https://github.com/ceph/ceph-csi

Events:
  Type     Reason       Age                    From                           Message
  ----     ------       ----                   ----                           -------
  Warning  FailedMount  11m (x26 over 169m)    kubelet, sprl-pbkh-kubenode03  Unable to attach or mount volumes: unmounted volumes=[cephfs-pvc], unattached volumes=[default-token-bms74 cephfs-pvc]: timed out waiting for the condition
  Warning  FailedMount  6m53s (x47 over 163m)  kubelet, sprl-pbkh-kubenode03  Unable to attach or mount volumes: unmounted volumes=[cephfs-pvc], unattached volumes=[cephfs-pvc default-token-bms74]: timed out waiting for the condition
  Warning  FailedMount  58s (x92 over 172m)    kubelet, sprl-pbkh-kubenode03  MountVolume.MountDevice failed for volume "pvc-c266c4e3-9ea2-4b26-9759-b73a5ba3516a" : rpc error: code = Internal desc = an error (exit status 1) occurred while running nsenter args: [--net=/ -- ceph-fuse /var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-c266c4e3-9ea2-4b26-9759-b73a5ba3516a/globalmount -m 172.18.4.26,172.18.4.31,172.18.4.32 -c /etc/ceph/ceph.conf -n client.admin --keyfile=***stripped*** -r /volumes/csi/csi-vol-83e27006-59a6-11ed-97f7-7e2180fc1e5e/66900fdf-648b-49ba-ac19-cf3f32cb874e -o nonempty --client_mds_namespace=cephfs] stderr: nsenter: reassociate to namespace 'ns/net' failed: Invalid argument

I have used this https://github.com/ceph/ceph-csi Creating PVC and Storage Class. Then use pod to mount PVC but cannot mount success. I confirm I can mount successfully from my local machine using Ceph-Fuse

0 Answers0