How to determine if MedusaBackupJob
and MedusaRestoreJob
are completed successfully?
#1302
Labels
question
Further information is requested
I'm opening this issue in the context of #1301
According to https://docs.k8ssandra.io/tasks/backup-restore/#checking-backup-completion,
MedusaBackupJob
andMedusaRestoreJob
are completed successfully when the fieldstatus.finishTime
is set.However, this does not seem to be accurate.
In k8ssandra-operator 1.14 , I managed to obtain this
MedusaRestoreJob
:The field
finishTime
is set""2024-04-26T17:10:56Z"
, but the restoration failed with the error"target backup has not completed successfully"
(seestatus.message
field)How to determine when the restoration succeeded or failed?
Regarding
MedusaBackupJob
, I noticed thatmedusarestorejob_controller
is doing multiple checks to validate aMedusaBackup
: https://github.com/k8ssandra/k8ssandra-operator/blob/main/controllers/medusa/medusarestorejob_controller.go#L287Therefore, it's possible to have
MedusaBackupJob
withfinishTime
set with an invalid associatedMedusaBackup
.We are building automations to orchestrate backups and restorations. We also export backup status to Prometheus.
Could you clarify the correct way to identify when
MedusaBackupJob
/MedusaRestoreJob
are:Thanks!
The text was updated successfully, but these errors were encountered: