sassoftware / viya4-deployment

This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71 stars 64 forks source link

Ansible community.kubernetes connection refused #65

Closed rdlaitila closed 3 years ago

rdlaitila commented 3 years ago

roles/nfs-client-provisioner fails when attempting to create kubernetes namespaces

TASK [nfs-client-provisioner : Create namespace] *******************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to get client due to HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /version (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fccbb202b20>: Failed to establish a new connection: [Errno 111] Connection refused'))"}

tested from the project docker container from both the main branch and 3.0.0 tag.

Issue appears to be related to possible dependency breakage in pip openshift~0.12 or kubernetes~12.0

https://github.com/ansible/ansible/issues/72769 https://github.com/ansible-collections/community.kubernetes/issues/373