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

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

    XMLWordPrintable

Details

    • Low
    • No
    • ODC Sprint 241, ODC Sprint 242
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      This is a clone of issue OCPBUGS-15011. The following is the description of the original issue:

      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
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Red Hat Employee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: