Search

Chapter 2. Verifying your OpenShift Container Storage installation

download PDF

Use this section to verify that OpenShift Container Storage is deployed correctly.

2.1. Verify that the pods are in running state

  • Click Workloads Pods from the left pane of the OpenShift Web Console.
  • Select openshift-storage from the Project drop down list.

    The number of pods varies depending on the number of worker nodes deployed on OpenShift Container Platform.

Note

When you need to override the cluster-wide default node selector for OpenShift Container Storage, you can perform the following steps in command line interface:

  1. Specify a blank node selector for the openshift-storage namespace.

    $ oc annotate namespace openshift-storage openshift.io/node-selector=
  2. Delete the original pods generated by the DaemonSets.

    oc delete pod -l app=csi-cephfsplugin -n openshift-storage
    oc delete pod -l app=csi-rbdplugin -n openshift-storage

Verify that the following pods are in running and completed state by clicking on the Running and the Completed tabs:

Table 2.1. Pods corresponding to storage components for a three worker node cluster
ComponentNo. of podsName of the pod

OpenShift Container Storage Operator

1

ocs-operator-*

Rook-ceph Operator

1

rook-ceph-operator-*

NooBaa

2

  • noobaa-operator-*
  • noobaa-core-*

Mon

3

  • rook-ceph-mon-a-*
  • rook-ceph-mon-b-*
  • rook-ceph-mon-c-*

    (on different nodes)

CSI

10

  • cephfs (5 pods)

    • csi-cephfsplugin-* (3 pods on different nodes)
    • csi-cephfsplugin-provisioner-* (2 pods)
  • rbd (5 pods )

    • csi-rbdplugin-* (3 pods on different nodes)
    • csi-rbdplugin-provisioner-* (2 pods)

OSD

3

rook-ceph-osd-* (3 pods on different nodes)

rook-ceph-mgr

1

rook-ceph-mgr-*

mds

2

rook-ceph-mds-ocs-storagecluster-cephfilesystem-* (2 pods on different nodes)

rook-ceph-drain-canary

3

rook-ceph-drain-canary-* (3 pods)

rgw (listed only in VMware)

1

rook-ceph-rgw-ocs-storagecluster-cephobjectstore-*

2.2. Verify that the OpenShift Container Storage cluster is healthy

You can verify health of OpenShift Container Storage cluster using the persistent storage dashboard. For more information, see Monitoring OpenShift Container Storage.

  • Click Home Dashboards from the left pane of the OpenShift Web Console and click the Persistent Storage tab.

    In the Health card, verify that the cluster health is displayed as ocs-storagecluster is healthy as shown in the following image:

    Figure 2.1. Health card in Persistent Storage dashboard

    Screenshot of Health card in persistent storage dashboard

    In the Details card, verify that the cluster information is displayed appropriately as follows:

    Figure 2.2. Details card in Persistent Storage dashboard

    Screenshot of Details card in persistent storage dashboard

2.3. Verify that the Multicloud Object Gateway is healthy

You can verify health of OpenShift Container Storage cluster using the object service dashboard. For more information, see Monitoring OpenShift Container Storage.

  • Click Home Dashboards from the left pane of the OpenShift Web Console and click the Object Service tab.

    In the Health card, verify that the Multicloud Object Gateway (MCG) storage health is displayed as Object Storage is healthy as shown in the following image:

    Figure 2.3. Health card in Object Service dashboard

    Screenshot of Health card in object service dashboard

    In the Details card, verify that the MCG information is displayed appropriately as follows:

    Figure 2.4. Details card in Object Service dashboard

    Screenshot of Details card in object service dashboard

2.4. Verify that the storage classes are created and listed

  • Click Storage Storage Classes from the left pane of the OpenShift Web Console.

    Verify that the following three storage classes are created with the OpenShift Container Storage cluster creation:

    • ocs-storagecluster-ceph-rbd
    • ocs-storagecluster-cephfs
    • openshift-storage.noobaa.io
    ocs verifying create storage class
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.