We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What happened: A clear and concise description of what the bug is.
Prometheus unable to scrape metrics for kubevirt-hyperconverged-operator.
The cause of this problem appears to be the lack of authorization.
What you expected to happen: A clear and concise description of what you expected to happen.
How to reproduce it (as minimally and precisely as possible): Steps to reproduce the behavior.
Deploy KubeVirt HyperConverged Cluster Operator on OKD.
Additional context: Add any other context about the problem here.
Environment:
virtctl version
kubectl version
uname -a
The text was updated successfully, but these errors were encountered:
Hi @machadovilaca , could you please check? I suspect it's related to #3303
Sorry, something went wrong.
Hello @nakkoh,
can you share the hco-operator pod logs and the config of the kubevirt-hyperconverged-operator-metrics ServiceMonitor?
hco-operator
kubevirt-hyperconverged-operator-metrics
Thank you @machadovilaca
Please refer to the following attachment regarding hco-operator logs. hco_operator.log
And the kubevirt-hyperconverged-operator-metrics ServiceMonitor is defined as follows.
apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: creationTimestamp: "2025-02-28T06:31:10Z" generation: 16 labels: app: kubevirt-hyperconverged app.kubernetes.io/component: monitoring app.kubernetes.io/managed-by: hco-operator app.kubernetes.io/part-of: hyperconverged-cluster app.kubernetes.io/version: 1.14.0 name: kubevirt-hyperconverged-operator-metrics namespace: kubevirt-hyperconverged ownerReferences: - apiVersion: apps/v1 blockOwnerDeletion: false controller: false kind: Deployment name: hco-operator uid: 19e2af5c-076d-4bbe-9450-f0d978e830be resourceVersion: "19149989" uid: b6df0cc7-c4e4-4c30-8039-8b22e0a89c12 spec: endpoints: - authorization: credentials: key: token name: hco-bearer-auth port: http-metrics namespaceSelector: {} selector: matchLabels: app: kubevirt-hyperconverged app.kubernetes.io/component: monitoring app.kubernetes.io/managed-by: hco-operator app.kubernetes.io/part-of: hyperconverged-cluster app.kubernetes.io/version: 1.14.0
No branches or pull requests
What happened:
A clear and concise description of what the bug is.
Prometheus unable to scrape metrics for kubevirt-hyperconverged-operator.
The cause of this problem appears to be the lack of authorization.
What you expected to happen:
A clear and concise description of what you expected to happen.
How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.
Deploy KubeVirt HyperConverged Cluster Operator on OKD.
Additional context:
Add any other context about the problem here.
Environment:
virtctl version
): v1.4.0kubectl version
): v1.31.6uname -a
): 5.14.0-570.el9.x86_64The text was updated successfully, but these errors were encountered: