Skip to content

Commit b33f7bf

Browse files
authored
Merge pull request #3093 from adellape/ocp3313
Add OCP 3.3.1.3 relnotes
2 parents c76b5e9 + ce67a1c commit b33f7bf

File tree

4 files changed

+455
-113
lines changed

4 files changed

+455
-113
lines changed

install_config/install/disconnected_install.adoc

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
= Disconnected Installation
33
{product-author}
44
{product-version}
5+
:latest-tag: v3.3.1.3
6+
:latest-int-tag: 3.3.1
57
:data-uri:
68
:icons:
79
:experimental:
@@ -165,30 +167,36 @@ To sync the container images:
165167
# systemctl start docker
166168
----
167169

168-
. Pull all of the required {product-title} containerized components:
170+
. Pull all of the required {product-title} containerized components.
171+
ifdef::openshift-enterprise[]
172+
Replace `<tag>` with `{latest-tag}` for the latest version.
173+
endif::[]
169174
+
170175
----
171-
# docker pull registry.access.redhat.com/openshift3/ose-haproxy-router:v3.3.0.34
172-
# docker pull registry.access.redhat.com/openshift3/ose-deployer:v3.3.0.34
173-
# docker pull registry.access.redhat.com/openshift3/ose-sti-builder:v3.3.0.34
174-
# docker pull registry.access.redhat.com/openshift3/ose-docker-builder:v3.3.0.34
175-
# docker pull registry.access.redhat.com/openshift3/ose-pod:v3.3.0.34
176-
# docker pull registry.access.redhat.com/openshift3/ose-docker-registry:v3.3.0.34
176+
# docker pull registry.access.redhat.com/openshift3/ose-haproxy-router:<tag>
177+
# docker pull registry.access.redhat.com/openshift3/ose-deployer:<tag>
178+
# docker pull registry.access.redhat.com/openshift3/ose-sti-builder:<tag>
179+
# docker pull registry.access.redhat.com/openshift3/ose-docker-builder:<tag>
180+
# docker pull registry.access.redhat.com/openshift3/ose-pod:<tag>
181+
# docker pull registry.access.redhat.com/openshift3/ose-docker-registry:<tag>
177182
----
178183

179184
. Pull all of the required {product-title} containerized components for the
180-
additional centralized log aggregation and metrics aggregation components:
185+
additional centralized log aggregation and metrics aggregation components.
186+
ifdef::openshift-enterprise[]
187+
Replace `<tag>` with `{latest-int-tag}` for the latest version.
188+
endif::[]
181189
+
182190
----
183-
# docker pull registry.access.redhat.com/openshift3/logging-deployment
184-
# docker pull registry.access.redhat.com/openshift3/logging-elasticsearch
185-
# docker pull registry.access.redhat.com/openshift3/logging-kibana
186-
# docker pull registry.access.redhat.com/openshift3/logging-fluentd
187-
# docker pull registry.access.redhat.com/openshift3/logging-auth-proxy
188-
# docker pull registry.access.redhat.com/openshift3/metrics-deployer
189-
# docker pull registry.access.redhat.com/openshift3/metrics-hawkular-metrics
190-
# docker pull registry.access.redhat.com/openshift3/metrics-cassandra
191-
# docker pull registry.access.redhat.com/openshift3/metrics-heapster
191+
# docker pull registry.access.redhat.com/openshift3/logging-deployer:<tag>
192+
# docker pull registry.access.redhat.com/openshift3/logging-elasticsearch:<tag>
193+
# docker pull registry.access.redhat.com/openshift3/logging-kibana:<tag>
194+
# docker pull registry.access.redhat.com/openshift3/logging-fluentd:<tag>
195+
# docker pull registry.access.redhat.com/openshift3/logging-auth-proxy:<tag>
196+
# docker pull registry.access.redhat.com/openshift3/metrics-deployer:<tag>
197+
# docker pull registry.access.redhat.com/openshift3/metrics-hawkular-metrics:<tag>
198+
# docker pull registry.access.redhat.com/openshift3/metrics-cassandra:<tag>
199+
# docker pull registry.access.redhat.com/openshift3/metrics-heapster:<tag>
192200
----
193201

194202
. Pull the Red Hat-certified
@@ -253,7 +261,7 @@ and then transporting them:
253261
+
254262
----
255263
# docker save -o ose3-logging-metrics-images.tar \
256-
registry.access.redhat.com/openshift3/logging-deployment \
264+
registry.access.redhat.com/openshift3/logging-deployer \
257265
registry.access.redhat.com/openshift3/logging-elasticsearch \
258266
registry.access.redhat.com/openshift3/logging-kibana \
259267
registry.access.redhat.com/openshift3/logging-fluentd \

install_config/upgrading/automated_upgrades.adoc

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
= Performing Automated In-place Cluster Upgrades
33
{product-author}
44
{product-version}
5+
:latest-tag: v3.3.1.3
56
:data-uri:
67
:icons:
78
:experimental:
@@ -107,45 +108,46 @@ ifdef::openshift-enterprise[]
107108
[[preparing-for-an-automated-upgrade]]
108109
== Preparing for an Automated Upgrade
109110

110-
[NOTE]
111+
[IMPORTANT]
111112
====
112113
Before upgrading your cluster to {product-title} 3.3, the cluster must be
113114
already upgraded to the
114-
link:https://docs.openshift.com/enterprise/3.2/release_notes/ose_3_2_release_notes.adoc#ose-32-asynchronous-errata-updates[latest asynchronous release of version 3.2]. Cluster upgrades cannot span more than one
115+
link:https://docs.openshift.com/enterprise/3.2/release_notes/ose_3_2_release_notes.html#ose-32-asynchronous-errata-updates[latest asynchronous release of version 3.2]. Cluster upgrades cannot span more than one
115116
minor version at a time, so if your cluster is at version 3.0 or 3.1, you must
116117
first upgrade incrementally (e.g., 3.0 to 3.1, then 3.1 or 3.2).
117118
====
118119

119-
If you are upgrading from version 3.2 to 3.3, on each master and node host you
120-
must manually disable the 3.2 channel and enable the 3.3 channel:
120+
To prepare for an automated upgrade:
121121

122-
====
122+
. If you are upgrading from version 3.2 to 3.3, manually disable the 3.2 channel and enable the 3.3 channel on each master and node host:
123+
+
123124
----
124125
# subscription-manager repos --disable="rhel-7-server-ose-3.2-rpms" \
125126
--enable="rhel-7-server-ose-3.3-rpms"\
126127
--enable="rhel-7-server-extras-rpms"
127128
# yum clean all
128129
----
129-
====
130-
131-
For any upgrade path, always ensure that you have the latest version of the
130+
. For any upgrade path, always ensure that you have the latest version of the
132131
*atomic-openshift-utils* package, which should also update the
133132
*openshift-ansible-** packages:
134-
133+
+
135134
----
136135
# yum update atomic-openshift-utils
137136
----
138-
139-
Lastly, you must be logged in as a cluster administrative user on the master
137+
. Lastly, you must be logged in as a cluster administrative user on the master
140138
host for the upgrade to succeed:
139+
+
141140
----
142141
$ oc login
143142
----
144143

145-
There are two methods for running the automated upgrade:
146-
xref:upgrading-using-the-installation-utility-to-upgrade[using the installer]
147-
or xref:running-the-upgrade-playbook-directly[running the upgrade playbook
148-
directly]. Choose and follow one method.
144+
After satisfying these steps, there are two methods for running the automated
145+
upgrade:
146+
147+
- xref:upgrading-using-the-installation-utility-to-upgrade[Using the installer]
148+
- xref:running-the-upgrade-playbook-directly[Running the upgrade playbook directly]
149+
150+
Choose and follow one of these methods.
149151

150152
[[upgrading-using-the-installation-utility-to-upgrade]]
151153
== Using the Installer to Upgrade
@@ -167,20 +169,21 @@ format. If you do not have an installation configuration file of any format, you
167169
can
168170
xref:../../install_config/install/quick_install.adoc#defining-an-installation-configuration-file[create one manually].
169171

170-
To start the upgrade, run the installer with the `upgrade` subcommand:
172+
To start an upgrade with the quick installer:
171173

174+
. Satisfy the steps in xref:preparing-for-an-automated-upgrade[Preparing for an Automated Upgrade] to ensure you are using the latest upgrade playbooks.
175+
. Run the installer with the `upgrade` subcommand:
176+
+
172177
----
173178
# atomic-openshift-installer upgrade
174179
----
175-
176-
Then, follow the on-screen instructions to upgrade to the latest release.
177-
180+
. Then, follow the on-screen instructions to upgrade to the latest release.
178181
// tag::automated_upgrade_after_reboot[]
179-
When the upgrade finishes, a recommendation will be printed to reboot all hosts.
180-
After rebooting, if there are no features enabled, you can
182+
. When the upgrade finishes, a recommendation will be printed to reboot all hosts.
183+
After rebooting, if there are no additional features enabled, you can
181184
xref:verifying-the-upgrade[verify the upgrade]. Otherwise, the next step depends
182185
on what features are enabled.
183-
186+
+
184187
[cols="1,4"]
185188
|===
186189
| Feature | Next Step
@@ -196,63 +199,64 @@ on what features are enabled.
196199
[[running-the-upgrade-playbook-directly]]
197200
== Running the Upgrade Playbook Directly
198201

199-
Alternatively, you can run the upgrade playbook with Ansible directly, similar
202+
You can run the automated upgrade playbook using Ansible directly, similar
200203
to the advanced installation method, if you have an inventory file.
201204

205+
The same *_v3_3_* upgrade playbook can be used to upgrade either of the
206+
following to the latest 3.3 release:
207+
208+
- xref:upgrading-to-ocp-3-3[Existing {product-title} 3.2 clusters]
209+
- xref:upgrading-to-ocp-3-3-asynchronous-releases[Existing {product-title} 3.3 clusters]
210+
202211
[[upgrading-to-ocp-3-3]]
203212
=== Upgrading to {product-title} 3.3
204213

205-
Before running the upgrade, first ensure the `*deployment_type*` parameter in
206-
your inventory file is set to `openshift-enterprise`.
214+
To run an upgrade from {product-title} 3.2 to 3.3:
207215

208-
If you have multiple masters configured and want to enable rolling, full system
216+
. Satisfy the steps in xref:preparing-for-an-automated-upgrade[Preparing for an Automated Upgrade] to ensure you are using the latest upgrade playbooks.
217+
. Ensure the `*deployment_type*` parameter in your inventory file is set to
218+
`openshift-enterprise`.
219+
. If you have multiple masters configured and want to enable rolling, full system
209220
restarts of the hosts, you can set the `*openshift_rolling_restart_mode*`
210221
parameter in your inventory file to `system`. Otherwise, the default value
211222
*services* performs rolling service restarts on HA masters, but does not reboot
212223
the systems. See
213224
xref:../install/advanced_install.adoc#configuring-cluster-variables[Configuring
214225
Cluster Variables] for details.
215-
216-
Then, run the *_v3_3_* upgrade playbook. If your inventory file is
217-
located somewhere other than the default *_/etc/ansible/hosts_*, add the `-i`
218-
flag to specify the location. If you previously used the
219-
`atomic-openshift-installer` command to run your installation, you can check
220-
*_~/.config/openshift/hosts_* (previously located at
221-
*_~/.config/openshift/.ansible/hosts_*) for the last inventory file that was
222-
used, if needed.
223-
226+
. Run the *_v3_3_* upgrade playbook. If your inventory file is located somewhere
227+
other than the default *_/etc/ansible/hosts_*, add the `-i` flag to specify the
228+
location. If you previously used the `atomic-openshift-installer` command to run
229+
your installation, you can check *_~/.config/openshift/hosts_* (previously
230+
located at *_~/.config/openshift/.ansible/hosts_*) for the last inventory file
231+
that was used, if needed.
232+
+
224233
----
225234
# ansible-playbook [-i </path/to/inventory/file>] \
226235
/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade.yml
227236
----
228-
229237
include::install_config/upgrading/automated_upgrades.adoc[tag=automated_upgrade_after_reboot]
230238

231239
[[upgrading-to-ocp-3-3-asynchronous-releases]]
232240
=== Upgrading to {product-title} 3.3 Asynchronous Releases
233241

234242
To apply
235-
xref:../../release_notes/ocp_3_3_release_notes.html#ocp-33-asynchronous-errata-updates[asynchronous errata updates] to an existing {product-title} 3.3 cluster, first upgrade the
236-
*atomic-openshift-utils* package on the Red Hat Enterprise Linux 7 system where
237-
you will be running Ansible:
243+
xref:../../release_notes/ocp_3_3_release_notes.html#ocp-33-asynchronous-errata-updates[asynchronous errata updates] to an existing {product-title} 3.3 cluster:
238244

239-
----
240-
# yum update atomic-openshift-utils
241-
----
242245

243-
Then, run the same *_v3_3_* upgrade playbook that is used for
244-
xref:upgrading-to-ocp-3-3[upgrading to {product-title} 3.3 from 3.2]. If your inventory file is located somewhere other than the default
246+
. Satisfy the steps in xref:preparing-for-an-automated-upgrade[Preparing for an Automated Upgrade] to ensure you are using the latest upgrade playbooks.
247+
. Run the *_v3_3_* upgrade playbook (the same playbook that is used for
248+
xref:upgrading-to-ocp-3-3[upgrading from {product-title} 3.2 to 3.3]). If your
249+
inventory file is located somewhere other than the default
245250
*_/etc/ansible/hosts_*, add the `-i` flag to specify the location. If you
246251
previously used the `atomic-openshift-installer` command to run your
247252
installation, you can check *_~/.config/openshift/hosts_* (previously located at
248-
*_~/.config/openshift/.ansible/hosts_*) for the last
249-
inventory file that was used, if needed.
250-
253+
*_~/.config/openshift/.ansible/hosts_*) for the last inventory file that was
254+
used, if needed.
255+
+
251256
----
252257
# ansible-playbook [-i </path/to/inventory/file>] \
253258
/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade.yml
254259
----
255-
256260
include::install_config/upgrading/automated_upgrades.adoc[tag=automated_upgrade_after_reboot]
257261
endif::[]
258262

@@ -282,28 +286,29 @@ to the latest metric components.
282286
[[verifying-the-upgrade]]
283287
== Verifying the Upgrade
284288

285-
To verify the upgrade, first check that all nodes are marked as *Ready*:
289+
To verify the upgrade:
286290

287-
====
291+
. First check that all nodes are marked as *Ready*:
292+
+
288293
----
289294
# oc get nodes
290295
NAME STATUS AGE
291296
master.example.com Ready,SchedulingDisabled 165d
292297
node1.example.com Ready 165d
293298
node2.example.com Ready 165d
294299
----
295-
====
296-
297-
Then, verify that you are running the expected versions of the *docker-registry*
298-
and *router* images, if deployed:
299-
300-
====
300+
. Then, verify that you are running the expected versions of the *docker-registry*
301+
and *router* images, if deployed.
302+
ifdef::openshift-enterprise[]
303+
Replace `<tag>` with `{latest-tag}` for the latest version.
304+
endif::[]
305+
+
301306
----
302307
ifdef::openshift-enterprise[]
303308
# oc get -n default dc/docker-registry -o json | grep \"image\"
304-
"image": "openshift3/ose-docker-registry:v3.3.0.34",
309+
"image": "openshift3/ose-docker-registry:<tag>",
305310
# oc get -n default dc/router -o json | grep \"image\"
306-
"image": "openshift3/ose-haproxy-router:v3.3.0.34",
311+
"image": "openshift3/ose-haproxy-router:<tag>",
307312
endif::[]
308313
ifdef::openshift-origin[]
309314
# oc get -n default dc/docker-registry -o json | grep \"image\"
@@ -312,23 +317,18 @@ ifdef::openshift-origin[]
312317
"image": "openshift/origin-haproxy-router:v1.0.6",
313318
endif::[]
314319
----
315-
====
316-
317320
ifdef::openshift-origin[]
318-
If you upgraded from Origin 1.0 to Origin 1.1, verify in your old
321+
. If you upgraded from Origin 1.0 to Origin 1.1, verify in your old
319322
*_/etc/sysconfig/openshift-master_* and *_/etc/sysconfig/openshift-node_* files
320323
that any custom configuration is added to your new
321324
*_/etc/sysconfig/origin-master_* and *_/etc/sysconfig/origin-node_* files.
322325
endif::[]
323-
324-
After upgrading, you can use the diagnostics tool on the master to look for
326+
. After upgrading, you can use the diagnostics tool on the master to look for
325327
common issues:
326-
327-
====
328+
+
328329
----
329330
# oadm diagnostics
330331
...
331332
[Note] Summary of diagnostics execution:
332333
[Note] Completed with no errors or warnings seen.
333334
----
334-
====

0 commit comments

Comments
 (0)