Hello I would like to request your help, we are trying to use the cassandra.backup.serviceAccountRef option in our overrides file and it shows the following error.
Overrides file:
backup:
enabled: true
serviceAccountRef: "apigee-cassandra-backup"
dbStorageBucket: "gs://*********"
schedule: "10 * * * *"
Error jobs
Operation completed over 1 objects.
INFO: backup created tarball and transfered the file to gs://*********/apigeecluster/dc-1
finished uploading schema.cql
starting apigee-cassandra-default-0 in apigee
ERROR: (gcloud.auth.activate-service-account) Unable to read file [/var/secrets/google/dbbackup_key.json]: [Errno 2] No such file or directory: '/var/secrets/google/dbbackup_key.json'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
AccessDeniedException: 403 Insufficient OAuth2 scope to perform this operation.
Acceptable scopes: https://www.googleapis.com/auth/cloud-platform
tar: -: Wrote only 8192 of 10240 bytes
tar: Child returned status 141
tar: Error is not recoverable: exiting now
ERROR: backup failed to create tarball/transfer the backup files to gs://*********apigeecluster/dc-1
INFO: removing cassandra snapshot
Requested clearing snapshot(s) for [all keyspaces]
INFO: completed upload for 20220510200042
starting apigee-cassandra-default-1 in apigee
ERROR: (gcloud.auth.activate-service-account) Unable to read file [/var/secrets/google/dbbackup_key.json]: [Errno 2] No such file or directory: '/var/secrets/google/dbbackup_key.json'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
AccessDeniedException: 403 Insufficient OAuth2 scope to perform this operation.
Acceptable scopes: https://www.googleapis.com/auth/cloud-platform
tar: -: Cannot write: Broken pipe
tar: Child returned status 141
tar: Error is not recoverable: exiting now
ERROR: backup failed to create tarball/transfer the backup files to gs://*********/apigeecluster/dc-1
INFO: removing cassandra snapshot
Requested clearing snapshot(s) for [all keyspaces]
INFO: completed upload for 20220510200042
starting apigee-cassandra-default-2 in apigee
ERROR: (gcloud.auth.activate-service-account) Unable to read file [/var/secrets/google/dbbackup_key.json]: [Errno 2] No such file or directory: '/var/secrets/google/dbbackup_key.json'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
AccessDeniedException: 403 Insufficient OAuth2 scope to perform this operation.
Acceptable scopes: https://www.googleapis.com/auth/cloud-platform
tar: -: Wrote only 4096 of 10240 bytes
tar: Child returned status 141
tar: Error is not recoverable: exiting now
ERROR: backup failed to create tarball/transfer the backup files to gs://*********/apigeecluster/dc-1
INFO: removing cassandra snapshot
Requested clearing snapshot(s) for [all keyspaces]
INFO: completed upload for 20220510200042
finished backup