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

Import from Git shows broken Samples/Builder images on a disconnected cluster

XMLWordPrintable

    • Moderate
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This is a follow up on https://bugzilla.redhat.com/show_bug.cgi?id=2095701 Cannot create deployment using DevConsole workflow under airgap infra

      Description of problem:
      On a disconnected cluster, the samples-operator needs to be configured to link and download the container images from a local image registry.

      If this doesn't happen the ImageStreams tags refers non-existing ImageStreamTags / container images. The user an select programming languages and version as "Builder image" that doesn't exist.

      The BuildConfig and Deployment can be created but never starts.

      See also https://issues.redhat.com/browse/CRW-3044

      Version-Release number of selected component (if applicable):
      Origin bug was reported on 4.10

      How reproducible:
      Always, but only on a disconnected cluster without additional samples operator configuration.

      Steps to Reproduce:

      1. Switch to Developer perspective
      2. Navigate to Add > Samples
      3. Filter for java and select and create the Java sample

      Actual results:

      1. Deployment and BuildConfig is created, but the application could not start.
      2. The Build is not started?!
      3. The application never starts successfully

      Expected results:
      The "Builder Image version" should not show versions with an error (see ImageStream status) OR show this warning.

      Additional info:
      The origin issue https://bugzilla.redhat.com/show_bug.cgi?id=2095701 was closed because the sample-operator needs a configuration. The UI should also work fine if the sample-operator is not configured, or fail for any other reason.

        1. image-warning.png
          image-warning.png
          98 kB
        2. java-imagestream.yaml
          14 kB
        3. java-import-from-git.png
          java-import-from-git.png
          87 kB
        4. java-sample.png
          java-sample.png
          44 kB
        5. no-java.png
          no-java.png
          98 kB

            jakumar jaivardhan Kumar
            cjerolim Christoph Jerolimov
            Sanket Pathak Sanket Pathak
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: