Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

'ProvisioningFailed' failed to provision volume with StorageClass "cephfs": fork/exec /usr/local/bin/cephfs_provisioner: invalid argument #1269

Closed
longqidong opened this issue Jan 14, 2020 · 6 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@longqidong
Copy link

No description provided.

@longqidong
Copy link
Author

use cephfs_provisioner to create pvc, pvc can not be provisioned ,make errors:
[root@control-1 rbac]# kubectl describe pvc claim -n paas-dev
Name: claim1
Namespace: paas-dev
StorageClass: cephfs
Status: Pending
Volume:
Labels:
Annotations: kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{},"name":"claim1","namespace":"paas-dev"},"spec":{"accessMode...
volume.beta.kubernetes.io/storage-provisioner: ceph.com/cephfs
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Mounted By:
Events:
Type Reason Age From Message


Normal Provisioning 3m26s (x5 over 7m11s) ceph.com/cephfs_cephfs-provisioner-574c84468d-l2qx9_f34f1650-368a-11ea-ab92-3a265dee8862 External provisioner is provisioning volume for claim "paas-dev/claim1"
Warning ProvisioningFailed 3m26s (x5 over 7m11s) ceph.com/cephfs_cephfs-provisioner-574c84468d-l2qx9_f34f1650-368a-11ea-ab92-3a265dee8862 failed to provision volume with StorageClass "cephfs": fork/exec /usr/local/bin/cephfs_provisioner: invalid argument
Normal ExternalProvisioning 71s (x26 over 7m11s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "ceph.com/cephfs" or manually created by system administrator

and the cephfs_provisioner logs :
r: invalid argument, output:
W0114 07:15:19.510976 1 controller.go:746] Retrying syncing claim "paas-dev/claim1" because failures 3 < threshold 15
E0114 07:15:19.510995 1 controller.go:761] error syncing claim "paas-dev/claim1": failed to provision volume with StorageClass "cephfs": fork/exec /usr/local/bin/cephfs_provisioner: invalid argument
I0114 07:15:19.511016 1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"paas-dev", Name:"claim1", UID:"8b8874e9-df41-4d6c-94b1-84d8e0a64061", APIVersion:"v1", ResourceVersion:"23305650", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "cephfs": fork/exec /usr/local/bin/cephfs_provisioner: invalid argument
I0114 07:17:19.511193 1 controller.go:987] provision "paas-dev/claim1" class "cephfs": started
I0114 07:17:19.513861 1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"paas-dev", Name:"claim1", UID:"8b8874e9-df41-4d6c-94b1-84d8e0a64061", APIVersion:"v1", ResourceVersion:"23305650", FieldPath:""}): type: 'Normal' reason: 'Provisioning' External provisioner is provisioning volume for claim "paas-dev/claim1"
E0114 07:17:19.515725 1 cephfs-provisioner.go:158] failed to provision share "kubernetes-dynamic-pvc-e69ed80e-369d-11ea-ab92-3a265dee8862" for "kubernetes-dynamic-user-e69ed844-369d-11ea-ab92-3a265dee8862", err: fork/exec /usr/local/bin/cephfs_provisioner: invalid argument, output:
W0114 07:17:19.515768 1 controller.go:746] Retrying syncing claim "paas-dev/claim1" because failures 4 < threshold 15
E0114 07:17:19.515791 1 controller.go:761] error syncing claim "paas-dev/claim1": failed to provision volume with StorageClass "cephfs": fork/exec /usr/local/bin/cephfs_provisioner: invalid argument
I0114 07:17:19.515811 1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"paas-dev", Name:"claim1", UID:"8b8874e9-df41-4d6c-94b1-84d8e0a64061", APIVersion:"v1", ResourceVersion:"23305650", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "cephfs": fork/exec /usr/local/bin/cephfs_provisioner: invalid argument

@baoroushi
Copy link

me too -_-||

@windayski
Copy link

Check your secret. The secret needs to be base64 encoded.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 17, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jul 17, 2020
@nikhita
Copy link
Member

nikhita commented Aug 7, 2020

Thanks for reporting the issue!

This repo is no longer being maintained and we are in the process of archiving this repo. Please see kubernetes/org#1563 for more details.

If your issue relates to nfs provisioners, please create a new issue in https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner or https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner.

Going to close this issue in order to archive this repo. Apologies for the churn and thanks for your patience! 🙏

@nikhita nikhita closed this as completed Aug 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

6 participants