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

Upload JAR file does not work if the Cluster Samples Operator is disabled

    XMLWordPrintable

Details

    • Low
    • 3
    • ODC Sprint 240
    • 1
    • Rejected
    • Unspecified
    • Hide
      * Previously, an issue occurred when creating an application using the `Import JAR` form in a disconnected cluster with the Cluster Samples Operator not installed. With this update, the `Import JAR` form from the *Add* page and the *Topology* page is hidden when the Java Builder Image is absent. (link:https://issues.redhat.com/browse/OCPBUGS-15011[*OCPBUGS-15011*])
      Show
      * Previously, an issue occurred when creating an application using the `Import JAR` form in a disconnected cluster with the Cluster Samples Operator not installed. With this update, the `Import JAR` form from the *Add* page and the *Topology* page is hidden when the Java Builder Image is absent. (link: https://issues.redhat.com/browse/OCPBUGS-15011 [* OCPBUGS-15011 *])
    • Bug Fix
    • Done

    Description

      Description of problem:
      This is a clone of the doc issue OCPBUGS-9162.

      Import JAR files doesn't work if the Cluster Samples Operator is not installed. This is a common issue in disconnected clusters where the Cluster Samples Operator is disabled by default. Users should not see the JAR import option if its not working correctly.

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

      How reproducible:
      Always, when the samples operator is not installed

      Steps to Reproduce:

      1. Setup a cluster without samples operator or uninstall all "Java" Builder Images (ImageStreams from the openshift namespace)
      2. Switch to the Developer perspective
      3. Navigate to Add > Import JAR file
      4. Upload a JAR file and press Create

      Actual results:
      Import doesn't work

      Expected results:
      The Import JAR file option should not be disabled if no "Java" Builder Image (ImageStream in the openshift namespace) is available

      Additional info:

      1. https://docs.openshift.com/container-platform/4.9/applications/creating_applications/odc-creating-applications-using-developer-perspective.html#odc-deploying-java-applications_odc-creating-applications-using-developer-perspective
      2. https://docs.openshift.com/container-platform/4.11/post_installation_configuration/cluster-capabilities.html
      3. https://docs.openshift.com/container-platform/4.9/openshift_images/configuring-samples-operator.html
      4. https://github.com/jerolimov/openshift/blob/master/notes/cluster.md

      Attachments

        Issue Links

          Activity

            People

              avik6028 Avik Kundu
              rhn-support-cpassare Christian Passarelli
              Sanket Pathak Sanket Pathak
              Olivia Payne Olivia Payne
              Red Hat Employee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: