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

unsupported CSI driver: rook-ceph.rbd.csi.ceph.com #41

Open
Hcreak opened this issue Dec 8, 2020 · 2 comments
Open

unsupported CSI driver: rook-ceph.rbd.csi.ceph.com #41

Hcreak opened this issue Dec 8, 2020 · 2 comments

Comments

@Hcreak
Copy link

Hcreak commented Dec 8, 2020

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
backup logs:
level=error msg="Error attempting to get volume ID for persistent volume" backup=velero/production-backup error="rpc error: code = Unknown desc = unsupported CSI driver: rook-ceph.rbd.csi.ceph.com" error.file="/home/regressionTest/go/src/github.com/AliyunContainerService/velero-plugin/velero-plugin-for-alibabacloud/volume_snapshotter.go:264" error.function=main.checkCSIVolumeDriver group=v1 logSource="pkg/backup/item_backupper.go:438" name=pvc-8b09731c-a57f-47d2-98bf-cf98d90ba6bd namespace= persistentVolume=pvc-8b09731c-a57f-47d2-98bf-cf98d90ba6bd resource=persistentvolumes volumeSnapshotLocation=default

What did you expect to happen:
create backup

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Velero version: (use ark version):
    Client:
    Version: v1.5.2
    Server:
    Version: v1.2.0
  • Kubernetes version: (use kubectl version):
    Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6",
    Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6",
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): Ubuntu 20.04.1 LTS
@nikitakogan1
Copy link

Hi, i have the same issue when I use velero 1.5.2 with ali cloud.
Client:
Version: v1.5.2
Server:
Version: v1.5.2

I am trying to create a backup and I get a log that is similar to what @Hcreak posted.
Can you please advise how to fix it?

Regards,
Nikita.

@yuvalman
Copy link

yuvalman commented May 5, 2021

Hi,
This issue can be solved by adding the value snapshotVolumes: false to your schedule template in your values.yaml in velero chart.

For example:

schedules:
  mybackup:
    labels:
      myenv: foo
    annotations:
      myenv: foo
    schedule: "0 0 * * *"
    template:
      ttl: "240h"
      includedNamespaces:
      - foo
      snapshotVolumes: false
      

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

3 participants