Hi,
I'm getting the following error trying to run a molecule converge command after upgrading Docker Desktop to
2.2.0.5:
PLAY [Configure Backups] *******************************************************
TASK [Gathering Facts] *********************************************************
[WARNING]: Unhandled error in Python interpreter discovery for host instance:
unexpected output from Python interpreter discovery
fatal: [instance]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"setup": {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "failed": true, "module_stderr": "Error: No such container: instance\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1, "warnings": ["Platform unknown on host instance is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change this. See
https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information."]}}, "msg": "The following modules failed to execute: setup\n"}
PLAY RECAP *********************************************************************
instance : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
ERROR:
If I run molecule destroy, I am sometimes able to run molecule successfully until I run 'molecule destroy' again. I then get the above error repeatedly until somehow the molecule converge command works again. I am unable to determine what fixes/breaks molecule when I have this problem. It doesn't help if I restart my Mac.
Details on my install:
(molecule) ➜ ~ ansible --version && molecule --version
ansible 2.9.6
config file = /Users/xemoon/.ansible.cfg
configured module search path = ['/Users/xemoon/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /Users/xemoon/molecule/lib/python3.7/site-packages/ansible
executable location = /Users/xemoon/molecule/bin/ansible
python version = 3.7.3 (default, Mar 6 2020, 22:34:30) [Clang 11.0.3 (clang-1103.0.32.29)]
molecule 3.0.2
ansible==2.9.6 python==3.7
(molecule) ➜ ~ docker --version
Docker version 19.03.8, build afacb8b
Any idea how to fix this?
Thanks,