Skip to content
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

MountVolume.SetUp failed for volume "cloud-config" : secret "proxmox-csi-plugin" not found #279

Open
outbackdingo opened this issue Nov 19, 2024 · 2 comments

Comments

@outbackdingo
Copy link

i followed the install guide, and using talos, so it seems a step is missing

Install the plugin by using Talos machine config
If you're running Talos you can install Proxmox CSI plugin using the machine config

  externalCloudProvider:
    enabled: true
    manifests:
      - https://raw.githubusercontent.com/sergelogvinov/proxmox-csi-plugin/main/docs/deploy/proxmox-csi-plugin.yml

im getting a Warning FailedMount 1s (x8 over 64s) kubelet MountVolume.SetUp failed for volume "cloud-config" : secret "proxmox-csi-plugin" not found

@sergelogvinov
Copy link
Owner

@outbackdingo
Copy link
Author

outbackdingo commented Nov 19, 2024

yes i saw that and configured as such is described, so i re-read the document and noticed this line..

Upload the configuration to the Kubernetes as a secret

kubectl -n csi-proxmox create secret generic proxmox-csi-plugin --from-file=config.yaml

i tried it and it finally has come up and running, though now ive got

Warning  FailedScheduling  25m (x16 over 81m)  default-scheduler  0/6 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/6 nodes are avail │
│ able: 6 Preemption is not helpful for scheduling.

kubectl get pvc -A
NAMESPACE     NAME                             STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   VOLUMEATTRIBUTESCLASS   AGE
vaultwarden   vaultwarden-data-vaultwarden-0   Pending 
                                                   <unset>                 118m

➜ proxmox git:(main) ✗ kubectl get sc
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
proxmox-data csi.proxmox.sinextra.dev Delete WaitForFirstConsumer true 3h10m
proxmox-data-xfs csi.proxmox.sinextra.dev Delete WaitForFirstConsumer true 3h10m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants