driver name rbd.csi.ceph.com not found in the list of registered CSI drivers ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I try to connect my new ceph cluster (octopus) with my kubernetes system. Therefor I followed the setup guide form the official documentation:

https://docs.ceph.com/en/octopus/rbd/rbd-kubernetes/

The csi-rbdplugin-provisioner is running successful on all my kubernetes worker nodes (as far as I can see).

Now I try to deploy the nginx example :

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: ceph-pvc
spec:
  accessModes:
    - ReadWriteOnce
  volumeMode: Filesystem
  resources:
    requests:
      storage: 1Gi
  storageClassName: ceph
---
apiVersion: v1
kind: Pod
metadata:
  name: csi-rbd-demo-pod
spec:
  containers:
    - name: web-server
      image: nginx
      volumeMounts:
        - name: mypvc
          mountPath: /var/lib/www/html
  volumes:
    - name: mypvc
      persistentVolumeClaim:
        claimName: ceph-pvc
        readOnly: false

A Persitence volume is created

$ kubectl get pv
....
pvc-5c64ed45-adde-4fe7-9b38-9d4c7a8f7d34   1Gi RWO            Delete           Bound default/ceph-pvc ceph                        7m15s

and also the persitence volume claim:

$ kubectl get pvc
NAME            STATUS VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE ceph-pvc        Bound pvc-5c64ed45-adde-4fe7-9b38-9d4c7a8f7d34   1Gi RWO            ceph           8m14s


But the POD is not deployed, because of the following error message:

MountVolume.MountDevice failed for volume "pvc-5c64ed45-adde-4fe7-9b38-9d4c7a8f7d34" : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name rbd.csi.ceph.com not found in the list of registered CSI drivers


Can someone help me to understand the meaning of this error message?  Did I need to install something else ? Maybe a ceph-fs-plugin...?



Thanks for any help


===
Ralph



--
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux