Skip to content

Commit 33c720e

Browse files
authored
Merge pull request #97273 from Pkylas007/oadp-5889-add-back-features-plugins-known-issues
Add back the OADP Features and Plugins Known Issues File
2 parents 2f90fdd + 5f49a20 commit 33c720e

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// Module included in the following assemblies:
2+
// oadp-features-plugins-known-issues
3+
// * backup_and_restore/application_backup_and_restore/oadp-features-plugins.adoc
4+
// * backup_and_restore/application_backup_and_restore/troubleshooting.adoc
5+
6+
:_mod-docs-content-type: CONCEPT
7+
[id="oadp-features-plugins-known-issues_{context}"]
8+
= OADP plugins known issues
9+
10+
The following section describes known issues in {oadp-first} plugins:
11+
12+
[id="velero-plugin-panic_{context}"]
13+
== Velero plugin panics during imagestream backups due to a missing secret
14+
15+
When the backup and the Backup Storage Location (BSL) are managed outside the scope of the Data Protection Application (DPA), the OADP controller, meaning the DPA reconciliation does not create the relevant `oadp-<BSL Name>-<BSL Provider>-registry-secret`.
16+
17+
When the backup is run, the OpenShift Velero plugin panics on the imagestream backup, with a panic error:
18+
19+
[source,terminal]
20+
----
21+
024-02-27T10:46:50.028951744Z time="2024-02-27T10:46:50Z" level=error msg="Error backing up item"
22+
backup=openshift-adp/<backup name> error="error executing custom action (groupResource=imagestreams.image.openshift.io,
23+
namespace=<BSL Name>, name=postgres): rpc error: code = Aborted desc = plugin panicked:
24+
runtime error: index out of range with length 1, stack trace: goroutine 94…
25+
----
26+
27+
[id="velero-plugin-panic-workaround_{context}"]
28+
=== Workaround to avoid the panic error
29+
30+
To avoid the Velero plugin panic error, perform the following steps:
31+
32+
. Label the custom BSL with the relevant label
33+
+
34+
[source,terminal]
35+
----
36+
$ oc label backupstoragelocations.velero.io <bsl_name> app.kubernetes.io/component=bsl
37+
----
38+
39+
. After the BSL is labeled, wait until the DPA reconciles.
40+
+
41+
[NOTE]
42+
====
43+
You can force the reconciliation by making any minor change to the DPA itself.
44+
====
45+
46+
. When the DPA reconciles, confirm that the relevant `oadp-<BSL Name>-<BSL Provider>-registry-secret` has been created and that the correct registry data has been populated into it:
47+
+
48+
[source,terminal]
49+
----
50+
$ oc -n openshift-adp get secret/oadp-<bsl_name>-<bsl_provider>-registry-secret -o json | jq -r '.data'
51+
----
52+
53+
54+
[id="openshift-adp-controller-manager-seg-fault_{context}"]
55+
== OpenShift ADP Controller segmentation fault
56+
57+
If you configure a DPA with both `cloudstorage` and `restic` enabled, the `openshift-adp-controller-manager` pod crashes and restarts indefinitely until the pod fails with a crash loop segmentation fault.
58+
59+
You can have either `velero` or `cloudstorage` defined, because they are mutually exclusive fields.
60+
61+
* If you have both `velero` and `cloudstorage` defined, the `openshift-adp-controller-manager` fails.
62+
* If you have neither `velero` nor `cloudstorage` defined, the `openshift-adp-controller-manager` fails.
63+
64+
For more information about this issue, see link:https://issues.redhat.com/browse/OADP-1054[OADP-1054].
65+
66+
67+
[id="openshift-adp-controller-manager-seg-fault-workaround_{context}"]
68+
=== OpenShift ADP Controller segmentation fault workaround
69+
70+
You must define either `velero` or `cloudstorage` when you configure a DPA. If you define both APIs in your DPA, the `openshift-adp-controller-manager` pod fails with a crash loop segmentation fault.

0 commit comments

Comments
 (0)