Bug 2160622
| Summary: | Migration info is logged in bytes and is not readable | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | nijin ashok <nashok> |
| Component: | Virtualization | Assignee: | Antonio Cardace <acardace> |
| Status: | CLOSED ERRATA | QA Contact: | Akash Kanni <akanni> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.11.2 | CC: | acardace, kbidarka |
| Target Milestone: | --- | ||
| Target Release: | 4.14.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | v4.14.0.rhel9-1706 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-08 14:05:03 UTC | 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: | |||
Depending upon severity and capacity targeting this bug for CNV 4.14. Verified the bug with cluster version :- v4.14.0.rhel9-2082
live migration info is now logged in MiB
~~~
{"component":"virt-launcher","kind":"","level":"info","msg":"Migration info for ddd02987-6926-466e-ba7a-0353445ce990: TimeElapsed:4114ms DataProcessed:552MiB DataRemaining:228MiB DataTotal:1041MiB MemoryProcessed:551MiB MemoryRemaining:228MiB MemoryTotal:1040MiB MemoryBandwidth:32Mbps DirtyRate:0Mbps Iteration:1 PostcopyRequests:0 ConstantPages:67103 NormalPages:140853 NormalData:550MiB ExpectedDowntime:300ms DiskMbps:0","name":"vm-rhel88-ocs","namespace":"openshift-cnv","pos":"live-migration-source.go:780","timestamp":"2023-09-27T09:03:35.249642Z","uid":"e2991746-0d23-48c3-97fa-360972f2f509"}
~~~
Able to see desired readable logs.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6817 |
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: