Bug 2002600

Summary: Add capacity is disabled for ocs-storagecluster
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Console Storage PluginAssignee: afrahman
Status: CLOSED ERRATA QA Contact: Oded <oviner>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.9CC: afrahman, aos-bugs, assingh, bkunal, etamir, jefbrown, madam, nberry, nthomas, ocs-bugs, oviner
Target Milestone: ---Keywords: Reopened
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-01 13:44:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2001855    
Bug Blocks:    

Comment 4 Oded 2021-10-28 07:51:09 UTC
Bug Fixed.
Add capacity via UI  with 100G osd size

SetUp:
Provider: Vmware
OCP Version: 4.9.0-0.nightly-2021-10-27-162129
ODF Version: 4.9.0-204.ci

Test Procedure:
1.Check OSD/PVC Status:
$ oc get pods | grep osd
rook-ceph-osd-0-774f86bb95-bcgt9                                  2/2     Running     0               3h29m
rook-ceph-osd-1-6b5b85f7fb-l9w92                                  2/2     Running     0               3h30m
rook-ceph-osd-2-57f48c9b95-c2mvd                                  2/2     Running     0               8h
rook-ceph-osd-prepare-ocs-deviceset-0-data-0tqbpz--1-gnrxt        0/1     Completed   0               8h
rook-ceph-osd-prepare-ocs-deviceset-1-data-0578v7--1-k74h7        0/1     Completed   0               8h
rook-ceph-osd-prepare-ocs-deviceset-2-data-0l95sc--1-wbmlp        0/1     Completed   0               8h
$ oc get pvc | grep device
ocs-deviceset-0-data-0tqbpz   Bound    pvc-d0b45f46-d409-4026-8575-08584153301c   100Gi      RWO            thin                          8h
ocs-deviceset-1-data-0578v7   Bound    pvc-87e1c929-05e3-4b25-8bcc-7ef30bc50dba   100Gi      RWO            thin                          8h
ocs-deviceset-2-data-0l95sc   Bound    pvc-47cb2bc8-1281-49ae-836a-0f1573dcbe70   100Gi      RWO            thin                          8h

2.Add Capacity via UI:
Installed Operators->Storage System->3 dots->Add Capacity->Add
*Attched screenshot


3.Check OSD/PVC Status:
$ oc get pods | grep osd
rook-ceph-osd-0-774f86bb95-bcgt9                                  2/2     Running     0               3h42m
rook-ceph-osd-1-6b5b85f7fb-l9w92                                  2/2     Running     0               3h43m
rook-ceph-osd-2-57f48c9b95-c2mvd                                  2/2     Running     0               8h
rook-ceph-osd-3-c64678fb9-sv2hr                                   2/2     Running     0               7m47s
rook-ceph-osd-4-6fbc99c7b8-5phmq                                  2/2     Running     0               7m46s
rook-ceph-osd-5-65544df457-94dsf                                  2/2     Running     0               7m45s
rook-ceph-osd-prepare-ocs-deviceset-0-data-0tqbpz--1-gnrxt        0/1     Completed   0               8h
rook-ceph-osd-prepare-ocs-deviceset-0-data-1kjjpp--1-6957n        0/1     Completed   0               8m28s
rook-ceph-osd-prepare-ocs-deviceset-1-data-0578v7--1-k74h7        0/1     Completed   0               8h
rook-ceph-osd-prepare-ocs-deviceset-1-data-1thvj7--1-77rwp        0/1     Completed   0               8m28s
rook-ceph-osd-prepare-ocs-deviceset-2-data-0l95sc--1-wbmlp        0/1     Completed   0               8h
rook-ceph-osd-prepare-ocs-deviceset-2-data-1tssg2--1-4ltqm        0/1     Completed   0               8m28s


$ oc get pvc | grep ocs
db-noobaa-db-pg-0             Bound    pvc-6eeababd-576f-4e4e-8c55-0be98960e9b9   50Gi       RWO            ocs-storagecluster-ceph-rbd   8h
ocs-deviceset-0-data-0tqbpz   Bound    pvc-d0b45f46-d409-4026-8575-08584153301c   100Gi      RWO            thin                          8h
ocs-deviceset-0-data-1kjjpp   Bound    pvc-ab58039e-4a31-4e74-b158-84b7ea5dc307   100Gi      RWO            thin                          9m10s
ocs-deviceset-1-data-0578v7   Bound    pvc-87e1c929-05e3-4b25-8bcc-7ef30bc50dba   100Gi      RWO            thin                          8h
ocs-deviceset-1-data-1thvj7   Bound    pvc-8808dd95-1f7d-4baf-a4ea-2d38974541cb   100Gi      RWO            thin                          9m10s
ocs-deviceset-2-data-0l95sc   Bound    pvc-47cb2bc8-1281-49ae-836a-0f1573dcbe70   100Gi      RWO            thin                          8h
ocs-deviceset-2-data-1tssg2   Bound    pvc-2500746b-a264-4c5d-88f6-30d255a22289   100Gi      RWO            thin                          9m10s


4.Check Storagecluster status
$ oc get storagecluster
NAME                 AGE   PHASE   EXTERNAL   CREATED AT             VERSION
ocs-storagecluster   8h    Ready              2021-10-27T23:10:25Z   4.9.0

Comment 7 errata-xmlrpc 2021-11-01 13:44:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.9.5 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4005