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

[RHEL9.2] libblockdev create lvm timeout with big disk

    • None
    • Low
    • sst_storage_management
    • ssg_filesystems_storage_and_HA
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      libblockdev create lvm failed, please have a look

      Version-Release number of selected component (if applicable):
      libblockdev-2.28-3.el9.x86_64
      5.14.0-230.el9.x86_64

      How reproducible:

      Steps to Reproduce:
      1. create lvm with libblockdev with big disk

      automation
      https://gitlab.cee.redhat.com/kernel-qe/kernel/-/archive/master/kernel-master.tar.gz#storage/dm-crypt/cryptsetup_libblockdev

      Actual results:

      Expected results:

      Additional info:
      [root@storageqe-33 cryptsetup_libblockdev]# uname -a
      Linux storageqe-33.sqe.lab.eng.bos.redhat.com 5.14.0-230.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 6 16:21:12 EST 2023 x86_64 x86_64 x86_64 GNU/Linux

      INFO: [2023-01-13 00:18:54] Running: 'pvcreate /dev/sde -y '...
      Physical volume "/dev/sde" successfully created.
      Traceback (most recent call last):
      File "/mnt/tests/gitlab.cee.redhat.com/kernel-qe/kernel/-/archive/master/kernel-master.tar.gz/storage/dm-crypt/cryptsetup_libblockdev/luks_main.py", line 115, in <module>
      target = obj.make_test_target
      File "/mnt/tests/gitlab.cee.redhat.com/kernel-qe/kernel/-/archive/master/kernel-master.tar.gz/storage/dm-crypt/cryptsetup_libblockdev/luks.py", line 1078, in make_test_target
      dev = self.add_lvm(test_disk, self.vg_name, self.lv_name, size=3)
      File "/mnt/tests/gitlab.cee.redhat.com/kernel-qe/kernel/-/archive/master/kernel-master.tar.gz/storage/dm-crypt/cryptsetup_libblockdev/luks.py", line 764, in add_lvm
      vg_info = self.add_lvm_vg(disk, vg_name)
      File "/mnt/tests/gitlab.cee.redhat.com/kernel-qe/kernel/-/archive/master/kernel-master.tar.gz/storage/dm-crypt/cryptsetup_libblockdev/luks.py", line 757, in add_lvm_vg
      if not bd.lvm_vgcreate(vg_name, vg_disk, 0, None):
      File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 535, in lvm_vgcreate
      return _lvm_vgcreate(name, pv_list, pe_size, extra)
      gi.repository.GLib.GError: g-io-error-quark: Timeout was reached (24)

      test server
      storageqe-33.sqe.lab.eng.bos.redhat.com

            vtrefny@redhat.com Vojtěch Trefný
            guazhang@redhat.com Guangwu Zhang
            Vojtěch Trefný Vojtěch Trefný
            Guangwu Zhang Guangwu Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: