The Cinder CSI volume formated by kubernetes is not mounted #101049
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
sig/cloud-provider
Categorizes an issue or PR as relevant to SIG Cloud Provider.
sig/storage
Categorizes an issue or PR as relevant to SIG Storage.
What happened:
The Cinder CSI volume formated by kubernetes is not mounted on
globalmount
so when kubernetes try to mount the CSI volume inside themount
folder of the kubelet internal mountWhat you expected to happen:
1- The deploy create a PVC that is bound
2- The volume is created on OpenStack Cinder (check the volume name):
3- Pod is scheduled to node k8s-3 where is the volume mounted (see prev photo):
4- The pod status show an error about failed MountVolume.SetUp in a inexistent mount file:
How to reproduce it (as minimally and precisely as possible):
Deploy a stateful set with this volumeClaimTemplates template:
Anything else we need to know?:
The cluster is a minik8s from canonical where the kubernetes binaries live inside /var/snap/microk8s so I changed the variables inside the CSI provider yaml files, here are the file changed (cinder-csi-nodeplugin.yaml):
Environment:
kubectl version
):v1.20.5-34+40f5951bd9888a (microk8s)cat /etc/os-release
): Ubuntu 20.04 LTSuname -a
): Linux k8s-4 5.4.0-29-generic readability: error string #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/LinuxThe text was updated successfully, but these errors were encountered: