geerlingguy / turing-pi-cluster

DEPRECATED - Turing Pi cluster configuration for Raspberry Pi Compute Modules
https://www.youtube.com/watch?v=kgVz4-SEhbE
MIT License
355 stars 47 forks source link

Setting up cluster_monitoring fails with python kubernetes-client version 12 #38

Closed jcmb42 closed 2 years ago

jcmb42 commented 2 years ago

When running the playbook I receive errors on cluster_monitoring tasks:

"msg": "Couldn't connect to Kubernetes: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /version (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xb4b06150>: Failed to establish a new connection: [Errno 111] Connection refused'))"

Apparently the error is related to python's kubernetes-client version >11 and has already been mentioned here.

Setting pip package version openshift~=0.11.2 in roles/setup/tasks/main.yml fixed it for me (as it requires kubernetes).

stale[bot] commented 2 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 2 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.