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
PVC on cephfs with EC is always pending. #9244
Comments
Increase the log level to rook/cluster/examples/kubernetes/ceph/operator.yaml Lines 40 to 42 in 3e299fb
|
Here are the logs for csi-cephfsplugin-provisioner with CSI_LOG_LEVEL: "5" set.
|
This means the cephfs filesystem is not created. can you please check you have the filesystem created? |
It looks like the filesystem was created as per kubectl.
Am I deploying this right? or am I missing a step here? From reading the docs I cant see any issues with how I deploy.
|
I have tried the following branches and got the same results. commit a9cda1e (HEAD -> release-1.7, origin/release-1.7) The only time PVC pending issue happens is with cephfs + EC. I am able to deploy other configurations without any issues. |
My previous comment was misleading, creating filesystem-ec actually failed on the cluster. I did a tear down and rebuild of the rook ceph. Using commit 83f7c2b (HEAD -> master, origin/master, origin/HEAD)
Creating filesystem-ec failed
Looking into ceph-operator for errors. I have pasted a snip from those logs. Complete logs can be found here: http://dpaste.com//FCAUP9L5S
Out of curiocity I tried to create a non-EC filesystem as well.
And there was no failures in the case of non-EC filesystem. Failure only occurs for EC filesystems.
Creating pvc on non-ec filesystem/storageclass
|
For an EC filesystem, try the updates found in this PR: https://github.com/rook/rook/pull/8452/files |
Tear down and recreate the cluster with the patches from (https://github.com/rook/rook/pull/8452/files) applied.
The filesystem was created successfully
Successfully Created storageclass-ec
Successfully created PVC with rook-cephfs
|
@manjo-git Great to see it's working for you now. Would you mind commenting on #8452 that those updates fixed this scenario for you? |
Closing since this seems like it has been resolved now with #8452. |
For anyone getting here through search engine, the "fix" mentioned above worked for me but only when I have used new cephfilesystem name. |
I commented on the issue that was closed (#7319), and I am opening a new issue here so that it might get some attention. I am using the master branch ( commit 89159a5 (HEAD -> release-1.7, origin/release-1.7)) and I am running into the same issue where PVC is always pending. Here are some logs based on the common-issues document. All my OSDs are bluestore
Here is how I deployed my cluster with cephfs-ec.
Created PVC but it is always pending
Logs based on common-issues document
The text was updated successfully, but these errors were encountered: