Chapter 9. Updating OpenShift Container Storage
9.1. Enabling automatic updates for OpenShift Container Storage operator
Use this procedure to enable automatic update approval for updating OpenShift Container Storage operator in OpenShift Container Platform.
Prerequisites
- Update the OpenShift Container Platform cluster to the latest stable release of version 4.3, see Updating Clusters.
If you were already operating on OpenShift Container Platform version 4.3, and you are updating OpenShift Container Storage from version 4.2 to version 4.3, switch the channel from
stable-4.2
tostable-4.3
. For details about channels, see OpenShift Container Platform upgrade channels and releases.NoteYou are required to switch channels only when you are updating minor versions (for example, updating from 4.2 to 4.3) and not when updating between batch updates of 4.3 (for example, updating from 4.3.0 to 4.3.1).
-
Ensure that all OpenShift Container Storage nodes are in
Ready
status. - Under Persistent Storage in Health card, confirm that the Ceph cluster is healthy and data is resilient.
Procedure
- Log in to OpenShift Web Console.
- Click Operators → Installed Operators
-
Select the
openshift-storage
project. - Click on the OpenShift Container Storage operator name.
- Click Subscription tab and click the link under Approval.
- Select Automatic (default) and click Save.
Perform one of the following depending on the Upgrade Status:
Upgrade Status shows requires approval.
- Click on the Install Plan link.
- On the InstallPlan Details page, click Preview Install Plan.
- Review the install plan and click Approve.
- Wait for the Status to change from Unknown to Created.
- Click Operators → Installed Operators
-
Select the
openshift-storage
project. - Wait for the Status to change to Up to date
Upgrade Status does not show requires approval:
- Wait for the update to initiate. This may take up to 20 minutes.
- Click Operators → Installed Operators
-
Select the
openshift-storage
project. - Wait for the Status to change to Up to date
Verification steps
- Click Dashboard → OCS PV tab and in Status card confirm that the Ceph cluster has a green tick mark indicating it is healthy.
- Click Operators → Installed Operators → OpenShift Container Storage Operator.
-
Under Storage Cluster, verify that the cluster service status in
Ready
. - If verification steps fail, kindly contact Red Hat Support.
9.2. Manually updating OpenShift Container Storage operator
Use this procedure to update OpenShift Container Storage operator by providing manual approval to the install plan.
Prerequisites
- Update the OpenShift Container Platform cluster to the latest stable release of version 4.3, see Updating Clusters.
If you were already operating on OpenShift Container Platform version 4.3, and you are updating OpenShift Container Storage from version 4.2 to version 4.3, switch the channel from
stable-4.2
tostable-4.3
. For details about channels, see OpenShift Container Platform upgrade channels and releases.NoteYou are required to switch channels only when you are updating minor versions (for example, updating from 4.2 to 4.3) and not when updating between batch updates of 4.3 (for example, updating from 4.3.0 to 4.3.1).
-
Ensure that all OpenShift Container Storage nodes are in
Ready
status. - Under Persistent Storage in Health card, confirm that the Ceph cluster is healthy and data is resilient.
Procedure
- Log in to OpenShift Web Console.
- Click Operators → Installed Operators
-
Select the
openshift-storage
project. - Click Subscription tab and click the link under Approval.
- Select Manual and click Save.
- Wait for the Upgrade Status to change to Upgrading.
- If the Upgrade Status shows requires approval, click on requires approval.
- On the InstallPlan Details page, click Preview Install Plan.
- Review the install plan and click Approve.
- Wait for the Status to change from Unknown to Created.
- Click Operators → Installed Operators
-
Select the
openshift-storage
project. - Wait for the Status to change to Up to date
Verification steps
- Click Dashboard → OCS PV tab and in Status card confirm that the Ceph cluster has a green tick mark indicating it is healthy.
- Click Operators → Installed Operators → OpenShift Container Storage Operator.
-
Under Storage Cluster, verify that the cluster service status in
Ready
. - If verification steps fail, kindly contact Red Hat Support.