geerlingguy/raspberry-pi-dramble

So close, error python-interpreter...

Closed this issue · 1 comments

TASK [Apply metrics-server manifest to the cluster.] ***************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named kubernetes
fatal: [kube1 -> 10.0.100.61]: FAILED! => changed=false
error: No module named kubernetes
msg: Failed to import the required Python library (openshift) on kube1's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
kube1 : ok=81 changed=45 unreachable=0 failed=1 skipped=42 rescued=0 ignored=0
kube2 : ok=71 changed=39 unreachable=0 failed=0 skipped=38 rescued=0 ignored=0
kube3 : ok=71 changed=39 unreachable=0 failed=0 skipped=38 rescued=0 ignored=0
kube4 : ok=64 changed=33 unreachable=0 failed=1 skipped=38 rescued=0 ignored=0

garylefebvre@ubuntu:~/Desktop/raspberry-pi-dramble-master$

Ok, did a soft link to (ln -sf /usr/bin/python3 /usr/bin/python) on all pi's according to suggestion on Ticket #184. and it solved my problem. The entire playbook was a success!!!

Thank you ticket #184 and Jeff!!!