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
The full traceback is:
Traceback (most recent call last):
...
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /version (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb694668650>: Failed to establish a new connection: [Errno 111] Connection refused',))
failed: [kube1] (item=hello-k8s-deployment.yml) => {
...
\"/usr/local/lib/python2.7/dist-packages/urllib3/util/retry.py\", line 574, in increment\r\n raise MaxRetryError(_pool, url, error or ResponseError(cause))\r\nurllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /version (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb694668650>: Failed to establish a new connection: [Errno 111] Connection refused',))\r\n",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
This can be solved by setting the openshift version in the test-deployment pre_task:
@adelerhof - According to this issue (ansible-collections/community.kubernetes#314), if you update Ansible to the latest version (2.9.17 or later or the latest 3.x version), then the problem should be resolved as well.
Task "Create hello-k8s resources and wait until they are Ready." fails due to a bug in Python openshift 0.12:
https://github.com/kubernetes-client/python/issues/1333
Error:
This can be solved by setting the openshift version in the test-deployment pre_task:
The text was updated successfully, but these errors were encountered: