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

Consoleplugin could be enabled repeatedly when it's already enabled.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.19.0
    • 4.17.z, 4.18.0
    • Management Console
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, a console plugin could be enabled multiple times via the Console plugin enablement modal, resulting in multiple entries for the plugin appearing the Console Operator Config. After the update, it is no longer possible to enable a plugin if it is already enabled.
      Show
      Previously, a console plugin could be enabled multiple times via the Console plugin enablement modal, resulting in multiple entries for the plugin appearing the Console Operator Config. After the update, it is no longer possible to enable a plugin if it is already enabled.
    • Bug Fix
    • In Progress

      Description of problem:

      Consoleplugin could be enabled repeatedly when it's already enabled.
          

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

      4.18.0-0.nightly-2024-11-14-090045
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1.Go to console operator's 'Console Plugins' tab("/k8s/cluster/operator.openshift.io~v1~Console/cluster/console-plugins"), choose on console plugin, enable consoleplugin from modal by cicking 'Enabled/Disabled' edit button, try several times even though the plugin has been enabled.
          2.Check console operator yaml.
          3.
          

      Actual results:

      1. Could enable consoleplugin repeatedly.
      2. The same consoleplugin are added in console operator several times.
      $ oc get consoles.operator.openshift.io cluster -ojson | jq '.spec.plugins'
      [
        "monitoring-plugin",
        "monitoring-plugin",
        "networking-console-plugin",
        "networking-console-plugin"
      ]
      
          

      Expected results:

      1.Should not enable repeatedly.
      2. Should not add the same consoleplugin multiple times in console operator
          

      Additional info:

      We can even add the same plugin name in console operator yaml directly, that's not corect.
          

              rhn-engineering-rhamilto Robb Hamilton
              rhn-support-yanpzhan Yanping Zhang
              Yanping Zhang Yanping Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: