Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-17654

SYSTEMID creation, based on system_id_source, in devicesfile appears broken

    • Yes
    • Moderate
    • Regression
    • rhel-sst-logical-storage
    • ssg_filesystems_storage_and_HA
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      # 9.3
      
      kernel-5.14.0-362.8.1.el9_3    BUILT: Tue Oct  3 02:39:10 PM CEST 2023
      lvm2-2.03.21-3.el9    BUILT: Thu Jul 13 08:50:26 PM CEST 2023
      lvm2-libs-2.03.21-3.el9    BUILT: Thu Jul 13 08:50:26 PM CEST 2023
      
      
      [root@virt-494 ~]# grep QA /etc/lvm/lvm.conf
             use_devicesfile = 1     # edited by QA Wed Nov 29 20:14:10 2023
             system_id_source = none     # edited by QA Wed Nov 29 20:15:07 2023
      [root@virt-494 ~]# lvmdevices --adddev /dev/sda
      [root@virt-494 ~]# cat /etc/lvm/devices/system.devices
      # LVM uses devices listed in this file.
      # Created by LVM command lvmdevices pid 50333 at Wed Nov 29 20:34:57 2023
      VERSION=1.1.1
      IDTYPE=sys_wwid IDNAME=naa.60014051b30947a585d4632aee225072
      DEVNAME=/dev/sda PVID=.
      
      [root@virt-494 ~]# /usr/tests/sts-rhel9.3/lvm2/bin/qe_lvmconf2 -Ue
      Setting system_id_source to enable
      [root@virt-494 ~]# grep QA /etc/lvm/lvm.conf
             use_devicesfile = 1     # edited by QA Wed Nov 29 20:14:10 2023
             system_id_source = uname     # edited by QA Wed Nov 29 20:35:30 2023
      [root@virt-494 ~]# lvmdevices --adddev /dev/sdb
      [root@virt-494 ~]# cat /etc/lvm/devices/system.devices
      # LVM uses devices listed in this file.
      # Created by LVM command lvmdevices pid 50378 at Wed Nov 29 20:36:11 2023
      SYSTEMID=virt-494.cluster-qe.lab.eng.brq.redhat.com
      VERSION=1.1.2
      IDTYPE=sys_wwid IDNAME=naa.60014051b30947a585d4632aee225072
      DEVNAME=/dev/sda PVID=.
      IDTYPE=sys_wwid IDNAME=naa.6001405922b5a0abcbd4945b61ae5166
      DEVNAME=/dev/sdb PVID=.
      
      
      
      
      # 9.4 (latest lvm build)
      
      kernel-5.14.0-362.8.1.el9_3    BUILT: Tue Oct  3 02:39:10 PM CEST 2023
      lvm2-2.03.23-1.el9    BUILT: Tue Nov 28 02:15:42 PM CET 2023
      lvm2-libs-2.03.23-1.el9    BUILT: Tue Nov 28 02:15:42 PM CET 2023
      
      
      [root@virt-246 ~]# grep QA /etc/lvm/lvm.conf
             use_devicesfile = 1     # edited by QA Wed Nov 29 18:31:10 2023
             system_id_source = none     # edited by QA Wed Nov 29 20:29:40 2023
      [root@virt-246 ~]# lvmdevices --adddev /dev/sda
      [root@virt-246 ~]# cat /etc/lvm/devices/system.devices
      # LVM uses devices listed in this file.
      # Created by LVM command lvmdevices pid 32885 at Wed Nov 29 20:30:25 2023
      PRODUCT_UUID=f32358ec-82ed-4257-9bb2-156cd6761029
      VERSION=1.1.1
      IDTYPE=sys_wwid IDNAME=naa.6001405518a780f26e646bc80874d6a4
      DEVNAME=/dev/sda PVID=.
      
      [root@virt-246 ~]# /usr/tests/sts-rhel9.3/lvm2/bin/qe_lvmconf2 -Ue
      Setting system_id_source to enable
      [root@virt-246 ~]# grep QA /etc/lvm/lvm.conf
             use_devicesfile = 1     # edited by QA Wed Nov 29 18:31:10 2023
             system_id_source = uname     # edited by QA Wed Nov 29 20:31:40 2023
      [root@virt-246 ~]# lvmdevices --adddev /dev/sdb
      [root@virt-246 ~]# cat /etc/lvm/devices/system.devices
      # LVM uses devices listed in this file.
      # Created by LVM command lvmdevices pid 32925 at Wed Nov 29 20:31:54 2023
      PRODUCT_UUID=f32358ec-82ed-4257-9bb2-156cd6761029
      VERSION=1.1.2
      IDTYPE=sys_wwid IDNAME=naa.6001405518a780f26e646bc80874d6a4
      DEVNAME=/dev/sda PVID=.
      IDTYPE=sys_wwid IDNAME=naa.600140520d402c0d72547769b6a4cf28
      DEVNAME=/dev/sdb PVID=.
      
      

              teigland@redhat.com David Teigland
              cmarthal@redhat.com Corey Marthaler
              lvm-team lvm-team
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: