Bug 2247094

Summary: [IBM Z ] - [ODF deployment] - [multipath device] - StorageSystem creation from webUI using local storage devices does not select multipath devices by default
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Abdul Kandathil (IBM) <akandath>
Component: management-consoleAssignee: Sanjal Katiyar <skatiyar>
Status: CLOSED ERRATA QA Contact: Prasad Desala <tdesala>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.14CC: ebenahar, muagarwa, odf-bz-bot, skatiyar
Target Milestone: ---   
Target Release: ODF 4.15.0   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-19 15:28:08 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 Abdul Kandathil (IBM) 2023-10-30 16:29:05 UTC
Created attachment 1996211 [details]
Storagesystem creation

Description of problem (please be detailed as possible and provide log
snippets):

Storagesystem creation from webui using local storage devices is not detecting multipath devices by default. Rescanning of devices is not happening after Mpath device is selected from the dropdown. Please see attached screenshot.

As an alternative I am able to create localvolumeset manually using the below yaml file which then detect multipath device properly. After creating localvolumeset manually, the deployment of odf works fine using the respective storageclass.

apiVersion: local.storage.openshift.io/v1alpha1
kind: LocalVolumeSet
metadata:
  name: localblock
  namespace: openshift-local-storage
spec:
  deviceInclusionSpec:
    deviceTypes:
      - disk
      - part
      - mpath
    minSize: 1Gi
  nodeSelector:
    nodeSelectorTerms:
      - matchExpressions:
          - key: kubernetes.io/hostname
            operator: In
            values:
              - worker-0.ocsm1301001.lnxero1.boe
              - worker-1.ocsm1301001.lnxero1.boe
              - worker-2.ocsm1301001.lnxero1.boe
  storageClassName: localblock
  tolerations:
    - effect: NoSchedule
      key: node.ocs.openshift.io/storage
      operator: Equal
      value: 'true'
  volumeMode: Block


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


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


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


Can this issue reproducible?


Can this issue reproduce from the UI?


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


Steps to Reproduce:
1. Install OCP 4.14 followed by localstorage and Openshift Data foundation operators deployment.
2. Attach multipath devices on the storage nodes.
3. Create storagesystem from web console.


Actual results:
multipath devices not getting detected.

Expected results:
multipath devices get detected and listed.

Additional info:

Comment 2 Sanjal Katiyar 2023-10-31 04:45:01 UTC
This is a duplicate bug, please use latest ODF 4.14 for your testing, refer: https://bugzilla.redhat.com/show_bug.cgi?id=2182351#c25
Also make sure disks are in "Available" state, else UI will not detect them.

Comment 3 Sanjal Katiyar 2023-10-31 07:18:19 UTC
Also, what was the exact ODF version used for this BZ ??

Comment 4 Abdul Kandathil (IBM) 2023-10-31 07:59:37 UTC
This was tested with ODF version : 4.14.0-152..

I see that the referred BZ is fixed with a later version.. i will try it out.

Comment 6 Sanjal Katiyar 2023-10-31 09:06:10 UTC
can u please check the state of the disks ?
is type of the disks "mpath" and disks are in "Available" state ?? (refer: https://bugzilla.redhat.com/show_bug.cgi?id=2182351#c2 for more details).

Comment 14 Sanjal Katiyar 2024-01-10 13:33:53 UTC
this bug was fixed in ODF 4.14 (https://bugzilla.redhat.com/show_bug.cgi?id=2182351) and doc text is already provided as part of that. Removing RDT flag for this BZ.

Comment 16 errata-xmlrpc 2024-03-19 15:28:08 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 (Important: Red Hat OpenShift Data Foundation 4.15.0 security, enhancement, & 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/RHSA-2024:1383