Description of problem: Below warning appears when build with ImageStreamImage (build can be successfully ): W0215 14:51:29.476413 1129 newapp.go:887] Unable to check for circular build input: Unable to follow reference type: "ImageStreamImage" Version-Release number of selected component (if applicable): openshift v3.5.0.20+87266c6 kubernetes v1.5.2+43a9be4 etcd 3.1.0 How reproducible: always Steps to Reproduce: 1. oc import-image ruby --from=docker.io/openshift/ruby-22-centos7 --confirm=true 2. oc get is ruby -o yaml 3. Edit to use ImageStreamImage to build: strategy: sourceStrategy: env: - name: EXAMPLE value: sample-app from: kind: ImageStreamImage name: ruby@sha256:5dc0856fea9551e102815863cceeabd3aee862ec4ad5f2625eb51564924f0360 type: Source Actual results: Warning appears although build completes:W0215 14:51:29.476413 1129 newapp.go:887] Unable to check for circular build input: Unable to follow reference type: "ImageStreamImage" Expected results: Should be no such error Additional info:
Can you please include the exact command you executed to get that error? I ran: oc start-build bc/ruby-test (After modifying the bc to point to an ImageStreamImage) I was not able to reproduce.
Cancelling needinfo ... was able to reproduce by exporting the bc with the imagestreamimage reference as a template, then calling new-app on that template.
Gabe, sending your way since this is your code. We shouldn't warn if there's nothing to check.
PR https://github.com/openshift/origin/pull/13233 is carrying the fix for this
Commits pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/5b464bfd8b4542212be93c688a40a744dbbb686f Enhance new-app circular test to handle ImageStreamImage refs bug 1422378 https://bugzilla.redhat.com/show_bug.cgi?id=1422378 https://github.com/openshift/origin/commit/a5cb4d68cd2fa957cf4a7cea2f13c7db10a58855 Merge pull request #13233 from gabemontero/bug1422378 Merged by openshift-bot
Per OCP process moving to MODIFIED
Is this for 3.5 or 3.6? Everything in the bug says for 3.5, but the pull request is for origin/master which is 3.6. If it is for 3.5, you need to do a pull request for origin/release-1.5
The bug was found during 3.5 testing, but given the low priority/severity, we are proposing only fixing it in 3.6.
Apologies for not selecting the target release earlier.
This has been merged into ocp and is in OCP v3.6.27 or newer.
Verified with below version, no such error now: openshift v3.6.27 kubernetes v1.5.2+43a9be4 etcd 3.1.0
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/RHEA-2017:1716
*** Bug 1502017 has been marked as a duplicate of this bug. ***