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

Values entered into the Instantiate Template form are automatically cleared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.13, 4.12, 4.14, 4.15
    • Dev Console
    • Important
    • No
    • ODC Sprint 3261
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

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

      Description of problem:

      In the OpenShift WebConsole, when using the Instantiate Template screen, the values entered into the form are automatically cleared.
      
      This issue occurs for users with developer roles who do not have administrator privileges, but does not occur for users with the cluster-admin cluster role. 
      
      
      Additionally, using the developer tools of the web browser, I observed the following console logs when the values were cleared:
      
      
      https://console-openshift-console.apps.mmatsuta-blue.apac.aws.cee.support/api/prometheus/api/v1/rules 403 (Forbidden)
      https://console-openshift-console.apps.mmatsuta-blue.apac.aws.cee.support/api/alertmanager/api/v2/silences 403 (Forbidden)
      
      
      It appears that a script attempting to fetch information periodically from PrometheusRule and Alertmanager's silences encounters a 403 error due to insufficient permissions, which causes the script to halt and the values in the form to be reset and cleared.
      
      
      This bug prevents users from successfully creating instances from templates in the WebConsole.

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

      4.15 4.14 

      How reproducible:

      YES

      Steps to Reproduce:

      1. Log in with a non-administrator account.
      2. Select a template from the developer catalog and click on Instantiate Template.
      3. Enter values into the initially empty form.
      4. Wait for several seconds, and the entered values will disappear.

      Actual results:

      Entered values are disappeard

      Expected results:

      Entered values are appeard

      Additional info:

      I could not find the appropriate component to report this issue. I reluctantly chose Dev Console, but please adjust it to the correct component.

            rh-ee-lprabhu Lokananda Prabhu
            openshift-crt-jira-prow OpenShift Prow Bot
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: