Help! My Longhorn Cluster Can’t Create PVCs

0
10
Asked By TechieGiraffe42 On

I'm having trouble with my cluster not being able to create volumes, and I'm not sure what to do next. Specifically, I have set up a PersistentVolumeClaim (PVC) named 'longhorn-test' in the default namespace, using the Longhorn storage class. However, its status is pending, and there are several warning events indicating a problem with provisioning. It seems that the `spec.drivers` is showing as null, which I suspect might be the issue. I checked the CSINode output and noticed something seems off with the drivers. Longhorn version is 1.10.2, and the configuration appears correct. I'm open to suggestions on where to look or what changes to make. I've also got additional logs if needed.

3 Answers

Answered By LinuxGuru77 On

Depending on your operating system, ensure that both open-iscsi and nfs-utils are installed and running on your nodes. Longhorn can have issues if those dependencies aren't present, which could be causing your problems.

Answered By SystemAdminDude On

You might be missing the `topology.kubernetes.io/zone` labels on your nodes. If you requested cross-zone replication, that could definitely lead to issues. Make sure your node labels are set correctly.

Answered By CuriousCoder89 On

It sounds like the CSI node driver may not have registered properly with the kubelet on your node, which could explain the null drivers issue. I'd recommend checking the logs of the node-driver-registrar container in the Longhorn CSI plugin pod on that specific node. Those logs should provide some insight into any registration failures.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.