Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9219

Avoid using identical name for input and output imagestream

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 4.11
    • oc
    • Quality / Stability / Reliability
    • None
    • None
    • None
    • Low
    • None
    • x86_64
    • None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • None
    • None
    • None
    • None

      Description of problem: Avoid using identical name for input and output imagestream. The below build triggers itself when it finishes and continues in a loop.

      $ oc new-build -D $'FROM registry.redhat.io/ubi8/ubi' --to=ubi:latest

      Version-Release number of selected component (if applicable):
      v4u11

      How reproducible:

      Steps to Reproduce:
      1. Create a build
      $ oc new-build -D $'FROM registry.redhat.io/ubi8/ubi' --to=ubi:latest
      2. It triggers itself when it finishes
      3.

      Actual results:
      It does not throw any error.

      Expected results:
      It should give an error to use different build name.

      Additional info:
      https://github.com/openshift/oc/pull/1107

              rhn-support-vkochuku Vinu Kochukuttan
              rhn-support-vkochuku Vinu Kochukuttan
              None
              None
              Ying Zhou Ying Zhou
              None
              Red Hat Employee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: