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

[RHEL10.2] lvmdbusd trigger an AssertionError

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-10.2
    • libblockdev
    • None
    • None
    • None
    • rhel-storage-management
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      ct 21 04:18:10 storageqe-109 lvmdbusd[262931]: STDERR=Maximal supported VDO virtual size is 4503599627370496.
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: [262936]: EC= 5 for "/usr/sbin/lvm lvcreate --compression y --deduplication y --config  allocation {vdo_write_policy="auto"} global/notify_dbus=0 log/command_log_selection="log_context!=" -y --type vdo -n vdo_too_small_pool -L 1024B -V 21474836480B test_vg_vdo_invalid/pool_too_small_pool"
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: STARTED: Tue Oct 21 04:17:59 2025, ENDED: Tue Oct 21 04:17:59 2025, DURATION: 0.048070
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: STDOUT={'log': [{'log_seq_num': '1', 'log_type': 'print', 'log_context': 'processing', 'log_object_type': 'vg', 'log_object_name': 'test_vg_vdo_invalid', 'log_object_id': 'WcZ22c-ieDG-E0Oo-xblz-LP97-y27t-L8tB9T', 'log_object_group': '', 'log_object_group_id': '', 'log_message': 'Rounding up size to full physical extent 4194304', 'log_errno': '0', 'log_ret_code': '0'}, {'log_seq_num': '2', 'log_type': 'error', 'log_context': 'processing', 'log_object_type': 'vg', 'log_object_name': 'test_vg_vdo_invalid', 'log_object_id': 'WcZ22c-ieDG-E0Oo-xblz-LP97-y27t-L8tB9T', 'log_object_group': '', 'log_object_group_id': '', 'log_message': 'Command /usr/bin/vdoformat failed.', 'log_errno': '-1', 'log_ret_code': '0'}, {'log_seq_num': '3', 'log_type': 'error', 'log_context': 'processing', 'log_object_type': 'vg', 'log_object_name': 'test_vg_vdo_invalid', 'log_object_id': 'WcZ22c-ieDG-E0Oo-xblz-LP97-y27t-L8tB9T', 'log_object_group': '', 'log_object_group_id': '', 'log_message': 'Cannot format VDO pool volume test_vg_vdo_invalid/pool_too_small_pool.', 'log_errno': '-1', 'log_ret_code': '0'}, {'log_seq_num': '4', 'log_type': 'status', 'log_context': 'processing', 'log_object_type': 'vg', 'log_object_name': 'test_vg_vdo_invalid', 'log_object_id': 'WcZ22c-ieDG-E0Oo-xblz-LP97-y27t-L8tB9T', 'log_object_group': '', 'log_object_group_id': '', 'log_message': 'failure', 'log_errno': '-1', 'log_ret_code': '5'}]}
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: STDERR=Minimum required size for VDO volume: 5063921664 bytes
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: vdoformat: formatVDO failed on '/dev/test_vg_vdo_invalid/pool_too_small_pool': VDO Status: Out of space
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: Command /usr/bin/vdoformat failed., Cannot format VDO pool volume test_vg_vdo_invalid/pool_too_small_pool.
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: [262936]: LVM dbus flight recorder END
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: [262936]: While processing <function Manager._lookup_by_lvm_id at 0x7fc03f09d080>: we encountered
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: Traceback (most recent call last):
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:  File "/usr/lib/python3.12/site-packages/lvmdbusd/request.py", line 72, in run_cmd
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:    result = self.method(*self.arguments)
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:  File "/usr/lib/python3.12/site-packages/lvmdbusd/manager.py", line 145, in _lookup_by_lvm_id
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:    p = cfg.om.get_object_path_by_uuid_lvm_id(key, key)
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:  File "/usr/lib/python3.12/site-packages/lvmdbusd/objectmanager.py", line 287, in get_object_path_by_uuid_lvm_id
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:    assert lvm_id
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]:           ^^^^^^
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: AssertionError
      Oct 21 04:18:10 storageqe-109 lvmdbusd[262931]: [262936]: Error returned to client:
       

      libblockdev-3.4.0-1.el10.x86_64

      lvm2-2.03.32-3.el10.x86_64

      lvm2-dbusd-2.03.32-3.el10.noarch

      6.12.0-141.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:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: