Skip to content

Commit c964b57

Browse files
authored
Merge pull request #67803 from RichardHoch/restore_err
/lgtm Restore errors and warnings
2 parents 8a5d79d + 42fbc31 commit c964b57

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

modules/migration-debugging-velero-resources.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,23 @@ $ oc -n {namespace} exec deployment/velero -c velero -- ./velero \
6161
backup describe 0e44ae00-5dc3-11eb-9ca8-df7e5254778b-2d8ql
6262
----
6363

64+
The following types of restore errors and warnings are shown in the output of a `velero describe` request:
65+
66+
* `Velero`: A list of messages related to the operation of Velero itself, for example, messages related to connecting to the cloud, reading a backup file, and so on
67+
* `Cluster`: A list of messages related to backing up or restoring cluster-scoped resources
68+
* `Namespaces`: A list of list of messages related to backing up or restoring resources stored in namespaces
69+
70+
One or more errors in one of these categories results in a `Restore` operation receiving the status of `PartiallyFailed` and not `Completed`. Warnings do not lead to a change in the completion status.
71+
72+
[IMPORTANT]
73+
====
74+
* For resource-specific errors, that is, `Cluster` and `Namespaces` errors, the `restore describe --details` output includes a resource list that lists all resources that Velero succeeded in restoring. For any resource that has such an error, check to see if the resource is actually in the cluster.
75+
76+
* If there are `Velero` errors, but no resource-specific errors, in the output of a `describe` command, it is possible that the restore completed without any actual problems in restoring workloads, but carefully validate post-restore applications.
77+
+
78+
For example, if the output contains `PodVolumeRestore` or node sgent-related errors, check the status of `PodVolumeRestores` and `DataDownloads`. If none of these are failed or still running, then volume data might have been fully restored.
79+
====
80+
6481
[discrete]
6582
[id="velero-logs-command_{context}"]
6683
== Logs command

0 commit comments

Comments
 (0)