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
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
The text was updated successfully, but these errors were encountered:
Looking around, I found it is likekl related to our usage of mitogen in IDR rather than the role itself - see mitogen-hq/mitogen#832.
Looks like this has been addressed in mitogen 0.3.4 and we are using 0.3.3 so unless you object, I'd propose to
1- fetch the last tags in /~https://github.com/ome/mitogen
2- bump our submodule to use mitogen 0.3.4
3- see if the deployment goes beyond this task
Currently testing this with
deploy-idr.sh
script./playbooks/deploy-idr.sh pilot-rocky9 deploy-pre
, failing with:The text was updated successfully, but these errors were encountered: