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

[RHEL10] create vdo failed because insufficient free space

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • libblockdev
    • None
    • No
    • Low
    • rhel-sst-storage-management
    • ssg_filesystems_storage_and_HA
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

       

      INFO: [2024-10-10 08:24:14] Running: 'lsblk'...
      NAME                           MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
      loop0                            7:0    0    6G  0 loop 
      vda                            252:0    0   54G  0 disk 
      vda1                         252:1    0    1M  0 part 
      vda2                         252:2    0    1G  0 part /boot
      vda3                         252:3    0   53G  0 part 
        rhel_kvm--05--guest18-root 253:0    0   32G  0 lvm  /
        rhel_kvm--05--guest18-swap 253:1    0  5.4G  0 lvm  [SWAP]
        rhel_kvm--05--guest18-home 253:2    0 15.6G  0 lvm  /home
      INFO: [2024-10-10 08:24:14] Running: 'pvcreate /dev/loop0 -y '...
        Physical volume "/dev/loop0" successfully created.
      Traceback (most recent call last):
        File "/var/tmp/tmt/2024_10_10_14_52_55_tx1c776sDVnE/plan/udisks2/base/full/discover/default-1/tests/storage/storaged/libblockdev_test_api/main.py", line 194, in <module>
          getattr(bdobj,t)()
        File "/var/tmp/tmt/2024_10_10_14_52_55_tx1c776sDVnE/plan/udisks2/base/full/discover/default-1/tests/storage/storaged/libblockdev_test_api/main.py", line 39, in RHEL31953
          self.add_vdo(disk, "vg01", "lv01")
        File "/root/.local/lib/python3.12/site-packages/stqe/host/luks.py", line 902, in add_vdo
          if not bd.lvm_vdo_pool_create(vg_name, lv_name, "vdoPool", int(size) * 1024**3, 30 * 1024**3):
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/gi/overrides/BlockDev.py", line 947, in lvm_vdo_pool_create
          return _lvm_vdo_pool_create(vg_name, lv_name, pool_name, data_size,virtual_size, index_memory, compression, deduplication, write_policy, extra)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      gi.repository.GLib.GError: g-io-error-quark: Failed to call the 'CreateVdoPoolandLv' method on the '/com/redhat/lvmdbus1/Vg/64' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Volume group "vg01" has insufficient free space (1535 extents): 1536 required.') (36)
      

      create loopdev size  6 GB

      size=6

      bd.lvm_vdo_pool_create(vg_name, lv_name, "vdoPool", int(size) * 1024*3, 30 * 1024*3):

       

      lvm2-dbusd-2.03.24-4.el10.noarch

      libblockdev-3.1.0-8.el10.x86_64

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

                Created:
                Updated:
                Resolved: