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

monitoring-plugin is degraded after network updated from OpenShiftSDN to OVNKubernetes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.14.z
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      NOTE: the issue is only happen with 4.14.z, no issue with 4.15

      created 4.14.0-0.nightly-2024-01-09-095729 cluster with OpenShiftSDN network

      $ oc get clusterversion
      NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.14.0-0.nightly-2024-01-09-095729   True        False         141m    Cluster version is 4.14.0-0.nightly-2024-01-09-095729
      
      $ oc get network/cluster -o jsonpath='{.status.networkType}'
      OpenShiftSDN

      screen shot folder https://drive.google.com/drive/folders/17TmG9Cdm8NV-4VBHouFaecoGulTudCVH?usp=drive_link, see 414_sdn.png, could see the Observe menu on the admin console for OpenShiftSDN network.

      update network from OpenShiftSDN to OVNKubernetes, steps:

      export OVN_SDN_MIGRATION_TIMEOUT=0s, then run script https://raw.githubusercontent.com/openshift/release/master/ci-operator/step-registry/ovn/sdn-migration/ovn-sdn-migration-commands.sh in your cluster

      wait for the shell finished, login admin console again, or refresh the admin console UI if you logged in before.

      $ oc get network/cluster -o jsonpath='{.status.networkType}'
      OVNKubernetes 

      no Observe menu on the admin console, reason is monitoring-plugin is degraded, error is:

      Failed to get a valid plugin manifest from /api/plugins/monitoring-plugin/
      SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data

      see 414_sdn_to_ovn.png, this will block user who want to search targets/alerts/dashboards/metrics on admin console

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

      4.14.0-0.nightly-2024-01-09-095729, update network from OpenShiftSDN to OVNKubernetes

      How reproducible:

      always

      Steps to Reproduce:

      1. created 4.14.0-0.nightly-2024-01-09-095729 cluster with SDN network
      2. update network from OpenShiftSDN to OVNKubernetes
      3. login admin console

      Actual results:

      monitoring-plugin is degraded after network updated from OpenShiftSDN to OVNKubernetes

      Expected results:

      no issue

      Additional info:

      also checked with 4.15.0-0.nightly-2024-01-10-101042, no such issue, see 415_sdn.png and 415_sdn_to_ovn.png. the issue is only with 4.14.
      

              jhadvig@redhat.com Jakub Hadvig
              juzhao@redhat.com Junqi Zhao
              None
              None
              Tai Gao Tai Gao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: