Fixed by https://github.com/openshift/ose/pull/904
why in `oadm diagnostics NetworkCheck --help`. the following image cannot show the related tag(v3.6.173.0.59) --network-pod-image='registry.access.redhat.com/openshift3/ose': Image to use for network diagnostic pod --network-test-pod-image='registry.access.redhat.com/openshift3/ose-deployer': Image to use for network diagnostic test pod But 3.5 works well --network-pod-image='registry.access.redhat.com/openshift3/ose:v3.5.5.31.39': Image to use for network diagnostic pod --network-test-pod-image='registry.access.redhat.com/openshift3/ose-deployer:v3.5.5.31.39': Image to use for network diagnostic test pod
*** Bug 1505900 has been marked as a duplicate of this bug. ***
@zhaozhanqi Tested version v3.6.173.0.59 did not include changes for this bug. Try the latest 3.6 release (v3.6.173.0.62-1) and it should work. Tested on my local machine and i'm noticing the tag in the image: --network-pod-image='openshift/origin:v3.6.173.0.62-1': Image to use for network diagnostic pod --network-test-pod-image='openshift/origin-deployer:v3.6.173.0.62-1': Image to use for network diagnostic test pod
hi @Ravi Sankar. Tested this issue on v3.6.173.0.62 .this NetworkCheck feature is working well Just double confirm one issue here in help info: --master-config='': Path to master config file (implies --host) --network-logdir='/tmp/openshift/': Path to store network diagnostic results in case of errors --network-pod-image='registry.access.redhat.com/openshift3/ose:v3.6.173.0.62': Image to use for network diagnostic pod --network-test-pod-image='registry.access.redhat.com/openshift3/ose-deployer:v3.6.173.0.62': Image to use for network diagnostic test pod I'm not sure if the registry 'registry.access.redhat.com' is hardcode or any special config since all env are using this as default from 3.5. it has a little not friendly because we need to modify the registry to correct one every time. otherwise it will failed due to pull image. is this expected since it's working well before in 3.4. see: --network-pod-image='openshift3/ose:v3.4.1.44.33': Image to use for network diagnostic pod --network-test-pod-image='openshift3/ose-deployer:v3.4.1.44.33': Image to use for network diagnostic test pod
'registry.access.redhat.com' is not hardcoded, it is derived from DefaultImagePrefix (https://github.com/pravisankar/ose/blob/94efb1f25d4f974ca81bfa7a6c7e2ea36462141f/pkg/cmd/util/variable/imagetemplate.go#L30) Ideally this should work without modifying the registry manually. Which registry do you have to use to make this work? @Steve, @Scott I was hoping 'DefaultImagePrefix' in pkg/cmd/util/variable/imagetemplate.go will point to the right location for pulling the container image (this is on non-containerized openshift environment). Do you have any inputs on this?
*** Bug 1506343 has been marked as a duplicate of this bug. ***
@zhaozhanqi Had a chat with @jupierce, I was told that imageConfig.format config param sets the registry used by cluster. 'registry.access.redhat.com' might be coming from that value, what is the value configured in your/QE cluster? Also which registry do you have to manually use to correctly pull the image?
yes, this issue also exists 3.5 and 3.7.
Verify this bug since the original issue has been fixed according to comment 6. will file another bug to trace the incorrect registry issue mentioned above.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:3389