Skip to content

Commit 4a2743e

Browse files
authored
Merge pull request #8107 from adellape/ocp39installupgrade
Initial updates for OCP 3.9 install/upgrade
2 parents 4223b0a + 15d5dde commit 4a2743e

21 files changed

+277
-735
lines changed

Diff for: _topic_map.yml

-4
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,6 @@ Topics:
503503
File: blue_green_deployments
504504
- Name: Updating Operating Systems
505505
File: os_upgrades
506-
- Name: Migrating Embedded etcd to External etcd
507-
File: migrating_embedded_etcd
508-
- Name: Migrating etcd Data (v2 to v3)
509-
File: migrating_etcd
510506
- Name: Downgrading
511507
File: downgrade
512508
Distros: openshift-enterprise

Diff for: admin_guide/backup_restore.adoc

+1-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ following sections), which depends on how *etcd* is deployed.
109109

110110
[WARNING]
111111
====
112-
Embedded etcd is no longer supported starting with {product-title} 3.7. See
113-
xref:../upgrading/migrating_embedded_etcd.adoc#install-config-upgrading-etcd-data-migration[Migrating Embedded etcd to External etcd] for details.
112+
Embedded etcd is no longer supported starting with {product-title} 3.7.
114113
====
115114

116115

Diff for: admin_guide/manage_nodes.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To list all nodes that are known to the master:
3030
----
3131
$ oc get nodes
3232
NAME STATUS AGE
33-
master.example.com Ready,SchedulingDisabled 165d
33+
master.example.com Ready 165d
3434
node1.example.com Ready 165d
3535
node2.example.com Ready 165d
3636
----

Diff for: day_two_guide/topics/etcd_backup.adoc

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ etcdctl version: 3.2.5
2828
API version: 3.2
2929
----
3030

31-
See xref:../upgrading/migrating_etcd.adoc[Migrating etcd Data (v2
32-
to v3) section] for information about how to migrate to v3.
31+
See
32+
link:https://docs.openshift.com/container-platform/3.7/upgrading/migrating_etcd.html[Migrating etcd Data (v2 to v3) section] in the {product-title} 3.7 documentation for
33+
information about how to migrate to v3.
3334

3435
=== Back up and restore etcd
3536

Diff for: install_config/imagestreams_templates.adoc

+8-8
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,18 @@ endif::[]
169169
+
170170
ifdef::openshift-origin[]
171171
----
172-
$ IMAGESTREAMDIR=~/openshift-ansible/roles/openshift_examples/files/examples/v3.6/image-streams; \
173-
DBTEMPLATES=~/openshift-ansible/roles/openshift_examples/files/examples/v3.6/db-templates; \
174-
QSTEMPLATES=~/openshift-ansible/roles/openshift_examples/files/examples/v3.6/quickstart-templates
172+
$ IMAGESTREAMDIR=~/openshift-ansible/roles/openshift_examples/files/examples/v3.9/image-streams; \
173+
DBTEMPLATES=~/openshift-ansible/roles/openshift_examples/files/examples/v3.9/db-templates; \
174+
QSTEMPLATES=~/openshift-ansible/roles/openshift_examples/files/examples/v3.9/quickstart-templates
175175
----
176176
endif::[]
177177
ifdef::openshift-enterprise[]
178178
----
179-
$ IMAGESTREAMDIR="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.6/image-streams"; \
180-
XPAASSTREAMDIR="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.6/xpaas-streams"; \
181-
XPAASTEMPLATES="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.6/xpaas-templates"; \
182-
DBTEMPLATES="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.6/db-templates"; \
183-
QSTEMPLATES="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.6/quickstart-templates"
179+
$ IMAGESTREAMDIR="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.9/image-streams"; \
180+
XPAASSTREAMDIR="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.9/xpaas-streams"; \
181+
XPAASTEMPLATES="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.9/xpaas-templates"; \
182+
DBTEMPLATES="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.9/db-templates"; \
183+
QSTEMPLATES="/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.9/quickstart-templates"
184184
----
185185
endif::[]
186186

Diff for: install_config/install/advanced_install.adoc

+60-46
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,18 @@ own implementation using the configuration management tool of your choosing.
2828
====
2929
While RHEL Atomic Host is supported for running containerized {product-title}
3030
services, the advanced installation method utilizes Ansible, which is not
31-
available in RHEL Atomic Host, and must therefore be run from
31+
available in RHEL Atomic Host. The RPM-based installer must therefore be run
32+
from
3233
ifdef::openshift-enterprise[]
3334
a RHEL 7 system.
3435
endif::[]
3536
ifdef::openshift-origin[]
3637
a supported version of Fedora, CentOS, or RHEL.
3738
endif::[]
3839
The host initiating the installation does not need to be intended for inclusion
39-
in the {product-title} cluster, but it can be.
40-
41-
Alternatively, a
42-
xref:running-the-advanced-installation-system-container[containerized version of the installer] is available as a system container, which is currently a
43-
Technology Preview feature.
40+
in the {product-title} cluster, but it can be. Alternatively, a
41+
xref:running-the-advanced-installation-system-container[containerized version of the installer] is available as a system container, which can be run from a RHEL
42+
Atomic Host system.
4443
====
4544

4645
[NOTE]
@@ -58,7 +57,7 @@ and
5857
xref:../../install_config/install/host_preparation.adoc#install-config-install-host-preparation[Host
5958
Preparation] topics to prepare your hosts. This includes verifying system and
6059
environment requirements per component type and properly installing and
61-
configuring Docker. It also includes installing Ansible version 2.3 or later,
60+
configuring Docker. It also includes installing Ansible version 2.4 or later,
6261
as the advanced installation method is based on Ansible playbooks and as such
6362
requires directly invoking Ansible.
6463

@@ -73,11 +72,10 @@ xref:../../scaling_performance/install_practices.adoc#scaling-performance-instal
7372

7473
After following the instructions in the
7574
xref:../../install_config/install/prerequisites.adoc#install-config-install-prerequisites[Prerequisites]
76-
topic, deciding between the RPM and containerized methods and
77-
xref:advanced-cloud-providers[choosing from the on-premises or cloud scenarios],
78-
you can continue in this topic to
79-
xref:configuring-ansible[Configuring Ansible Inventory Files].
75+
topic and deciding between the RPM and containerized methods, you can continue
76+
in this topic to xref:configuring-ansible[Configuring Ansible Inventory Files].
8077

78+
ifdef::openshift-origin[]
8179
[[advanced-cloud-providers]]
8280
=== Cloud installation
8381

@@ -114,7 +112,8 @@ is no longer supported. For the Red Hat OpenStack 13 release, this process is re
114112
link:https://github.com/openshift/openshift-ansible/tree/master/playbooks/openstack[Ansible driven deployment solution].
115113
For automated installations, please follow that guide.
116114
====
117-
endif::[]
115+
endif::openshift-enterprise[]
116+
endif::openshift-origin[]
118117

119118
[[configuring-ansible]]
120119
== Configuring Ansible Inventory Files
@@ -1301,20 +1300,19 @@ xref:../../architecture/networking/network_plugins.adoc#openshift-sdn[OpenShift
13011300
master.example.com
13021301
----
13031302

1304-
In order to ensure that your masters are not burdened with running pods, they
1305-
are automatically marked unschedulable by default by the installer, meaning that
1306-
new pods cannot be placed on the hosts. This is the same as setting the
1307-
`openshift_schedulable=false` host variable.
1308-
1309-
You can manually set a master host to schedulable during installation using the
1310-
`openshift_schedulable=true` host variable, though this is not recommended in
1311-
production environments:
1303+
In previous versions of {product-title}, master hosts were marked unschedulable
1304+
by default by the installer, meaning that new pods could be placed on the hosts.
1305+
Starting with {product-title} 3.9, however, masters must be marked schedulable;
1306+
this is done by setting the `openshift_schedulable=true` variable for the host:
13121307

13131308
----
13141309
[nodes]
13151310
master.example.com openshift_schedulable=true
13161311
----
13171312

1313+
This change is mainly so that the web console, which used to run as part of the
1314+
master itself, can instead be run as a pod deployed to the master.
1315+
13181316
If you want to change the schedulability of a host post-installation, see
13191317
xref:../../admin_guide/manage_nodes.adoc#marking-nodes-as-unschedulable-or-schedulable[Marking Nodes as Unschedulable or Schedulable].
13201318

@@ -1384,10 +1382,10 @@ you need to xref:advanced-install-configuring-registry-location[specify the desi
13841382
in the *_/etc/ansible/hosts_* file.
13851383

13861384
As described in xref:marking-masters-as-unschedulable-nodes[Configuring
1387-
Schedulability on Masters], master hosts are marked unschedulable by default. If
1385+
Schedulability on Masters], master hosts are marked schedulable by default. If
13881386
you label a master host with `region=infra` and have no other dedicated
1389-
infrastructure nodes, you must also explicitly mark these master hosts as
1390-
schedulable. Otherwise, the registry and router pods cannot be placed anywhere:
1387+
infrastructure nodes, the master hosts must also be marked as schedulable.
1388+
Otherwise, the registry and router pods cannot be placed anywhere:
13911389

13921390
----
13931391
[nodes]
@@ -1523,8 +1521,7 @@ xref:../../install_config/redeploying_certificates.adoc#install-config-redeployi
15231521
[[advanced-install-cluster-metrics]]
15241522
=== Configuring Cluster Metrics
15251523

1526-
Starting with {product-title} 3.7, cluster metrics are set to deploy
1527-
automatically by default during installation:
1524+
Cluster metrics are set to deploy automatically by default during installation:
15281525

15291526
[NOTE]
15301527
====
@@ -1629,13 +1626,11 @@ The remote volume path using the following options would be
16291626
Cluster logging is not set to automatically deploy by default. Set the
16301627
following to enable cluster logging when using the advanced installation method:
16311628

1632-
====
16331629
----
16341630
[OSEv3:vars]
16351631
16361632
openshift_logging_install_logging=true
16371633
----
1638-
====
16391634

16401635
[[advanced-installation-logging-storage]]
16411636
==== Configuring Logging Storage
@@ -1717,9 +1712,8 @@ The remote volume path using the following options would be
17171712
[[enabling-service-catalog]]
17181713
=== Configuring the Service Catalog
17191714

1720-
Starting with {product-title} 3.7, the
1721-
xref:../../architecture/service_catalog/index.adoc#architecture-additional-concepts-service-catalog[service
1722-
catalog] is enabled by default during installation. Enabling the service broker
1715+
The
1716+
xref:../../architecture/service_catalog/index.adoc#architecture-additional-concepts-service-catalog[service catalog] is enabled by default during installation. Enabling the service broker
17231717
allows service brokers to be registered with the catalog.
17241718

17251719
[NOTE]
@@ -1742,9 +1736,9 @@ as well; see xref:configuring-openshift-ansible-broker[Configuring the OpenShift
17421736
[[configuring-openshift-ansible-broker]]
17431737
=== Configuring the OpenShift Ansible Broker
17441738

1745-
Starting with {product-title} 3.7, the
1746-
xref:../../architecture/service_catalog/ansible_service_broker.adoc#arch-ansible-service-broker[OpenShift
1747-
Ansible broker] (OAB) is enabled by default. However, further configuration may be required for use.
1739+
The
1740+
xref:../../architecture/service_catalog/ansible_service_broker.adoc#arch-ansible-service-broker[OpenShift Ansible broker] (OAB) is enabled by default during installation. However,
1741+
further configuration may be required for use.
17481742

17491743
[[configuring-oab-storage]]
17501744
==== Configuring Persistent Storage for the OpenShift Ansible Broker
@@ -1755,9 +1749,30 @@ using persistent volumes (PVs) to function. If no PV is available, etcd will
17551749
wait until the PV can be satisfied. The OAB application will enter a `CrashLoop`
17561750
state until its etcd instance is available.
17571751

1758-
Some Ansible playbook bundles (APBs) may also require a PV for their own usage.
1759-
Two APBs are currently provided with {product-title} 3.7: MediaWiki and
1760-
PostgreSQL. Both of these require their own PV to deploy.
1752+
Some Ansible playbook bundles (APBs) also require a PV for their own usage in
1753+
order to deploy. For example, each of the database APBs have two plans: the
1754+
Development plan uses ephermal storage and does not require a PV, while the
1755+
Production plan is persisted and does require a PV.
1756+
1757+
[options="header"]
1758+
|===
1759+
|APB |PV Required?
1760+
1761+
|*postgresql-apb*
1762+
|Yes, but only for the Production plan
1763+
1764+
|*mysql-apb*
1765+
|Yes, but only for the Production plan
1766+
1767+
|*mariadb-apb*
1768+
|Yes, but only for the Production plan
1769+
1770+
|*mediawiki-apb*
1771+
|Yes
1772+
1773+
|===
1774+
1775+
To configure persistent storage for the OAB:
17611776

17621777
[NOTE]
17631778
====
@@ -1766,8 +1781,6 @@ but
17661781
xref:../../install_config/persistent_storage/index.adoc#install-config-persistent-storage-index[other persistent storage providers] can be used instead.
17671782
====
17681783

1769-
To configure persistent storage for the OAB:
1770-
17711784
. In your inventory file, add `nfs` to the `[OSEv3:children]` section to enable
17721785
the `[nfs]` group:
17731786
+
@@ -1837,7 +1850,8 @@ ansible_service_broker_local_registry_whitelist=['.*-apb$']
18371850
[[configuring-template-service-broker]]
18381851
=== Configuring the Template Service Broker
18391852

1840-
Starting with {product-title} 3.7, the xref:../../architecture/service_catalog/template_service_broker.adoc#arch-template-service-broke[template service broker] (TSB) is enabled by default.
1853+
The
1854+
xref:../../architecture/service_catalog/template_service_broker.adoc#arch-template-service-broke[template service broker] (TSB) is enabled by default during installation.
18411855

18421856
To configure the TSB, one or more projects must be defined as the broker's
18431857
source namespace(s) for loading templates and image streams into the service
@@ -2453,10 +2467,10 @@ concern for the install restarting *docker* on the host.
24532467
--storage=ostree \
24542468
--set INVENTORY_FILE=/path/to/inventory \ <1>
24552469
ifdef::openshift-enterprise[]
2456-
registry.access.redhat.com/openshift3/ose-ansible:v3.7
2470+
registry.access.redhat.com/openshift3/ose-ansible:v3.9
24572471
endif::[]
24582472
ifdef::openshift-origin[]
2459-
docker.io/openshift/origin-ansible:v3.7
2473+
docker.io/openshift/origin-ansible:v3.9
24602474
endif::[]
24612475
----
24622476
<1> Specify the location on the local host for your inventory file.
@@ -2492,10 +2506,10 @@ installation, use the following command:
24922506
--set PLAYBOOK_FILE=/usr/share/ansible/openshift-ansible/playbooks/openshift-checks/pre-install.yml \ <1>
24932507
--set OPTS="-v" \ <2>
24942508
ifdef::openshift-enterprise[]
2495-
registry.access.redhat.com/openshift3/ose-ansible:v3.7
2509+
registry.access.redhat.com/openshift3/ose-ansible:v3.9
24962510
endif::[]
24972511
ifdef::openshift-origin[]
2498-
docker.io/openshift/origin-ansible:v3.7
2512+
docker.io/openshift/origin-ansible:v3.9
24992513
endif::[]
25002514
----
25012515
<1> Set `PLAYBOOK_FILE` to the full path of the playbook starting at the
@@ -2537,10 +2551,10 @@ $ docker run -t -u `id -u` \ <1>
25372551
-e PLAYBOOK_FILE=playbooks/deploy_cluster.yml \ <4>
25382552
-e OPTS="-v" \ <5>
25392553
ifdef::openshift-enterprise[]
2540-
registry.access.redhat.com/openshift3/ose-ansible:v3.7
2554+
registry.access.redhat.com/openshift3/ose-ansible:v3.9
25412555
endif::[]
25422556
ifdef::openshift-origin[]
2543-
docker.io/openshift/origin-ansible:v3.7
2557+
docker.io/openshift/origin-ansible:v3.9
25442558
endif::[]
25452559
----
25462560
<1> `-u `id -u`` makes the container run with the same UID as the current
@@ -2673,7 +2687,7 @@ following as root:
26732687
# oc get nodes
26742688
26752689
NAME STATUS AGE
2676-
master.example.com Ready,SchedulingDisabled 165d
2690+
master.example.com Ready 165d
26772691
node1.example.com Ready 165d
26782692
node2.example.com Ready 165d
26792693
----

Diff for: install_config/install/disconnected_install.adoc

+15-8
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
= Disconnected Installation
33
{product-author}
44
{product-version}
5-
:latest-tag: v3.7.9
6-
:latest-int-tag: v3.7.9
7-
:latest-registry-console-tag: v3.7.9
5+
:latest-tag: v3.9.3
6+
:latest-int-tag: v3.9.3
7+
:latest-registry-console-tag: v3.9.3
88
:data-uri:
99
:icons:
1010
:experimental:
@@ -132,7 +132,8 @@ $ subscription-manager repos \
132132
--enable="rhel-7-server-rpms" \
133133
--enable="rhel-7-server-extras-rpms" \
134134
--enable="rhel-7-fast-datapath-rpms" \
135-
--enable="rhel-7-server-ose-3.7-rpms"
135+
--enable="rhel-7-server-ansible-2.4-rpms" \
136+
--enable="rhel-7-server-ose-3.9-rpms"
136137
----
137138

138139
. The `yum-utils` command provides the *reposync* utility, which lets you mirror
@@ -167,7 +168,8 @@ $ for repo in \
167168
rhel-7-server-rpms \
168169
rhel-7-server-extras-rpms \
169170
rhel-7-fast-datapath-rpms \
170-
rhel-7-server-ose-3.7-rpms
171+
rhel-7-server-ansible-2.4-rpms \
172+
rhel-7-server-ose-3.9-rpms
171173
do
172174
reposync --gpgcheck -lm --repoid=${repo} --download_path=/path/to/repos
173175
createrepo -v </path/to/repos/>${repo} -o </path/to/repos/>${repo}
@@ -478,9 +480,14 @@ name=rhel-7-fast-datapath-rpms
478480
baseurl=http://<server_IP>/repos/rhel-7-fast-datapath-rpms
479481
enabled=1
480482
gpgcheck=0
481-
[rhel-7-server-ose-3.7-rpms]
482-
name=rhel-7-server-ose-3.7-rpms
483-
baseurl=http://<server_IP>/repos/rhel-7-server-ose-3.7-rpms
483+
[rhel-7-server-ansible-2.4-rpms]
484+
name=rhel-7-server-ansible-2.4-rpms
485+
baseurl=http://<server_IP>/repos/rhel-7-server-ansible-2.4-rpms
486+
enabled=1
487+
gpgcheck=0
488+
[rhel-7-server-ose-3.9-rpms]
489+
name=rhel-7-server-ose-3.9-rpms
490+
baseurl=http://<server_IP>/repos/rhel-7-server-ose-3.9-rpms
484491
enabled=1
485492
gpgcheck=0
486493
----

0 commit comments

Comments
 (0)