I installed Longhorn in my Rancher 2 Kubernetes cluster using the deployment that was provided on the Longhorn Github. I’ve setup a Longhorn storage class, and attempted to provision the library’s MariaDB with that storage class. I’m able to provision the volumes automatically, however, the pods never start and are stuck at initializing. I get the following error in the Pod events:
Unable to mount volumes for pod “ghost-mariadb-0_ghost(f1b73101-9509-11e8-b5dd-7ad618bcd808)”: timeout expired waiting for volumes to attach or mount for pod “ghost”/“ghost-mariadb-0”. list of unmounted volumes=[data]. list of unattached volumes=[data config default-token-pvfdp]
Any ideas on what might be causing this?