You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "master:/.../mitogen/ansible_mitogen/runner.py", line 1056, in _run
self._run_code(code, mod)
File "master:/.../mitogen/ansible_mitogen/runner.py", line 1020, in _run_code
exec(code, vars(mod))
File "master:/usr/lib/python3.12/site-packages/ansible/modules/dnf5.py", line 717, in <module>
File "master:/usr/lib/python3.12/site-packages/ansible/modules/dnf5.py", line 713, in main
File "master:/usr/lib/python3.12/site-packages/ansible/modules/dnf5.py", line 521, in run
File "/usr/lib64/python3.12/site-packages/libdnf5/logger.py", line 459, in __init__
_logger.GlobalLogger_swiginit(self, _logger.new_GlobalLogger())
^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: libdnf5/logger/global_logger.cpp:33: libdnf5::GlobalLogger::GlobalLogger(): API Assertion 'librepo_logger == nullptr' failed: Only one GlobalLogger can exist at a time
The problem doesn't show up if you have only one dnf task.
Which version of Ansible are you running? → 2.16.6
Have you tried the latest master version from Git? → yes
Mention your host and target OS and versions → Fedora 39
Mention your host and target Python versions → 3.12.3
If reporting a crash or hang in Ansible, please rerun with -vvv and include
200 lines of output around the point of the error, along with a full copy of
any traceback or error text in the log. Beware "-vvv" may include secret
data! Edit as necessary before posting. dnf5.bt.txt
The text was updated successfully, but these errors were encountered:
Hi,
I just ran into this problem after switching from dnf3 to dnf5 in my Fedora machines.
Preparation: install python3-dnf5 on the managed host
Playbook:
Backtrace:
The problem doesn't show up if you have only one
dnf
task.200 lines of output around the point of the error, along with a full copy of
any traceback or error text in the log. Beware "-vvv" may include secret
data! Edit as necessary before posting.
dnf5.bt.txt
The text was updated successfully, but these errors were encountered: