Problem:
I don’t know if this is the right place to report this, but the libsolv-0.7.20-4.el8.x86_64 package from the pulpcore repository breaks dnf on CentOS 8 Stream.
Which in turn causes foreman-installer
to terminate:
2022-06-02 14:23:10 [ERROR ] [root] dnf module enable pki-core --assumeyes failed! Check the output for error!
Running dnf manually fails because of undefined symbols:
...
ImportError: /lib64/libdnf.so.2: undefined symbol: solv_toolversion, version SOLV_1.0
...
I reverted the libsolv package to the version available from the CentOS Stream repositories (libsolv-0.7.20-3.el8). This allows me to run dnf again to install and update packages, but foreman-installer
fails:
2022-06-02 14:51:14 [ERROR ] [configure] 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
2022-06-02 14:51:14 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from 'notrun' to ['0'] failed: 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
2022-06-02 14:51:14 [NOTICE] [configure] 2000 configuration steps out of 2042 steps complete.
The traceback from pulcore-manager migrate looks like this:
2022-06-02 14:51:12 [DEBUG ] [configure] Executing with uid=pulp: 'pulpcore-manager migrate --noinput'
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: Traceback (most recent call last):
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib64/python3.8/site-packages/solv.py", line 14, in swig_import_helper
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: return importlib.import_module(mname)
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: return _bootstrap._gcd_import(name[level:], package, level)
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 991, in _find_and_load
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 657, in _load_unlocked
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 556, in module_from_spec
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap_external>", line 1166, in create_module
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: ImportError: /usr/lib64/python3.8/site-packages/_solv.so: undefined symbol: repo_add_deb, version SOLV_1.0
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns:
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: During handling of the above exception, another exception occurred:
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns:
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: Traceback (most recent call last):
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/bin/pulpcore-manager", line 11, in <module>
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: load_entry_point('pulpcore==3.16.8', 'console_scripts', 'pulpcore-manager')()
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/pulpcore/app/manage.py", line 11, in manage
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: execute_from_command_line(sys.argv)
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: utility.execute()
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: django.setup()
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: apps.populate(settings.INSTALLED_APPS)
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/django/apps/registry.py", line 122, in populate
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: app_config.ready()
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/pulpcore/app/apps.py", line 96, in ready
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: self.import_viewsets()
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/pulpcore/app/apps.py", line 137, in import_viewsets
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: self.viewsets_module = import_module(viewsets_module_name)
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: return _bootstrap._gcd_import(name[level:], package, level)
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 991, in _find_and_load
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap_external>", line 843, in exec_module
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/pulp_rpm/app/viewsets.py", line 35, in <module>
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: from pulp_rpm.app import tasks
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/pulp_rpm/app/tasks/__init__.py", line 3, in <module>
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: from .copy import copy_content # noqa
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/pulp_rpm/app/tasks/copy.py", line 6, in <module>
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: from pulp_rpm.app.depsolving import Solver
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib/python3.8/site-packages/pulp_rpm/app/depsolving.py", line 3, in <module>
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: import solv
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib64/python3.8/site-packages/solv.py", line 17, in <module>
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: _solv = swig_import_helper()
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib64/python3.8/site-packages/solv.py", line 16, in swig_import_helper
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: return importlib.import_module('_solv')
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: return _bootstrap._gcd_import(name[level:], package, level)
2022-06-02 14:51:14 [INFO ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: ImportError: /usr/lib64/python3.8/site-packages/_solv.so: undefined symbol: repo_add_deb, version SOLV_1.0
2022-06-02 14:51:14 [ERROR ] [configure] 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
Expected outcome:
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
CentOS Stream 8
Other relevant data: