Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-29498

[2213255] HPP wrongly reporting Available status

XMLWordPrintable

    • Medium
    • No

      Description of problem:
      I'm trying to produce HppNotReady alert, when editing the node selector for getting the hpp broken , we can see it is not ready but the metric doesn't catch it and report it as available and the alert not fired

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

      How reproducible:
      100%

      Steps to Reproduce:
      1.oc get hostpathprovisioner hostpath-provisioner -o yaml
      see under .Spec.Workload.NodeSelector the value
      2.oc patch hostpathprovisioner hostpath-provisioner --type='json' -p='[{"op": "replace", "path": "/spec/workload/nodeSelector", "value": {"wrong": "wrong"}}]'
      and check again that the value changed with the command from step 1
      3.check that the hpp is not ready:
      oc get daemonset -n openshift-cnv | grep -e hostpath -e hpp
      4.wait for the alert

      Actual results:
      The alert is not firing and the metric show hpp available

      Expected results:
      HppNotReady should fire

              agilboa@redhat.com Arnon Gilboa
              rh-ee-orevah Ohad Revah
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: