Skip to content

Runbook

Backup failing

EtcdBackupPolicy
Ready=False with SinkRefused, SinkUnavailable or RecipientsInvalid. Or BackedUp=False with NoSnapshot or BackupTooOld.
EtcdSnapshot
Complete=False with SnapshotFailed. Or Verified=False with Damaged or ReadBackFailed.
pk-metal status
The BACKUP column of the cluster. Exit status 2.
Alert
PkMetalEtcdBackupStale: the newest verified snapshot is older than two intervals of the policy, the same rule as BackupTooOld. PkMetalEtcdBackupMissing: a policy exists, but no snapshot was ever verified.

A loss of the etcd majority now loses more data. Nothing on the cluster changes.

  1. Read the policy.

    Terminal window
    kubectl describe etcdbackuppolicy prod-offsite
  2. List the snapshots and their state.

    Terminal window
    kubectl get etcdsnapshots
Reason Fix
SinkRefused A pvc sink for the operator's own cluster. Use an s3 sink.
SinkUnavailable The credentials Secret is missing or incomplete, or the manager has no backup volume.
RecipientsInvalid An age recipient does not parse. It must start with age1.
SnapshotFailed The message says what failed. Usually no healthy etcd member, or the sink refused the write.
Damaged, ReadBackFailed The sink did not return what the operator wrote. Check the store.
BackupTooOld The newest verified snapshot is older than two intervals. Correct the cause above.
suspend: true on the policy A person stopped the schedule. The alert still fires after two intervals. Remove suspend, or delete the policy if the cluster needs no backup.

After the fix, take a snapshot now:

Terminal window
pk-metal backup now prod-offsite

BackedUp=True, and consecutiveFailures is 0.