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

[RHEl-10] pyanaconda.modules.common.errors.installation.StorageInstallationError: Failed to call the 'Remove' method on the '/com/redhat/lvmdbus1/Vg/0'

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhel-10.2
    • rhel-10.0
    • python-blivet
    • None
    • rhel-storage-management
    • ssg_platform_storage
    • 0
    • False
    • 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

       

       

      DEBUG:testdata:sysfs attr /sys/devices/pci0000:00/0000:00:01.0/0000:03:00.0/host0/target0:0:1/0:0:1:0/block/sdb/sdb1/size: 3230393731353230300a
      DEBUG:blivet:updated sdb1 size to 100 GiB (100 GiB)
      INFO:blivet:executing action: [161] create format mdmember on partition sdb1 (id 157)
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 1 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 2 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 3 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 4 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 6 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 8 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 9 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 10 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 11 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 12 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 13 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 14 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 15 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 16 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 17 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 18 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 19 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 20 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 21 ;
      DEBUG:blivet:                PartitionDevice.unset_flag: path: /dev/sdb1 ; flag: 22 ;
      DEBUG:blivet:                PartitionDevice.set_flag: path: /dev/sdb1 ; flag: 5 ;
      DEBUG:blivet:                DiskLabel.commit_to_disk: device: /dev/sdb ; numparts: 1 ;
      INFO:program:Running... udevadm settle --timeout=300
      DEBUG:program:Return code: 0
      DEBUG:blivet:                PartitionDevice.setup: sdb1 ; orig: False ; status: True ; controllable: True ;
      DEBUG:blivet:                MDRaidMember.create: device: /dev/sdb1 ; type: mdmember ; status: False ;
      INFO:program:Running... udevadm settle --timeout=300
      DEBUG:program:Return code: 0
      DEBUG:blivet:                PartitionDevice.update_sysfs_path: sdb1 ; status: True ;
      DEBUG:blivet:sdb1 sysfs_path set to /sys/devices/pci0000:00/0000:00:01.0/0000:03:00.0/host0/target0:0:1/0:0:1:0/block/sdb/sdb1
      INFO:blivet:executing action: [175] create device mdarray 0 (id 171)
      DEBUG:blivet:                MDRaidArrayDevice.create: 0 ; status: False ;
      DEBUG:blivet:                    MDRaidArrayDevice.setup_parents: name: 0 ; orig: False ;
      DEBUG:blivet:                      PartitionDevice.setup: sdb1 ; orig: False ; status: True ; controllable: True ;
      DEBUG:blivet:                      MDRaidMember.setup: device: /dev/sdb1 ; type: mdmember ; status: False ;
      DEBUG:blivet:                      PartitionDevice.setup: sdc1 ; orig: False ; status: True ; controllable: True ;
      DEBUG:blivet:                      MDRaidMember.setup: device: /dev/sdc1 ; type: mdmember ; status: False ;
      DEBUG:blivet:                  MDRaidArrayDevice._create: 0 ; status: False ;
      DEBUG:blivet:non-existent RAID raid1 size == 99.94 GiB
      INFO:program:Running... udevadm settle --timeout=300
      DEBUG:program:Return code: 0
      DEBUG:blivet:                    MDRaidArrayDevice.update_sysfs_path: 0 ; status: True ;
      DEBUG:blivet:0 sysfs_path set to /sys/devices/virtual/block/md0
      DEBUG:blivet:                      MDRaidArrayDevice.setup: 0 ; orig: False ; status: True ; controllable: True ;
      DEBUG:blivet:                      MDRaidArrayDevice.update_sysfs_path: 0 ; status: True ;
      DEBUG:blivet:0 sysfs_path set to /sys/devices/virtual/block/md0
      INFO:program:Running... udevadm settle --timeout=300
      DEBUG:program:Return code: 0
      DEBUG:blivet:                            MDRaidArrayDevice.read_current_size: exists: True ; path: /dev/md/0 ; sysfs_path: /sys/devices/virtual/block/md0 ;
      DEBUG:testdata:sysfs attr /sys/devices/virtual/block/md0/size: 3230393538323038300a
      DEBUG:blivet:existing RAID raid1 size == 99.94 GiB
      DEBUG:blivet:updated 0 size to 99.94 GiB (99.94 GiB)
      DEBUG:blivet:waiting 5s for activation of stale lvm on new md array /dev/md/0
      INFO:program:Running... udevadm settle --timeout=300
      DEBUG:program:Return code: 0
      INFO:blivet:removing stale LVM metadata found on 0
      ERROR:blivet:Failed to remove stale volume group from newly-created md array /dev/md/0: Failed to call the 'Remove' method on the '/com/redhat/lvmdbus1/Vg/0' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Volume group "bootvg" not found, Cannot process volume group bootvg')
      ERROR:anaconda.modules.storage.installation:Failed to create storage layout: Failed to call the 'Remove' method on the '/com/redhat/lvmdbus1/Vg/0' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Volume group "bootvg" not found, Cannot process volume group bootvg')
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/site-packages/gi/overrides/BlockDev.py", line 1250, in wrapped
          ret = orig_obj(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/gi/overrides/BlockDev.py", line 795, in lvm_vgremove
          return _lvm_vgremove(name, extra)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
      gi.repository.GLib.GError: g-io-error-quark: Failed to call the 'Remove' method on the '/com/redhat/lvmdbus1/Vg/0' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Volume group "bootvg" not found, Cannot process volume group bootvg') (36)
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib/python3.12/site-packages/blivet/devices/md.py", line 598, in remove_stale_lvm
          blockdev.lvm.vgremove(pv_info.vg_name, extra={"--select": "vg_uuid=%s" % pv_info.vg_uuid})
        File "/usr/lib64/python3.12/site-packages/gi/overrides/BlockDev.py", line 1272, in wrapped
          raise transform[1](msg)
      gi.overrides.BlockDev.LVMError: Failed to call the 'Remove' method on the '/com/redhat/lvmdbus1/Vg/0' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Volume group "bootvg" not found, Cannot process volume group bootvg')
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/installation.py", line 83, in run
          self._turn_on_filesystems(
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/storage/installation.py", line 163, in _turn_on_filesystems
          storage.do_it(callbacks)
        File "/usr/lib/python3.12/site-packages/blivet/threads.py", line 49, in run_with_lock
          return m(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/blivet/blivet.py", line 127, in do_it
          self.devicetree.actions.process(callbacks=callbacks, devices=self.devices, fstab=self.fstab)
        File "/usr/lib/python3.12/site-packages/blivet/actionlist.py", line 46, in wrapped_func
          return func(obj, *args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/blivet/actionlist.py", line 303, in process
          action.execute(callbacks)
        File "/usr/lib/python3.12/site-packages/blivet/threads.py", line 49, in run_with_lock
          return m(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/blivet/deviceaction.py", line 330, in execute
          self.device.create()
        File "/usr/lib/python3.12/site-packages/blivet/threads.py", line 49, in run_with_lock
          return m(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/blivet/devices/storage.py", line 525, in create
          self._post_create()
        File "/usr/lib/python3.12/site-packages/blivet/threads.py", line 49, in run_with_lock
          return m(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/blivet/devices/md.py", line 610, in _post_create
          remove_stale_lvm()
        File "/usr/lib/python3.12/site-packages/blivet/devices/md.py", line 602, in remove_stale_lvm
          raise errors.MDRaidError(e)
      blivet.errors.MDRaidError: Failed to call the 'Remove' method on the '/com/redhat/lvmdbus1/Vg/0' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Volume group "bootvg" not found, Cannot process volume group bootvg')
      INFO:anaconda.core.threads:Thread Failed: AnaTaskThread-CreateStorageLayoutTask-1 (140694025725632)
      ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-CreateStorageLayoutTask-1 has failed: 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/modules/storage/installation.py", line 95, in run
          raise StorageInstallationError(str(e)) from None
      pyanaconda.modules.common.errors.installation.StorageInstallationError: Failed to call the 'Remove' method on the '/com/redhat/lvmdbus1/Vg/0' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Volume group "bootvg" not found, Cannot process volume group bootvg')
      
      INFO:anaconda.core.threads:Thread Done: AnaTaskThread-CreateStorageLayoutTask-1 (140694025725632)
      WARNING:dasbus.server.handler:The call org.fedoraproject.Anaconda.Task.Finish has failed with an exception:
      Traceback (most recent call last):
        File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 455, in _method_callback
          result = self._handle_call(
                   ^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dasbus/server/handler.py", line 265, in _handle_call
          return handler(*parameters, **additional_args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task_interface.py", line 114, in Finish
          self.implementation.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/modules/storage/installation.py", line 95, in run
          raise StorageInstallationError(str(e)) from None
      pyanaconda.modules.common.errors.installation.StorageInstallationError: Failed to call the 'Remove' method on the '/com/redhat/lvmdbus1/Vg/0' object: GDBus.Error:org.freedesktop.DBus.Python.dbus.exceptions.DBusException: ('com.redhat.lvmdbus1.Vg', 'Exit code 5, stderr = Volume group "bootvg" not found, Cannot process volume group bootvg')
       

       

      https://beaker.engineering.redhat.com/recipes/17700312#task188562625

       

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

                Created:
                Updated: