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

CheckNodePerf firing on infra nodes.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Normal
    • 4.14.0
    • 4.10
    • Storage / Operators
    • None
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      CheckNodePerf is running on non master nodes, when the worker role label is not present. 

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

       

      How reproducible:

      in a Vmware cluster create a infra MCP, and label a node as role:infra
      
      vsphere-problem-detector-operator will produce CheckNodePerf alerts and logs like
      
      CheckNodePerf: xxxxxx failed: master node has disk latency of greater than 100ms
      
      https://docs.openshift.com/container-platform/4.10/machine_management/creating-infrastructure-machinesets.html#creating-infra-machines_creating-infrastructure-machinesets

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      CheckNodePerf: xxxxx failed: master node has disk latency of greater than 100ms

      Expected results:

      no log entry, and no alert

      Additional info:

      The code only considers worker and master labels, also very complex nesting of conditions.
      
      https://github.com/openshift/vsphere-problem-detector/blob/ca408db88a70cfa5aefa3128dff971a555994c29/pkg/check/node_perf.go#L133-L143

      Attachments

        Activity

          People

            rhn-support-ngirard Neil Girard
            rhn-support-tidawson Timothy Dawson
            Wei Duan Wei Duan
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: