Bug 1865938

Summary: CSIDrivers missing in OCS 4.6
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Vijay Avuthu <vavuthu>
Component: rookAssignee: Travis Nielsen <tnielsen>
Status: CLOSED ERRATA QA Contact: Vijay Avuthu <vavuthu>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.6CC: hchiramm, madam, mrajanna, muagarwa, nberry, ocs-bugs, ratamir, sostapov, tnielsen
Target Milestone: ---Keywords: Automation, AutomationBlocker, BuildBlocker, Regression, TestBlocker
Target Release: OCS 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-17 06:23:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vijay Avuthu 2020-08-04 15:05:07 UTC
Description of problem (please be detailed as possible and provide log
snippests):

CSIDrivers are missing in OCS 4.6



Version of all relevant components (if applicable):

openshift installer (4.6.0-0.nightly-2020-08-04-074017)
ocs_registry_image: quay.io/rhceph-dev/ocs-registry:4.6.0-36.ci


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?
NA


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
1/1

Can this issue reproduce from the UI?
Not tried

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. install OCS using ocs-ci
2. verify CSIdrivers are installed
3.


Actual results:

No CSIDrivers are installed

Expected results:

openshift-storage.cephfs.csi.ceph.com and openshift-storage.rbd.csi.ceph.com should be installed

Additional info:

jenkins Job: https://ceph-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/ocs-ci/539/consoleFull

must gather: https://ceph-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/ocs-ci/539/artifact/logs/failed_testcase_ocs_logs_1596541019/test_deployment_ocs_logs/

Comment 7 Travis Nielsen 2020-08-04 15:27:52 UTC
We really need the fix from OCP for the correct version, otherwise we will keep finding related issues.

Comment 8 Travis Nielsen 2020-08-04 17:07:39 UTC
While we really need the fix from OCP for the correct version, this workaround for the CSI driver will also be a valid fix in case k8s ever goes to v2.

The fix is merged downstream:
https://github.com/openshift/rook/pull/97

Comment 12 Humble Chirammal 2020-08-25 15:24:21 UTC
(In reply to Travis Nielsen from comment #8)
> While we really need the fix from OCP for the correct version, this
> workaround for the CSI driver will also be a valid fix in case k8s ever goes
> to v2.
> 
> The fix is merged downstream:
> https://github.com/openshift/rook/pull/97

Travis, shall we move this to "ON_QA" as its part of the downstream build any way?

Comment 13 Travis Nielsen 2020-08-25 15:36:37 UTC
Yes, it's definitely in the latest 4.6 build

Comment 14 Vijay Avuthu 2020-09-16 14:20:48 UTC
Verified below

$ oc get csv -n openshift-storage
NAME                        DISPLAY                       VERSION       REPLACES   PHASE
ocs-operator.v4.6.0-87.ci   OpenShift Container Storage   4.6.0-87.ci              Succeeded
$ oc get CSIDriver

NAME                                    ATTACHREQUIRED   PODINFOONMOUNT   MODES        AGE
openshift-storage.cephfs.csi.ceph.com   true             false            Persistent   58m
openshift-storage.rbd.csi.ceph.com      true             false            Persistent   58m
$

Comment 17 errata-xmlrpc 2020-12-17 06:23:13 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 (Moderate: Red Hat OpenShift Container Storage 4.6.0 security, bug fix, enhancement 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/RHSA-2020:5605