Chapter 8. Post-update configuration changes for clusters backed by local storage
In Red Hat OpenShift Container Platform 4.6 and onward, the Local Storage Operator provides new custom resource types for managing local storage:
-
LocalVolumeDiscovery
-
LocalVolumeSet
If you have incrementally upgraded to OpenShift Data Foundation version 4.9 from version 4.5 or earlier with Local Storage Operator, and these resources have not yet been created, additional configuration steps are required after an update to ensure that all features work as expected. These resource types are not automatically handled as part of an update from 4.5, and must be created manually. See Post-update configuration changes for clusters backed by local storage for instructions on creating the resources.
If you had already created these resources after upgrading from 4.5, then you do not need to create them after upgrading to 4.9.
8.1. Adding annotations
You need to add annotations to the storage cluster to enable replacing of failed storage devices through the user interface when you upgraded to OpenShift Data Foundation version 4.9 from a previous version.
Procedure
- Log in to the OpenShift Container Platform Web Console.
- Click Home → Search.
- Search for StorageCluster in Resources and click on it.
-
Beside
ocs-storagecluster
, click Action menu (⋮) → Edit annotations. -
Add
cluster.ocs.openshift.io/local-devices
andtrue
for KEY and VALUE respectively. - Click Save.