-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create pvc using cephfs #3730
Comments
@franitel please check if its a network connectivity issue or not, https://rook.io/docs/rook/latest/Troubleshooting/ceph-csi-common-issues/#ceph-health can help you with the steps for debugging. |
Hi, Madhu, |
We have check this before and it seems to be working fine
|
Did you check for the 6789 port as well? |
yes
|
@ppodevlab are you able to execute ceph commands from the container? see https://www.mrajanna.com/troubleshooting-cephcsi/ might help you |
@Madhu-1 i've managed to execute commands from the plugin container but i have to specify the user/keyring. Could be the case the provisioner is not fetching properly the configuration?
keyring file in |
we just did a test creating static pvcs following https://github.com/ceph/ceph-csi/blob/devel/docs/static-pvc.md#cephfs-static-pvc. We created the volume and volumegroup from the plugin container within the provisioner pod and we can mount static volumes into pods... So i do not think it is a network issue. |
@ppodevlab am not sure what the problem is with your setup, one thing is you need to pass the monitor,user and key mentioned in the storageclass and configmap when you are executing the commands from the provisioner pod because those are not available by default on it |
Kubernetes v1.19.9 is rather old and unmaintained. We do not test recent Ceph-CSI versions against that version anyore, possibly something broke and recent kubernretes-csi sidecars are not compatible with the old version? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation. |
Describe the bug
We have a cephfs cluster and we have deployed the ceph-csi-cephfs chart in our kubernetes cluster (v1.19.9) with the following values:
we have checked and we can mount the volume in the kubernetes nodes using the following command:
but when we try to deploy a pvc we see the pvc in pending mode showing the following status:
This is the ceph status:
here you can see the logs (ceph.audit.log) when we try deploy the pvc.
A clear and concise description of what the bug is.
Environment details
Image/version of Ceph CSI driver : quay.io/cephcsi/cephcsi:v3.8.0 first we were checking with v3.4.0 with the same result
Helm chart version : ceph-csi/ceph-csi-cephfs 3.8.0
Kernel version : Linux vm-k8s-test-worker-1 4.15.0-109-generic rbd: refuse to create block volumes #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Mounter used for mounting PVC (for cephFS its
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) :Kubernetes cluster version :
Ceph cluster version :
Steps to reproduce
Steps to reproduce the behavior:
Actual results
When we try to deploy a pvc it is getting in pending status.
Expected behavior
Run the pod with the pvc mounted inside.
Logs
plugin pod from the node where the mount is failing.
If the issue is in PVC creation, deletion, cloning please attach complete logs
of below containers.
provisioner pod.
If need it some other data, please only tell me.
Francisco Rodriguez
The text was updated successfully, but these errors were encountered: