mitogen-hq / mitogen

Distributed self-replicating programs in Python
https://mitogen.networkgenomics.com/
BSD 3-Clause "New" or "Revised" License
2.34k stars 199 forks source link

dnf module errors with mitogen on Ansible 2.6.17+ #1143

Open psvmcc opened 1 month ago

psvmcc commented 1 month ago

I see errors on dnf tasks like:

PLAY [Common server configuration] *********************************************
Failed loading plugin "copr": module 'dnf' has no attribute 'cli'
Failed loading plugin "debuginfo-install": module 'dnf' has no attribute 'cli'
Failed loading plugin "copr": module 'dnf' has no attribute 'cli'
Failed loading plugin "debuginfo-install": module 'dnf' has no attribute 'cli'
Failed loading plugin "copr": module 'dnf' has no attribute 'cli'
Failed loading plugin "debuginfo-install": module 'dnf' has no attribute 'cli'
Failed loading plugin "copr": module 'dnf' has no attribute 'cli'

Task example:

- name: Setup rsync
  ansible.builtin.dnf:
    name:
      - rsync-daemon
    state: present

Output messages:

TASK [rsync : Setup rsync] ****************************************************
Failed loading plugin "debuginfo-install": module 'dnf' has no attribute 'cli'
ok: [hostname]

Without mitogen everything works well.