Hello,
I have the following setup:
I installed k8ssandra in GKE and for medusa, I was to take the backups in a GCS buckeg.
I have the following problem. The medusabackupjob doesn’t get updated to FINISHED time and the medusabackup object is not created
kubectl get medusabackupjob medusa-bkp3 -n k8ssandra-operator
NAME STARTED FINISHED
medusa-bkp3 162m
If I do a describe of the medusabackupjob it says it’s finished:
kubectl describe medusabackupjob medusa-bkp3 -n k8ssandra-operator
Name: medusa-bkp3
Namespace: k8ssandra-operator
Labels:
Annotations:
API Version: medusa.k8ssandra.io/v1alpha1
Kind: MedusaBackupJob
Metadata:
Creation Timestamp: 2024-02-14T10:01:52Z
Generation: 1
Managed Fields:
API Version: medusa.k8ssandra.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:backupType:
f:cassandraDatacenter:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2024-02-14T10:01:52Z
API Version: medusa.k8ssandra.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:ownerReferences:
.:
k:{“uid”:“7aa00038-6737-4c68-b06c-0c6ec5bd73bb”}:
Manager: manager
Operation: Update
Time: 2024-02-14T10:01:52Z
API Version: medusa.k8ssandra.io/v1alpha1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:finished:
f:startTime:
Manager: manager
Operation: Update
Subresource: status
Time: 2024-02-14T10:04:39Z
Owner References:
API Version: cassandra.datastax.com/v1beta1
Block Owner Deletion: true
Controller: true
Kind: CassandraDatacenter
Name: dc1
UID: 7aa00038-6737-4c68-b06c-0c6ec5bd73bb
Resource Version: 433542664
UID: 72dbb723-44f8-4758-afd3-940a318efa42
Spec:
Backup Type: differential
Cassandra Datacenter: dc1
Status:
Finished:
demo-medusa-dc1-default-sts-1
demo-medusa-dc1-default-sts-0
demo-medusa-dc1-default-sts-2
Start Time: 2024-02-14T10:02:07Z
Events:
Also I can see the files in the GCS bucket.
Not sure if it matters but I am not using an API key for the service account in order to authenticate to the bucket. I am using WIF and binded the GKE service account to the GCP service account.