Bug 2101877 - RBD StorageClassClaim in Failed phase right after creation if ocs-operator restarted
Summary: RBD StorageClassClaim in Failed phase right after creation if ocs-operator re...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.11.0
Assignee: Subham Rai
QA Contact: Jilju Joy
URL:
Whiteboard:
Depends On: 2101871
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-28 15:29 UTC by Filip Balák
Modified: 2023-08-09 17:00 UTC (History)
6 users (show)

Fixed In Version: 4.11.0-124
Doc Type: No Doc Update
Doc Text:
Clone Of: 2101871
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1729 0 None open odf-to-odf: create default scc when updgrading 2022-06-29 14:31:04 UTC
Github red-hat-storage ocs-operator pull 1752 0 None open Bug 2092417: [release-4.11] odf-to-odf: create default scc when updgrading 2022-07-18 12:31:30 UTC
Github red-hat-storage ocs-operator pull 1753 0 None open odf-to-odf: wrong parameter in storageclass 2022-07-18 12:31:11 UTC
Github red-hat-storage ocs-operator pull 1754 0 None open Bug Bug 2092417: [release-4.11] odf-to-odf: wrong parameter in storageclass 2022-07-18 13:15:14 UTC

Description Filip Balák 2022-06-28 15:29:35 UTC
+++ This bug was initially created as a clone of Bug #2101871 +++

Description of problem:
As discussed in https://chat.google.com/room/AAAASHA9vWs/8BJgltoxETc, if rbd storageclassclaim is created after ocs-operator restart then it ends in Failed phase.

Version-Release number of selected component (if applicable):
ocs-operator.v4.11.0

How reproducible:
1/1

Steps to Reproduce:
1. Install ODF Managed Service with ODF 4.11.
2. Create storageclassclaim
3. Restart ocs-operator
4. Create rbd storageclassclaim like:

apiVersion: ocs.openshift.io/v1alpha1
kind: StorageClassClaim
metadata:
  name: test-storageclassclaim
spec:
  # type: blockpool or sharedfilesystem
  type: blockpool

Actual results:
StorageClassClaims get into Failed state. In my case even the first claim went into failed phase. According to https://chat.google.com/room/AAAASHA9vWs/8BJgltoxETc we can follow steps in Reproducer for more confidence.

Expected results:
StorageClassClaims are ready.

Additional info:

Comment 8 Jilju Joy 2022-08-10 09:32:46 UTC
Verified in version:
ODF 4.11.0-13
OCP 4.10.25

$ oc get csv
NAME                                      DISPLAY                       VERSION           REPLACES                                  PHASE
mcg-operator.v4.11.0                      NooBaa Operator               4.11.0            mcg-operator.v4.10.5                      Succeeded
ocs-operator.v4.11.0                      OpenShift Container Storage   4.11.0            ocs-operator.v4.10.5                      Succeeded
ocs-osd-deployer.v2.0.4                   OCS OSD Deployer              2.0.4             ocs-osd-deployer.v2.0.3                   Succeeded
odf-csi-addons-operator.v4.11.0           CSI Addons                    4.11.0            odf-csi-addons-operator.v4.10.5           Succeeded
odf-operator.v4.11.0                      OpenShift Data Foundation     4.11.0            odf-operator.v4.10.4                      Succeeded
ose-prometheus-operator.4.10.0            Prometheus Operator           4.10.0            ose-prometheus-operator.4.8.0             Succeeded
route-monitor-operator.v0.1.422-151be96   Route Monitor Operator        0.1.422-151be96   route-monitor-operator.v0.1.420-b65f47e   Succeeded


Created storageclassclaims(blockpool and sharedfilesystem storage types) before and after re-spin of ocs-operator pod. Used the storageclasses to create PVC after new ocs-operator came up.
No issue was observed.


Note You need to log in before you can comment on or make changes to this bug.