Skip to content

Commit 7e7834d

Browse files
authored
Merge pull request #111893 from shdeshpa07/OADP-7880
Add troubleshooting doc for pvc delay binding
2 parents d74092f + 364ac15 commit 7e7834d

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

backup_and_restore/application_backup_and_restore/troubleshooting/backup-and-restore-cr-issues.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ include::modules/troubleshooting-backup-cr-cannot-retrieve-volume-issue.adoc[lev
1919

2020
include::modules/troubleshooting-backup-cr-status-remains-in-progress-issue.adoc[leveloffset=+1]
2121

22-
include::modules/troubleshooting-backup-cr-status-remains-in-partiallyfailed-issue.adoc[leveloffset=+1]
22+
include::modules/troubleshooting-backup-cr-status-remains-in-partiallyfailed-issue.adoc[leveloffset=+1]
23+
24+
include::modules/oadp-troubleshooting-pvc-binding-delay.adoc[leveloffset=+1]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * backup_and_restore/application_backup_and_restore/troubleshooting/backup-and-restore-cr-issues.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
7+
[id="oadp-troubleshooting-pvc-binding-delay_{context}"]
8+
= Troubleshooting PVC binding failures with the waitForFirstConsumer storage class
9+
10+
[role="_abstract"]
11+
To ensure that restored persistent volume claims (PVCs) successfully bind to PVs when node affinity is configured, adjust the storage class binding mode settings during restore operations.
12+
13+
PVCs that use a storage class with `bindingMode: WaitForFirstConsumer` might fail to bind to a PV when node affinity is configured. This issue can occur during restore operations, including virtual machine file restore (VMFR) workflows.
14+
15+
.Procedure
16+
17+
* Set the `ignoreDelayBinding` field to `true` in the `restorePVC` section of the `nodeAgent` configuration in the `DataProtectionApplication` CR, as shown in the following example:
18+
+
19+
[source,yaml,subs="+quotes"]
20+
----
21+
apiVersion: oadp.openshift.io/v1alpha1
22+
kind: DataProtectionApplication
23+
metadata:
24+
name: dpa-test
25+
namespace: openshift-adp
26+
spec:
27+
# ...
28+
configuration:
29+
nodeAgent:
30+
enable: true
31+
restorePVC:
32+
ignoreDelayBinding: true
33+
uploaderType: kopia
34+
----
35+

0 commit comments

Comments
 (0)