Document URL: https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-kubevirtcomponentexceedsrequestedcpu_virt-runbooks Section Number and Name: https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-kubevirtcomponentexceedsrequestedcpu_virt-runbooks Describe the issue: Runbook url for alert kubevirtcomponentexceedsrequestedcpu_virt does not match expected pattern. The prometheusrule says the url is supposed to be https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-KubeVirtComponentExceedsRequestedCPU: {noformat} alert: KubeVirtComponentExceedsRequestedCPU annotations: description: Pod {{ $labels.pod }} cpu usage exceeds the CPU requested runbook_url: https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-KubeVirtComponentExceedsRequestedCPU summary: The containers in the pod are using more CPU than what is defined in the containers resource requests expr: ((kube_pod_container_resource_requests{namespace="openshift-cnv",container=~"virt-controller|virt-api|virt-handler|virt-operator",resource="cpu"}) - on(pod) sum(rate(container_cpu_usage_seconds_total{container="",namespace="openshift-cnv"}[5m])) by (pod)) < 0 for: 5m labels: kubernetes_operator_component: kubevirt kubernetes_operator_part_of: kubevirt operator_health_impact: none severity: warning {noformat} Suggestions for improvement: The url should be https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-KubeVirtComponentExceedsRequestedCPU Additional information:
Checking the URL.
The problem is caused by our upstream/downstream sync process. The files in GitHub:openshift/openshift-docs are correct. The files in GitLab:OCP/4.14 are obsolete. I will fix this downstream.
Downstream file has been updated and merged. I will close this bug when the downstream doc fix is live on the Customer Portal. If the Prometheus rule picks up another malformed URL, please notify me asap so that I can fix it. I will also create a task to clean up the d/s repo.
@dbasunag I am not certain about when docs.openshift.com will be updated with the correct URL. At the moment, both URLs resolve. Please try to verify the fix. Thanks!
Verified that it is working after the url updates to https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-KubeVirtComponentExceedsRequestedCPU