Bug 2160622 - Migration info is logged in bytes and is not readable
Summary: Migration info is logged in bytes and is not readable
Keywords:
Status: MODIFIED
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.11.2
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: 4.14.0
Assignee: Antonio Cardace
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-13 04:52 UTC by nijin ashok
Modified: 2023-08-14 10:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 10239 0 None open virt-launcher: log migration info in MB and Mbps 2023-08-04 12:43:02 UTC
Red Hat Issue Tracker CNV-24295 0 None None None 2023-01-13 04:53:54 UTC

Description nijin ashok 2023-01-13 04:52:41 UTC
Description of problem:

The live migration info is logged in bytes:

~~~
{"component":"virt-launcher","kind":"","level":"info","msg":"Migration info for d766fd5a-fb08-4e75-8a0b-fade611dce46: TimeElapsed:99761ms DataProcessed:9354377203B DataRemaining:683106304B DataTotal:2165907456B MemoryProcessed:9353328627B MemoryRemaining:683106304B MemoryTotal:2164858880B MemoryBandwidth:114228326B/s DirtyRate:141471744B/s Iteration:8 PostcopyRequests:0 ConstantPages:542207 NormalPages:2277884 NormalData:9330212864B ExpectedDowntime:11448ms DiskBps:0","name":"rhel7-quick-halibut","namespace":"default","pos":"live-migration-source.go:894","timestamp":"2023-01-13T04:23:22.493077Z","uid":"fc42b2e3-39d8-442e-aae8-03cdf0264bc3"}
~~~

This makes it harder to read and convert. It would be easier if it's logged in MB and Mbps.


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

OpenShift Virtualization   4.11.2

How reproducible:

100%

Steps to Reproduce:

Do a live migration and monitor the source virt launcher pod for migration info.

Actual results:

Migration info are logged in bytes and is not easily readable.

Expected results:

Log the data in MB and Mbps.

Additional info:

Comment 1 Kedar Bidarkar 2023-01-18 13:12:03 UTC
Depending upon severity and capacity targeting this bug for CNV 4.14.


Note You need to log in before you can comment on or make changes to this bug.