hyperconverged-cluster-operator
hyperconverged-cluster-operator copied to clipboard
pkg/monitoring/metrics: add new alert for vms using outdated machine type
What this PR does / why we need it:
This PR introduces a new Prometheus alert for virtual machines (VMs) in the cluster that require a machine type update. For instance, VMs configured with the machine type set to RHEL 8 would be flagged as outdated. This is because the base image of the virt-launcher will transition to RHEL 10, which introduces breaking changes incompatible with older machine types.
Depends-On #3132, https://github.com/kubevirt/kubevirt/pull/13010
Reviewer Checklist
- [x] PR Message
- [x] Commit Messages
- [ ] How to test
- [ ] Unit Tests
- [x] Functional Tests
- [ ] User Documentation
- [ ] Developer Documentation
- [ ] Upgrade Scenario
- [ ] Uninstallation Scenario
- [ ] Backward Compatibility
- [ ] Troubleshooting Friendly
Release note:
None
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign sradco for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Is HCO the right place for th his metric? HCO does not know VMs at all and dhould not monitor them.
/hold
Pull Request Test Coverage Report for Build 11310572661
Details
- 10 of 40 (25.0%) changed or added relevant lines in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage decreased (-0.2%) to 72.006%
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
|---|---|---|---|
| pkg/monitoring/rules/alerts/operator_alerts.go | 10 | 40 | 25.0% |
| <!-- | Total: | 10 | 40 |
| Totals | |
|---|---|
| Change from base Build 11252860062: | -0.2% |
| Covered Lines: | 5970 |
| Relevant Lines: | 8291 |
💛 - Coveralls
/test ci/prow/hco-e2e-operator-sdk-azure
@dasionov: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:
/test build-hco-test-utils-image/test pull-hyperconverged-cluster-operator-e2e-k8s-1.30/test pull-hyperconverged-cluster-operator-e2e-k8s-1.31
Use /test all to run the following jobs that were automatically triggered:
pull-hyperconverged-cluster-operator-e2e-k8s-1.30pull-hyperconverged-cluster-operator-e2e-k8s-1.31
In response to this:
/test ci/prow/hco-e2e-operator-sdk-azure
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
@dasionov: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:
/test ci-index-hco-bundle/test ci-index-hco-upgrade-operator-sdk-bundle/test hco-e2e-consecutive-operator-sdk-upgrades-aws/test hco-e2e-consecutive-operator-sdk-upgrades-azure/test hco-e2e-kv-smoke-azure/test hco-e2e-kv-smoke-gcp/test hco-e2e-operator-sdk-aws/test hco-e2e-operator-sdk-azure/test hco-e2e-operator-sdk-gcp/test hco-e2e-upgrade-operator-sdk-aws/test hco-e2e-upgrade-operator-sdk-azure/test hco-e2e-upgrade-prev-operator-sdk-aws/test hco-e2e-upgrade-prev-operator-sdk-azure/test images/test okd-ci-index-hco-bundle/test okd-ci-index-hco-upgrade-operator-sdk-bundle/test okd-images
The following commands are available to trigger optional jobs:
/test hco-e2e-operator-sdk-sno-aws/test hco-e2e-operator-sdk-sno-azure/test hco-e2e-upgrade-operator-sdk-sno-aws/test hco-e2e-upgrade-operator-sdk-sno-azure/test hco-e2e-upgrade-prev-operator-sdk-sno-aws/test hco-e2e-upgrade-prev-operator-sdk-sno-azure/test okd-hco-e2e-operator-sdk-aws/test okd-hco-e2e-operator-sdk-gcp/test okd-hco-e2e-upgrade-operator-sdk-aws/test okd-hco-e2e-upgrade-operator-sdk-gcp
Use /test all to run the following jobs that were automatically triggered:
pull-ci-kubevirt-hyperconverged-cluster-operator-main-ci-index-hco-bundlepull-ci-kubevirt-hyperconverged-cluster-operator-main-ci-index-hco-upgrade-operator-sdk-bundlepull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-consecutive-operator-sdk-upgrades-awspull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-consecutive-operator-sdk-upgrades-azurepull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-kv-smoke-azurepull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-kv-smoke-gcppull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-operator-sdk-awspull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-operator-sdk-azurepull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-operator-sdk-gcppull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-operator-sdk-sno-awspull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-operator-sdk-sno-azurepull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-upgrade-operator-sdk-awspull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-upgrade-operator-sdk-azurepull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-upgrade-operator-sdk-sno-awspull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-upgrade-operator-sdk-sno-azurepull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-upgrade-prev-operator-sdk-awspull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-upgrade-prev-operator-sdk-azurepull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-upgrade-prev-operator-sdk-sno-awspull-ci-kubevirt-hyperconverged-cluster-operator-main-hco-e2e-upgrade-prev-operator-sdk-sno-azurepull-ci-kubevirt-hyperconverged-cluster-operator-main-imagespull-ci-kubevirt-hyperconverged-cluster-operator-main-okd-ci-index-hco-bundlepull-ci-kubevirt-hyperconverged-cluster-operator-main-okd-ci-index-hco-upgrade-operator-sdk-bundlepull-ci-kubevirt-hyperconverged-cluster-operator-main-okd-images
In response to this:
/test ci/prow/hco-e2e-operator-sdk-azure
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
/test hco-e2e-operator-sdk-aws
@dasionov: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:
/test build-hco-test-utils-image/test pull-hyperconverged-cluster-operator-e2e-k8s-1.30/test pull-hyperconverged-cluster-operator-e2e-k8s-1.31
Use /test all to run the following jobs that were automatically triggered:
pull-hyperconverged-cluster-operator-e2e-k8s-1.30pull-hyperconverged-cluster-operator-e2e-k8s-1.31
In response to this:
/test hco-e2e-operator-sdk-aws
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
/cc @machadovilaca
/cc @enp0s3
/retest-required
/retest
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
@dasionov: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
| Test name | Commit | Details | Required | Rerun command |
|---|---|---|---|---|
| ci/prow/hco-e2e-consecutive-operator-sdk-upgrades-aws | 037c42287b7c8bf6f232f9cb9a37b32aaee26b27 | link | true | /test hco-e2e-consecutive-operator-sdk-upgrades-aws |
Full PR test history. Your PR dashboard.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.
Is HCO the right place for th his metric? HCO does not know VMs at all and dhould not monitor them.
/hold
and also I have some concerns if it makes sense to check for RHEL versions here
/close
@dasionov: Closed this PR.
In response to this:
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.