Score:1

Failed pvc attachment using kubernetes longhorn

cn flag

I'm running a self hosted RKE2 (rancher) kubernetes cluster (1.27) and longhorn (1.4.2) and I need some help for the correct configuration. I'm deploying some database stuff via helm, like mongoDB, redis, postgres and minio. Every database ca be deployed by it's own without a problem. But if I try to run every helm chart, randomly some deployment fail with an attachement error of the PVC:

AttachVolume.Attach failed for volume "pvc-0b5bd219-b009-4877-96dd-3c0e7549533d" : rpc error: code = Aborted desc = volume pvc-0b5bd219-b009-4877-96dd-3c0e7549533d is not ready for workloads

The PVC is existing and bound. And after removing every helm deployment and doing it again it works and another database has the same error.

I didn't have any specific configuration and maybe this is the problem:

values.yaml

persistence:
  defaultFsType: xfs
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.