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
    • None
    • 4.17.z, 4.18.0
    • Management Console
    • None
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      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.
          

              jhadvig@redhat.com Jakub Hadvig
              rhn-support-yanpzhan Yanping Zhang
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: