Bug 2117186

Summary: missing kubevirt_migrate_vmi_disk_transfer_rate_bytes
Product: Container Native Virtualization (CNV) Reporter: Matan Schatzman <mschatzm>
Component: InfrastructureAssignee: Dominik Holler <dholler>
Status: NEW --- QA Contact: Geetika Kapoor <gkapoor>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.11.0CC: dholler, ibezukh, kmajcher, sradco, stirabos, tnisan
Target Milestone: ---Flags: bodnopoz: needinfo? (mschatzm)
Target Release: future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 2168470    
Attachments:
Description Flags
missing-query none

Description Matan Schatzman 2022-08-10 09:32:16 UTC
Created attachment 1904648 [details]
missing-query

Description of problem:
When migrating a VM, I can see data for other migration queries but not for kubevirt_migrate_vmi_disk_transfer_rate_bytes.

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


How reproducible:


Steps to Reproduce:
1. Migrate a vm
2. No results for kubevirt_migrate_vmi_disk_transfer_rate_bytes
3.

Actual results:


Expected results:
data from kubevirt_migrate_vmi_disk_transfer_rate_bytes query

Additional info:
according to https://github.com/kubevirt/monitoring/blob/main/docs/metrics.md - it should provide data

Comment 2 Igor Bezukh 2022-08-15 10:39:02 UTC
I had a similar issue but with the kubevirt_migrate_vmi_succeeded_total metric, following are the steps for reproduction:

1. kubectl apply examples/vmi-migratable.yaml
2. kubectl apply examples/migration-job.yaml
3. kubectl exec -it /bin/bash <source_virt_handler_pod_name> -n {kubevirt, openshift-cnv}
4. (From inside the virt-handler pod) curl -kL https://locahost:8443/metrics | grep kubevirt_migrate_vmi_succeeded_total

Comment 5 Krzysztof Majcher 2022-08-23 12:37:16 UTC
Please update 'target release' according to your plans.

Comment 6 Dominik Holler 2022-08-24 06:46:54 UTC
Even this bug is related to metrics, I change the component to Infra to keep it on the radar of the infra team.

Comment 8 Dominik Holler 2022-10-27 15:31:35 UTC
Restoring the correct state of the bug.

Comment 11 Dominik Holler 2023-04-24 15:27:56 UTC
*** Bug 2187304 has been marked as a duplicate of this bug. ***

Comment 12 Dominik Holler 2023-04-24 15:28:35 UTC
There is a great analysis at https://bugzilla.redhat.com/show_bug.cgi?id=2187304#c0 .