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

Not enough space in install.img/rootfs.img on ppc64le

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.0.beta
    • rhel-10.0.beta
    • lorax
    • None
    • lorax-40.5.5-1.el10
    • None
    • None
    • rhel-sst-image-builder
    • ssg_front_door
    • 14
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

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

      Anaconda fails with a traceback at the beginning of an interactive installation. The following tracebacks were found in packaging.log:

      DEBUG:anaconda.modules.payloads.payload.dnf.initialization:Preparing the DNF base...
      INFO:librepo:Librepo version: 1.17.0 with CURL_GLOBAL_ACK_EINTR support (libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.3.0.zlib-ng brotli/1.1.0 libidn2/2.3.7 libpsl/0.21.5 libssh/0.10.6/openssl/zlib nghttp2/1.59.0 OpenLDAP/2.6.7)
      DEBUG:dnf:User-Agent: constructed: 'libdnf (Red Hat Enterprise Linux 10.0; generic; Linux.ppc64le)'
      INFO:anaconda.core.threads:Thread Failed: AnaTaskThread-SetUpDNFSourcesTask-1 (140735066534144)
      ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-SetUpDNFSourcesTask-1 has failed: Traceback (most recent call last):
        File "/usr/lib/python3.12/site-packages/dnf/rpm/__init__.py", line 39, in detect_releasever
          idx = ts.dbMatch('provides', distroverpkg)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dnf/rpm/transaction.py", line 61, in dbMatch
          mi = self.ts.dbMatch(*args, **kwds)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      _rpm.error: rpmdb open failed
      
      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 1010, 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/payloads/payload/dnf/initialization.py", line 107, in run
          dnf_manager = self._configure_dnf_manager()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/dnf/initialization.py", line 198, in _configure_dnf_manager
          dnf_manager.clear_cache()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/dnf/dnf_manager.py", line 480, in clear_cache
          self._base.reset(sack=True, repos=True, goal=True)
          ^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/dnf/dnf_manager.py", line 111, in _base
          self.__base = self._create_base()
                        ^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/dnf/dnf_manager.py", line 118, in _create_base
          base = dnf.Base()
                 ^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dnf/base.py", line 97, in __init__
          self._conf = conf or self._setup_default_conf()
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dnf/base.py", line 161, in _setup_default_conf
          dnf.rpm.detect_releasever(conf.installroot)
        File "/usr/lib/python3.12/site-packages/dnf/rpm/__init__.py", line 41, in detect_releasever
          raise dnf.exceptions.Error('Error: %s' % str(e))
      dnf.exceptions.Error: Error: rpmdb open failed
      
      INFO:anaconda.core.threads:Thread Done: AnaTaskThread-SetUpDNFSourcesTask-1 (140735066534144)
      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/dnf/rpm/__init__.py", line 39, in detect_releasever
          idx = ts.dbMatch('provides', distroverpkg)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dnf/rpm/transaction.py", line 61, in dbMatch
          mi = self.ts.dbMatch(*args, **kwds)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      _rpm.error: rpmdb open failed
      
      During handling of the above exception, another exception occurred:
      
      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 1010, 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/payloads/payload/dnf/initialization.py", line 107, in run
          dnf_manager = self._configure_dnf_manager()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/dnf/initialization.py", line 198, in _configure_dnf_manager
          dnf_manager.clear_cache()
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/dnf/dnf_manager.py", line 480, in clear_cache
          self._base.reset(sack=True, repos=True, goal=True)
          ^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/dnf/dnf_manager.py", line 111, in _base
          self.__base = self._create_base()
                        ^^^^^^^^^^^^^^^^^^^
        File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/payload/dnf/dnf_manager.py", line 118, in _create_base
          base = dnf.Base()
                 ^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dnf/base.py", line 97, in __init__
          self._conf = conf or self._setup_default_conf()
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/dnf/base.py", line 161, in _setup_default_conf
          dnf.rpm.detect_releasever(conf.installroot)
        File "/usr/lib/python3.12/site-packages/dnf/rpm/__init__.py", line 41, in detect_releasever
          raise dnf.exceptions.Error('Error: %s' % str(e))
      dnf.exceptions.Error: Error: rpmdb open failed
      

      The problem happened on ppc64le.

      Please provide the package NVR for which bug is seen:

      RHEL-10.0-20240410.11
      dnf-4.19.0-2.el10
      anaconda-40.21-4.el10

      How reproducible:

      Unclear, seen for the first time.

      Steps to reproduce

      1. Start a graphical installation with inst.repo=<BaseOS_URL> and inst.addrepo=AppStream,<AppStream_URL> specified on the kernel cmdline

      Expected results

      GUI starts, it's possible to proceed to the main hub.

      Actual results

      Anaconda traceback on the Welcome screen.

              brlane@redhat.com Brian Lane
              jstodola@redhat.com Jan Stodola
              Brian Lane Brian Lane
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: