Skip to content

Commit a8e9a91

Browse files
committed
OADP 2419 Release Notes F
1 parent 5375216 commit a8e9a91

File tree

3 files changed

+474
-0
lines changed

3 files changed

+474
-0
lines changed

backup_and_restore/application_backup_and_restore/oadp-release-notes.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ toc::[]
99

1010
The release notes for OpenShift API for Data Protection (OADP) describe new features and enhancements, deprecated features, product recommendations, known issues, and resolved issues.
1111

12+
include::modules/oadp-release-notes-1-3-0.adoc[leveloffset=+1]
13+
1214
include::modules/oadp-release-notes-1-2-3.adoc[leveloffset=+1]
1315

1416
include::modules/oadp-release-notes-1-2-2.adoc[leveloffset=+1]

modules/oadp-release-notes-1-2-0.adoc

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,140 @@ The HTTP/2 protocol is susceptible to a denial of service attack because request
4343
It is advised to upgrade to OADP 1.2.3, which resolves this issue.
4444

4545
For more information, see link:https://access.redhat.com/security/cve/cve-2023-39325[CVE-2023-39325 (Rapid Reset Attack)].
46+
47+
[id="Upgrade-notes-1-2-0_{context}"]
48+
== Upgrade notes
49+
50+
[NOTE]
51+
====
52+
Always upgrade to next minor version, *do not* skip versions. To update to a later version, upgrade only one channel at a time. For example: to upgrade from OpenShift API for Data Protection (OADP) 1.1 to 1.3, upgrade first to 1.2, then to 1.3.
53+
====
54+
55+
[id="changes-oadp-1-1-to-1-2_{context}"]
56+
=== Changes from OADP 1.1 to 1.2
57+
58+
The Velero server was updated from version 1.9 to 1.11
59+
60+
In OpenShift API for Data Protection (OADP) 1.2 the DataProtectionApplication (DPA) configuration `spec.configuration.velero.args` has changed:
61+
62+
* The `default-volumes-to-restic` field was renamed `default-volumes-to-fs-backup`, if you use `spec.velero`, you need to add it again with the new name to your DPA, after upgrading the OADP.
63+
64+
* The `default-restic-prune-frequency` field was renamed `default-repo-maintain-frequency`, if you use `spec.velero`, you need to add it again with the new name to your DPA, after upgrading the OADP.
65+
66+
* The `restic-timeout` field was renamed `fs-backup-timeout`, if you are use `spec.velero`, you need to add it again with the new name to your DPA, after upgrading the OADP.
67+
68+
* The `restic` DaemonSet was renamed `node-agent`. OADP will automatically update the name of the DaemonSet.
69+
70+
* The CustomResourceDefinition `resticrepositories.velero.io` was renamed `backuprepositories.velero.io`.
71+
72+
** The CustomResourceDefinition `resticrepositories.velero.io` can be removed from the cluster.
73+
74+
[id="upgrade-steps-1-2-0_{context}"]
75+
=== Upgrade steps
76+
77+
[id="backing-up-dpa-configuration-1-2-0_{context}"]
78+
==== Backing up the DPA configuration
79+
80+
Save your current DataProtectionApplication (DPA) CustomResource configuration and verify that you saved the values.
81+
82+
.Example
83+
[source,terminal]
84+
----
85+
oc get dpa -n openshift-adp -o yaml > dpa.orig.backup
86+
----
87+
88+
[id="upgrading-dpa-operator-1-2-0_{context}"]
89+
==== Upgrading the OADP Operator
90+
91+
* Change your subscription channel for the OADP Operator from `stable-1.1` to `stable-1.2`.
92+
* Allow time for the Operator and containers to update and restart.
93+
94+
For general operator upgrade instructions review the https://docs.openshift.com/container-platform/4.14/operators/admin/olm-upgrading-operators.html[OpenShift documentation].
95+
96+
[id="converting-dpa-1-2-0_{context}"]
97+
==== Converting DPA to the new version
98+
99+
If you use fields that were updated in `spec.configuration.velero.args`, you need to update the new names.
100+
101+
.Example
102+
[source,yaml]
103+
----
104+
spec:
105+
configuration:
106+
velero:
107+
args:
108+
- default-volumes-to-restic: true
109+
+ default-volumes-to-fs-backup: true
110+
- default-restic-prune-frequency: 6000
111+
+ default-repo-maintain-frequency: 6000
112+
- restic-timeout: 600
113+
+ fs-backup-timeout: 600
114+
# ...
115+
----
116+
Wait for the DPA to reconcile successfully.
117+
118+
[id="verifying-upgrade-1-2-0_{context}"]
119+
==== Verifying the upgrade
120+
121+
////
122+
After the 1.2 and earlier DPA is merged this sentence and xref will be used instead of the content below.
123+
* Follow the instructions to xref:../../../oadp-installing-dpa-1-2-and-earlier.adoc#verifying-oadp-installation-1-2_installing-oadp-aws[verify the installation].
124+
////
125+
126+
. Verify the installation by viewing the OADP resources by running the following command:
127+
+
128+
[source,terminal]
129+
----
130+
$ oc get all -n openshift-adp
131+
----
132+
+
133+
.Example output
134+
+
135+
----
136+
NAME READY STATUS RESTARTS AGE
137+
pod/oadp-operator-controller-manager-67d9494d47-6l8z8 2/2 Running 0 2m8s
138+
pod/restic-9cq4q 1/1 Running 0 94s
139+
pod/restic-m4lts 1/1 Running 0 94s
140+
pod/restic-pv4kr 1/1 Running 0 95s
141+
pod/velero-588db7f655-n842v 1/1 Running 0 95s
142+
143+
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
144+
service/oadp-operator-controller-manager-metrics-service ClusterIP 172.30.70.140 <none> 8443/TCP 2m8s
145+
146+
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
147+
daemonset.apps/restic 3 3 3 3 3 <none> 96s
148+
149+
NAME READY UP-TO-DATE AVAILABLE AGE
150+
deployment.apps/oadp-operator-controller-manager 1/1 1 1 2m9s
151+
deployment.apps/velero 1/1 1 1 96s
152+
153+
NAME DESIRED CURRENT READY AGE
154+
replicaset.apps/oadp-operator-controller-manager-67d9494d47 1 1 1 2m9s
155+
replicaset.apps/velero-588db7f655 1 1 1 96s
156+
----
157+
158+
. Verify that the DPA is reconciled by running the following command:
159+
+
160+
[source,terminal]
161+
----
162+
oc get dpa dpa-sample -n openshift-adp -o jsonpath='{.status}'
163+
----
164+
.Example output
165+
[source,yaml]
166+
+
167+
----
168+
{"conditions":[{"lastTransitionTime":"2023-10-27T01:23:57Z","message":"Reconcile complete","reason":"Complete","status":"True","type":"Reconciled"}]}
169+
----
170+
171+
. Verify the `type` is set to `Reconciled`.
172+
173+
. Verify the `BackupStorageLocation` by running the following command:
174+
+
175+
[source,terminal]
176+
----
177+
oc get backupStorageLocation -n openshift-adp
178+
NAME PHASE LAST VALIDATED AGE DEFAULT
179+
dpa-sample-1 Available 1s 3d16h true
180+
----
181+
182+
. Verify that the `PHASE` is in `Available`.

0 commit comments

Comments
 (0)