Description of problem: When running the NetworkCheck diagnostic on onffline environments , it fails when trying to pull a docker image from docker.io Version-Release number of selected component (if applicable): 3.4.0 How reproducible: Alawys Steps to Reproduce: 1.oc adm diagnostics NetworkCheck --diaglevel=0 Actual results: network-diag-ns-s1raa 2017-01-27 12:51:50 +0100 CET 2017-01-27 12:51:50 +0100 CET 1 network-diag-test-pod-k3kwl Pod spec.containers{network-diag-test-pod-k3kwl} Normal Pulling {kubelet siy05ez4} pulling image "docker.io/openshift/hello-openshift" network-diag-ns-s1raa 2017-01-27 12:51:50 +0100 CET 2017-01-27 12:51:50 +0100 CET 1 network-diag-test-pod-k3kwl Pod spec.containers{network-diag-test-pod-k3kwl} Warning Failed {kubelet siy05ez4} Failed to pull image "docker.io/openshift/hello-openshift": image pull failed for docker.io/openshift/hello-openshift:latest, this may be because there are no credentials on this request. details: (All endpoints blocked.) network-diag-ns-s1raa 2017-01-27 12:51:50 +0100 CET 2017-01-27 12:51:50 +0100 CET 1 network-diag-test-pod-k3kwl Pod Warning FailedSync {kubelet siy05ez4} Error syncing pod, skipping: failed to "StartContainer" for "network-diag-test-pod-k3kwl" with ErrImagePull: "image pull failed for docker.io/openshift/hello-openshift:latest, this may be because there are no credentials on this request. details: (All endpoints blocked.)" Expected results: Provide a way to get the necessary image from an internal registry Additional info:
Fix https://github.com/openshift/origin/pull/14364 (pending review/merge) will allow network diagnostic test pod to be passed as config option. This could be useful in offline environments.
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/66ff46e9cffd427246247290433022906572f4fb Bug 1417641 - Make network diagnostic test pod image/protocol/port configurable This will be helpful in offline environments.
This bug has been identified as a dated (created more than 3 months ago) bug. This bug has been triaged (has a trello card linked to it), or reviewed by Engineering/PM and has been put into the product backlog, however this bug has not been slated for a currently planned release (3.9, 3.10 or 3.11), which cover our releases for the rest of the calendar year. As a result of this bugs age, state on the current roadmap and PM Score (being below 70), this bug is being Closed - Differed, as it is currently not part of the products immediate priorities. Please see: https://docs.google.com/document/d/1zdqF4rB3ea8GmVIZ7qWCVYUaQ7-EexUrQEF0MTwdDkw/edit for more details.