Error "unable to get storage" for scheduled and on demand backups

error.txt (2.8 KB)

Please refer to attachment for error. Here are my configs:

sv2-cr-with-backup.yaml

backup:
enabled: true
image: ‘percona/percona-backup-mongodb:1.7.0’
serviceAccountName: percona-server-mongodb-operator
storages:
azure-blob:
type: azure
azure:
container: mongo1
prefix: “sv2”
credentialsSecret: sv2-azure-blob
pitr:
enabled: true
compressionType: gzip
compressionLevel: 6
tasks:
- name: daily-backup
enabled: true
schedule: 0 0 * * *
keep: 3
storageName: perconamongo2

sv2-demand-backup.yaml

apiVersion: psmdb.percona.com/v1
kind: PerconaServerMongoDBBackup
metadata:
finalizers:

  • delete-backup
    name: sv2-backup1
    spec:
    clusterName: sv2-percona-cluster
    storageName: perconamongo2

$ kubectl describe secrets sv2-azure-blob -n percona
Name: sv2-azure-blob
Namespace: percona
Labels:
Annotations:

Type: Opaque

Data

AZURE_STORAGE_ACCOUNT_KEY: 88 bytes
AZURE_STORAGE_ACCOUNT_NAME: 13 bytes

1 Like