Bug 1823417

Summary: csi-cephfsplugin and csi-rbdplugin needs to change kubelet path
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: akgunjal <akgunjal>
Component: ocs-operatorAssignee: Jose A. Rivera <jarrpa>
Status: CLOSED DUPLICATE QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2CC: madam, ocs-bugs, sostapov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-15 14:44:19 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 akgunjal@in.ibm.com 2020-04-13 16:01:10 UTC
Description of problem (please be detailed as possible and provide log
snippests):
The daemon sets csi-cephfsplugin and csi-rbdplugin need to use the path /var/data/kubelet as the kubelet path is different in ROKS. Ideally its better to find the kubelet path dynamically if possible.


Version of all relevant components (if applicable):


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


Is there any workaround available to the best of your knowledge?
Manually updated the daemon sets csi-cephfsplugin and csi-rbdplugin use the path /var/data/kubelet instead of /var/lib/kubelet


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?
Yes

Can this issue reproduce from the UI?


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


Steps to Reproduce:
1.Deploy OCS on RedHat OpenShift kubernetes service (ROKS)
2.Try to create ceph RBD or Ceph FS storage.


Actual results:
The PVC creation fails with error "staging path not set"


Expected results:
PVC should be successful.

Additional info:
We have a GHE open for this issue https://github.com/openshift/ocs-operator/issues/454

Comment 2 Raz Tamir 2020-04-13 16:27:55 UTC
Not a blocker for the release.
Moving accordingly

Comment 3 Jose A. Rivera 2020-04-15 14:44:19 UTC
There is already a BZ for this, so marking this one as duplicate: https://bugzilla.redhat.com/show_bug.cgi?id=1801365

*** This bug has been marked as a duplicate of bug 1801365 ***