Bug 1862610 - [LSO] Auto discovery should discovery LVM devices as well.
Summary: [LSO] Auto discovery should discovery LVM devices as well.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.0
Assignee: Santosh Pillai
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-31 19:53 UTC by Santosh Pillai
Modified: 2021-05-26 11:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:21:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 136 0 None closed Bug 1862610: discover lvm devices in LocalVolumeDiscovery 2021-01-11 16:18:47 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:22:21 UTC

Description Santosh Pillai 2020-07-31 19:53:00 UTC
Description of problem:
Currently LSO auto discovery is only discovers `disk` and 'partition` device types. It should also discover LVM devices. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Start LSO operator
2. Apply local volume discovery CR
3. Observe the disk size in the discovery result status. 

Actual results:
Currently LSO auto discovery is only discovers `disk` and 'partition` device types. 

Expected results:
It should also discover LVM devices. 

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 2 Chao Yang 2020-09-27 06:18:17 UTC
Passed on 4.6.0-0.nightly-2020-09-25-034954 

nvme2n1                      259:6    0     7G  0 disk 
`-nvme2n1p1                  259:9    0     7G  0 part 
  `-vgtest-lvtest            253:2    0     4G  0 lvm 
 

 - deviceID: /dev/disk/by-id/dm-name-vgtest-lvtest
    fstype: ""
    model: ""
    path: /dev/vgtest-lvtest
    property: NonRotational
    serial: ""
    size: 4294967296
    status:
      state: Available
    type: lvm
    vendor: ""

Comment 5 errata-xmlrpc 2020-10-27 16:21:54 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.6 GA Images), 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-2020:4196


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