Skip to content

velero 1.17.0 with gcp plugin 1.13.0 not writing to storage bucket #9373

@Nexus2k

Description

@Nexus2k

What steps did you take and what happened:
I've upgraded velero to 1.17.0 and the gcp plugin to 1.13.0 and when I tried to run a backup it immediately failed with an error that the velero-backup.json file can't be found on the storage path.

What did you expect to happen:
I expect that the gcp-plugin works with velero 1.17.0 according to the compability matrix

The following information will help us better understand what's going on:

Reproduction steps:

  1. Setup velero 1.17.0 with gcp-plugin 1.13.0 using service accounts for the access to storage bucket
  2. Try to start a backup
  3. See the error about 404 velero-backup.json not found

Anything else you would like to add:

values.yaml:

initContainers:
  - name: velero-plugin-for-gcp
    image: velero/velero-plugin-for-gcp:v1.12.2
    imagePullPolicy: IfNotPresent
    volumeMounts:
      - mountPath: /target
        name: plugins

upgradeCRDs: true

configuration:
  backupStorageLocation:
    - provider: "gcp"
      # bucket is the name of the bucket to store backups in. Required.
      bucket: "<my-project-id>-velero-backup"
      prefix: "prod"
      accessMode: ReadWrite
      config:
        serviceAccount: velero-backup@<my-project-id>.iam.gserviceaccount.com

  volumeSnapshotLocation:
    - provider: "gcp"
      config:
        project: <my-project-id>

serviceAccount:
  server:
    annotations:
      iam.gke.io/gcp-service-account: "velero-backup@<my-project-id>.iam.gserviceaccount.com"

credentials:
  useSecret: false

# Backup schedules to create.
schedules:
  daily-30days:
    schedule: "0 0 * * *" # daily at midnight UTC
    template:
      ttl: "720h"
      storageLocation: default
      includedNamespaces:
      - "*"
      excludedNamespaces:
      - kube-*
      - gke-*
      - gmp-public

Environment:

  • Velero version (use velero version): 1.17.0
  • Velero features (use velero client config get features):
  • Kubernetes version (use kubectl version): v1.33.5-gke.1080000
  • Kubernetes installer & version: N/A
  • Cloud provider or hardware configuration: GKE
  • OS (e.g. from /etc/os-release): N/A

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

  • 👍 for "I would like to see this bug fixed as soon as possible"
  • 👎 for "There are more important bugs to focus on right now"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions