Bug 2213255
| Summary: | HPP wrongly reporting Available status | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Ohad <orevah> |
| Component: | Storage | Assignee: | Arnon Gilboa <agilboa> |
| Status: | CLOSED ERRATA | QA Contact: | Harel Meir <hmeir> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.13.0 | CC: | agilboa, alitke, dafrank, kmajcher, stirabos, yadu |
| Target Milestone: | --- | ||
| Target Release: | 4.14.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | v4.14.0.rhel9-1722 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-08 14:05:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Assigning to Storage team, as this is storage related alert. Please feel free to reach out for help if needed. Verified on 4.14.0 After broke the HPP using the steps above, HppNotReady alert did fire & reported as Unavailable as expected Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6817 |
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