Skip to content

RuntimeError: load_plugins() called twice #4

@dominikl

Description

@dominikl

Currently testing this with deploy-idr.sh script ./playbooks/deploy-idr.sh pilot-rocky9 deploy-pre, failing with:

...
PLAY [pilot-rocky9-omeroreadwrite-hosts] **************************************************************************************************************************************************

TASK [ome.storage_volume_initialise : storage volume | install xfs] ***********************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: RuntimeError: load_plugins() called twice
fatal: [2f5d1f82-2aad-433b-ab9f-98c5fe25ffa5]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3.9"}, "changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"master:/Users/dom/other/management_tools/mitogen/ansible_mitogen/runner.py\", line 978, in _run\n    self._run_code(code, mod)\n  File \"master:/Users/dom/other/management_tools/mitogen/ansible_mitogen/runner.py\", line 942, in _run_code\n    exec(code, vars(mod))\n  File \"master:/Users/dom/micromamba/envs/ansible/lib/python3.9/site-packages/ansible/modules/dnf.py\", line 1427, in <module>\n  File \"master:/Users/dom/micromamba/envs/ansible/lib/python3.9/site-packages/ansible/modules/dnf.py\", line 1416, in main\n  File \"master:/Users/dom/micromamba/envs/ansible/lib/python3.9/site-packages/ansible/modules/dnf.py\", line 1382, in run\n  File \"master:/Users/dom/micromamba/envs/ansible/lib/python3.9/site-packages/ansible/modules/dnf.py\", line 700, in _base\n  File \"/usr/lib/python3.9/site-packages/dnf/base.py\", line 307, in init_plugins\n    self._plugins._load(self.conf, disabled_glob, enable_plugins)\n  File \"/usr/lib/python3.9/site-packages/dnf/plugin.py\", line 134, in _load\n    raise RuntimeError(\"load_plugins() called twice\")\nRuntimeError: load_plugins() called twice\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

PLAY RECAP ********************************************************************************************************************************************************************************
2f5d1f82-2aad-433b-ab9f-98c5fe25ffa5 : ok=12   changed=0    unreachable=0    failed=1    skipped=5    rescued=0    ignored=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions