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

Failed to call the 'LvCreateLinear' method on the '/com/redhat/lvmdbus1/Vg/1' object

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.0
    • rhel-10.0
    • lvm2
    • Yes
    • Moderate
    • e96d6b74427990cf9d91bc764e80a8fe79cd3e2d
    • sst_logical_storage
    • ssg_filesystems_storage_and_HA
    • 11
    • 15
    • 3
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • ppc64le
    • None

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

      RHEL-10.0 installation fails when the partitioning consists of thinly-provisioned logical volumes with the following traceback in Anaconda's log:

       

      16:35:21,037 ERR modules.common.task.task: Thread AnaTaskThread-RunInstallationTask-1 has failed: Traceback (most recent call last):
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 295, in _run
          sync_run_task(self._task_proxy)
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
          task_proxy.Finish()
        File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
          return self._get_method_reply(
                 ^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
          return self._handle_method_error(error)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
          raise exception from None
      pyanaconda.modules.common.errors.installation.StorageInstallationError: Failed to call the 'LvCreateLinear' method on the '/com/redhat/lvmdbus1/Vg/1' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Failed to initialize logical volume Sys/lvol0 at position 0 and size 1048576., Aborting. Failed to wipe start of new LV.')
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 280, in run
          threading.Thread.run(self)
        File "/usr/lib64/python3.12/threading.py", line 1012, in run
          self._target(*self._args, **self._kwargs)
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 94, in _thread_run_callback
          self._task_run_callback()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 107, in _task_run_callback
          self._set_result(self.run())
                           ^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 83, in run
          self._run_installation(
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 552, in _run_installation
          queue.start()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
          self._run()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
          item.start()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
          self._run()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
          item.start()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
          self._run()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
          item.start()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
          self._run()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 298, in _run
          if errorHandler.cb(e) == ERROR_RAISE:
             ^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/errors.py", line 229, in cb
          raise NonInteractiveError("Non interactive installation failed: %s" % exn)
      pyanaconda.errors.NonInteractiveError: Non interactive installation failed: Failed to call the 'LvCreateLinear' method on the '/com/redhat/lvmdbus1/Vg/1' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Failed to initialize logical volume Sys/lvol0 at position 0 and size 1048576., Aborting. Failed to wipe start of new LV.')
      
      16:35:21,044 INF core.threads: Thread Done: AnaTaskThread-RunInstallationTask-1 (140735586300160)
      16:35:21,045 DBG ui.tui.spokes.installation_progress: The installation has finished.
      16:35:21,045 DBG exception: running handleException
      16:35:21,046 CRT exception: Traceback (most recent call last):
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 295, in _run
          sync_run_task(self._task_proxy)
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
          task_proxy.Finish()
      
        File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
          return self._get_method_reply(
                 ^^^^^^^^^^^^^^^^^^^^^^^
      
        File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
          return self._handle_method_error(error)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      
        File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
          raise exception from None
      
      pyanaconda.modules.common.errors.installation.StorageInstallationError: Failed to call the 'LvCreateLinear' method on the '/com/redhat/lvmdbus1/Vg/1' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Failed to initialize logical volume Sys/lvol0 at position 0 and size 1048576., Aborting. Failed to wipe start of new LV.')
      
      
      During handling of the above exception, another exception occurred:
      
      
      Traceback (most recent call last):
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/core/async_utils.py", line 68, in _idle_method
          func(*args, **kwargs)
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
          self._stopped_signal.emit()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/core/signal.py", line 41, in emit
          func(obj, *args, **kargs)
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/tui/spokes/installation_progress.py", line 127, in _on_installation_done
          self._task.finish()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 173, in finish
          thread_manager.raise_if_error(self._thread_name)
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 171, in raise_if_error
          raise exc_info[1]
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 280, in run
          threading.Thread.run(self)
      
        File "/usr/lib64/python3.12/threading.py", line 1012, in run
          self._target(*self._args, **self._kwargs)
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 94, in _thread_run_callback
          self._task_run_callback()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 107, in _task_run_callback
          self._set_result(self.run())
                           ^^^^^^^^^^
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 83, in run
          self._run_installation(
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 552, in _run_installation
          queue.start()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
          self._run()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
          item.start()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
          self._run()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
          item.start()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
          self._run()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 203, in _run
          item.start()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
          self._run()
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 298, in _run
          if errorHandler.cb(e) == ERROR_RAISE:
             ^^^^^^^^^^^^^^^^^^
      
        File "/usr/lib64/python3.12/site-packages/pyanaconda/errors.py", line 229, in cb
          raise NonInteractiveError("Non interactive installation failed: %s" % exn)
      
      pyanaconda.errors.NonInteractiveError: Non interactive installation failed: Failed to call the 'LvCreateLinear' method on the '/com/redhat/lvmdbus1/Vg/1' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Failed to initialize logical volume Sys/lvol0 at position 0 and size 1048576., Aborting. Failed to wipe start of new LV.') 

       

       

      What is the impact of this issue to you?

      It seems that it's not possible to successfully install RHEL-10 on ppc64le machines if thinly-provisioned LVs are specified in kickstart.

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

      RHEL-10.0-20240901.1 with anaconda-40.22.3.12-1.el10.ppc64le and python3-blivet-3.10.0-5.el10

      How reproducible is this bug?:

      Possibly 100% - 2 out of 2 installations with the same setup failed.

      Steps to reproduce

      1. Create a kickstart specifying thinly-provisioned LVs within partitioning.
      2. Run RHEL-10 installation using the prepared kickstart.

      Expected results

      Installation finishes without issues, partitioning in installed system contains the thinly-provisioned LVs and overall partitioning from kickstart, as expected.

      Actual results

      Installation stops due to aforementioned DBus error traceback related to LV handling.

            mcsontos@redhat.com Marian Csontos
            rhn-support-jikortus Jiri Kortus
            Peter Rajnoha Peter Rajnoha
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: