Bug 2017802 - Better event handling and logging needed for migrations
Summary: Better event handling and logging needed for migrations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.9.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 4.9.3
Assignee: Igor Bezukh
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On: 2017394 2017573
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-27 12:52 UTC by sgott
Modified: 2022-02-22 21:55 UTC (History)
12 users (show)

Fixed In Version: virt-controller-container-v4.9.2-8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2017394
Environment:
Last Closed: 2022-02-22 21:54:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 6836 0 None Merged [migrations]: add phase and VMI name to the VMIM CLI output 2021-12-22 13:18:22 UTC
Github kubevirt kubevirt pull 6950 0 None Merged Add logs indicating when global migration limits are hit 2021-12-22 13:22:46 UTC
Github kubevirt kubevirt pull 7021 0 None Merged [release-0.44] Add logs indicating when global migration limits are hit 2022-01-11 09:44:15 UTC
Red Hat Product Errata RHBA-2022:0641 0 None None None 2022-02-22 21:55:14 UTC

Comment 4 Denys Shchedrivyi 2022-02-04 19:49:56 UTC
Verified on CNV v4.9.3-16

In virt-controller logs I see the message about hitting the migration limits:

{"component":"virt-controller","kind":"","level":"info","msg":"Waiting to schedule target pod for vmi [default/vm-5] migration because total running parallel outbound migrat
ions on target node [2] has hit outbound migrations per node limit.","name":"job-5","namespace":"default","pos":"migration.go:714","timestamp":"2022-02-04T19:37:19.968194Z",
"uid":"d9d535b9-8062-4428-b664-9c6badda2a8a"}


And VMIM objects look much more informative:

$ oc get vmim -o wide
NAME    PHASE        VMI
job-1   Succeeded    vm-1
job-2   Succeeded    vm-2
job-3   Running      vm-3
job-4   Scheduling   vm-4
job-5   Pending      vm-5

Comment 11 errata-xmlrpc 2022-02-22 21:54:59 UTC
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 (OpenShift Virtualization 4.9.3 Images), 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/RHBA-2022:0641


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