Skip to main content

Failed K10 DR

  • June 6, 2024
  • 1 comment
  • 96 views

Hello,

I’m on self-hosted kubernetes version 1.29

I’m trying to perform a DR on an other kubernetes cluster, but the k10-restore job keep failing :

  1. I launch the k10-primer script to check if all is ready to install k10
  2. I install K10 + k10-dr-secret + location profile
  3. I install the chart k10restore with my sourceClusterID and profile.name
  4. Then it fails and show me this error : ```{"File":"kasten.io/k10/kio/dr/utils.go","Function":"kasten.io/k10/kio/dr.RestoreStatusForError","Line":149,"cluster_name":"4be5ec51-a60a-4725-bd1f-932aedd026b6","error":{"message":"Failed to restore selected specs into the namespace","function":"kasten.io/k10/kio/exec/phases/phase.runK10DRRestoreV2","linenumber":221,"file":"kasten.io/k10/kio/exec/phases/phase/dr_restore.go:221","cause":{"message":"Failed while waiting for restore action to complete","function":"kasten.io/k10/kio/exec/phases/phase.restoreSpecsIntoNamespace","linenumber":257,"file":"kasten.io/k10/kio/exec/phases/phase/dr_restore.go:257","cause":{"message":"restore action unsuccessful","function":"kasten.io/k10/kio/api/actions/restore.WaitForSuccessCC.func1","linenumber":60,"file":"kasten.io/k10/kio/api/actions/restore/wait.go:60","fields":[{"name":"restore","value":{"metadata":{"name":"scheduled-dgrj9","namespace":"kasten-io","uid":"25f63ab5-240d-11ef-93b2-5afc3c13acf7","resourceVersion":"14828","creationTimestamp":"2024-06-06T14:00:36Z","labels":{"k10.kasten.io/appName":"kasten-io","k10.kasten.io/appNamespace":"kasten-io","k10.kasten.io/policyName":"k10-dr-restore-kasten-io-20240606-1400","k10.kasten.io/policyNamespace":"kasten-io","k10.kasten.io/runActionName":"run-zgl2rsw8dg","k10.kasten.io/runActionNamespace":"kasten-io"}},"status":{"state":"Failed","startTime":"2024-06-06T14:00:36Z","endTime":"2024-06-06T14:01:19Z","restorePoint":{"name":""},"result":{"name":""},"error":{"cause":"{\"fields\":[{\"name\":\"Policy\",\"value\":\"k10-disaster-recovery-policy\"}],\"file\":\"kasten.io/k10/kio/exec/phases/phase/restore_k10.go:60\",\"function\":\"kasten.io/k10/kio/exec/phases/phase.(*restoreK10Phase).Run\",\"linenumber\":60,\"message\":\"Failed to get latest DR policy run manifest from restored catalog\"}","message":"Job failed to be executed"},"progress":100},"spec":{"subject":{"name":"kasten-io","namespace":"kasten-io"},"scheduledTime":"2024-06-06T14:00:00Z","targetNamespace":"kasten-io","filters":{"includeResources":[{"version":"v1","resource":"secrets"},{"group":"config.kio.kasten.io","version":"v1alpha1","resource":"profiles"},{"group":"config.kio.kasten.io","version":"v1alpha1","resource":"policies"}]}}}}]}}},"hostname":"k10-restore-k10restore-s5hbj","level":"error","msg":"Failed to perform Disaster Recovery using full backup workflow","time":"2024-06-06T14:01:28.034Z"}```

    Thanks in advance for your reply

1 comment

Forum|alt.badge.img
  • Comes here often
  • September 26, 2024

Hello! I am getting the same error