Bug 1781869 - local-storage-operator does not support LVM devices
Summary: local-storage-operator does not support LVM devices
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: aos-storage-staff@redhat.com
QA Contact: Qin Ping
URL:
Whiteboard:
Depends On: 1780625 1783892
Blocks: 1781871
TreeView+ depends on / blocked
 
Reported: 2019-12-10 18:43 UTC by Hemant Kumar
Modified: 2023-10-06 18:53 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1780625
: 1781871 (view as bug list)
Environment:
Last Closed: 2020-07-28 13:54:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-01-23 11:19:16 UTC

Comment 3 Liang Xia 2019-12-17 09:39:13 UTC
The bug is fixed and vefified.

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.3.0-0.nightly-2019-12-13-180405   True        False         26h     Cluster version is 4.3.0-0.nightly-2019-12-13-180405



$ oc get sc,pv
NAME                                             PROVISIONER                    AGE
storageclass.storage.k8s.io/local-sc             kubernetes.io/no-provisioner   64s
storageclass.storage.k8s.io/standard (default)   kubernetes.io/gce-pd           26h

NAME                                 CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS      CLAIM   STORAGECLASS   REASON   AGE
persistentvolume/local-pv-ac90ff0f   15Gi       RWO            Delete           Available           local-sc                42s



$ oc get localvolume local-disks -n local-storage -o yaml
apiVersion: local.storage.openshift.io/v1
kind: LocalVolume
metadata:
  creationTimestamp: "2019-12-17T09:34:09Z"
  finalizers:
  - storage.openshift.com/local-volume-protection
  generation: 2
  name: local-disks
  namespace: local-storage
  resourceVersion: "607204"
  selfLink: /apis/local.storage.openshift.io/v1/namespaces/local-storage/localvolumes/local-disks
  uid: 29fa86cf-927a-424d-ab57-0ae82c14839b
spec:
  logLevel: Normal
  managementState: Managed
  storageClassDevices:
  - devicePaths:
    - /dev/vg01/lv01
    fsType: xfs
    storageClassName: local-sc
    volumeMode: Filesystem
status:
  conditions:
  - lastTransitionTime: "2019-12-17T09:34:09Z"
    message: Ready
    status: "True"
    type: Available
  generations:
  - group: apps
    hash: ""
    lastGeneration: 1
    name: local-disks-local-provisioner
    namespace: local-storage
    resource: DaemonSet
  - group: apps
    hash: ""
    lastGeneration: 1
    name: local-disks-local-diskmaker
    namespace: local-storage
    resource: DaemonSet
  managementState: Managed
  observedGeneration: 2
  readyReplicas: 0



sh-4.4# fdisk -l /dev/vg01/lv01
Disk /dev/vg01/lv01: 15 GiB, 16106127360 bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

sh-4.4# lvdisplay 
  --- Logical volume ---
  LV Path                /dev/vg01/lv01
  LV Name                lv01
  VG Name                vg01
  LV UUID                s6i4JQ-GMI5-AVKB-9P5n-TISK-Guox-HUElkx
  LV Write Access        read/write
  LV Creation host, time lxia43-8cv2x-w-a-rjwdc.c.openshift-qe.internal, 2019-12-17 09:27:55 +0000
  LV Status              available
  # open                 0
  LV Size                15.00 GiB
  Current LE             3840
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

Comment 5 errata-xmlrpc 2020-01-23 11:18: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, 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:0062

Comment 20 Jan Safranek 2020-07-28 13:47:49 UTC
Wait, this bug has

Comment 21 Jan Safranek 2020-07-28 13:54:43 UTC
I am sorry about the noise...

This bug has been already fixed in 4.3 https://errata.devel.redhat.com/advisory/46256

Please open a *new* bug if the bugfix is not complete and/or you have difficulties applying 4.3 updates.


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