-
Bug
-
Resolution: Done
-
Undefined
-
None
-
rhel-10.1
-
No
-
None
-
rhel-virt-core
-
ssg_virtualization
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
aarch64
-
None
What were you trying to do that didn't work?
Unable to log into guest on the target machine during postcopy migration.
What is the impact of this issue to you?
Causes migration.pause_postcopy_migration_and_recover.pause_and_io_error_and_recover test to fail.
Please provide the package NVR for which the bug is seen:
RHEL-10.1-20250417.0
libvirt-11.2.0-1.el10.aarch64
qemu-kvm-10.0.0-1.el10.aarch64
How reproducible is this bug?:
100%
Steps to reproduce
- Complete basic setup for migration between RHEL 10.1 machines with nfs storage and ssh
- Define vm (avocado-vt-vm1)
- # virsh migrate avocado-vt-vm1 --desturi qemu+ssh://10.6.8.20/system --live --postcopy --bandwidth 5 --timeout 5 --timeout-postcopy --postcopy-bandwidth 5 --verbose
- During step 3, check vm status
- vm is paused on src host
- vm is running on target host
- During step 4, run # virsh console avocado-vt-vm1 on target host
- Attempt to log into vm --> console is unresponsive
Expected results
Can successfully log into the vm during postcopy migration
Actual results
Console is unresponsive
Can only log into the vm after migration finishes
Source host:
[root@ampere-mtsnow-altra-13 /]# virsh event --all --loop --timestamp 2025-04-29 12:12:34.581+0000: event 'agent-lifecycle' for domain 'avocado-vt-vm1': state: 'connected' reason: 'channel event' 2025-04-29 12:13:58.844+0000: event 'migration-iteration' for domain 'avocado-vt-vm1': iteration: '1' 2025-04-29 12:14:04.148+0000: event 'lifecycle' for domain 'avocado-vt-vm1': Suspended Migrated 2025-04-29 12:14:04.151+0000: event 'migration-iteration' for domain 'avocado-vt-vm1': iteration: '2' 2025-04-29 12:14:04.168+0000: event 'lifecycle' for domain 'avocado-vt-vm1': Suspended Post-copy 2025-04-29 12:16:39.733+0000: event 'lifecycle' for domain 'avocado-vt-vm1': Shutdown Finished after host request 2025-04-29 12:16:39.747+0000: event 'lifecycle' for domain 'avocado-vt-vm1': Stopped Migrated 2025-04-29 12:16:39.747+0000: event 'job-completed' for domain 'avocado-vt-vm1': operation: 5 time_elapsed: 159432 time_elapsed_net: 159431 downtime: 22 downtime_net: 21 setup_time: 3 data_total: 4429512704 data_processed: 858395484 data_remaining: 0 memory_total: 4429512704 memory_processed: 858395484 memory_remaining: 0 memory_bps: 5402757 memory_constant: 876640 memory_normal: 205040 memory_normal_bytes: 839843840 memory_dirty_rate: 0 memory_iteration: 2 memory_postcopy_requests: 353 memory_page_size: 4096 disk_total: 0 disk_processed: 0 disk_remaining: 0
Target host:
[root@ampere-mtsnow-altra-07 /]# virsh event --all --loop --timestamp 2025-04-29 12:13:58.723+0000: event 'agent-lifecycle' for domain 'avocado-vt-vm1': state: 'disconnected' reason: 'domain started' 2025-04-29 12:13:58.833+0000: event 'lifecycle' for domain 'avocado-vt-vm1': Started Migrated 2025-04-29 12:14:04.170+0000: event 'agent-lifecycle' for domain 'avocado-vt-vm1': state: 'disconnected' reason: 'channel event' 2025-04-29 12:14:04.349+0000: event 'lifecycle' for domain 'avocado-vt-vm1': Resumed Post-copy 2025-04-29 12:16:37.686+0000: event 'agent-lifecycle' for domain 'avocado-vt-vm1': state: 'connected' reason: 'channel event' 2025-04-29 12:16:37.724+0000: event 'lifecycle' for domain 'avocado-vt-vm1': Resumed Migrated
[root@ampere-mtsnow-altra-07 /]# virsh list --all Id Name State ---------------------------------------- 3 avocado-vt-vm1 running - avocado-vt-remote-vm1 shut off
[root@ampere-mtsnow-altra-07 /]# virsh console avocado-vt-vm1
Connected to domain 'avocado-vt-vm1'
Escape character is ^] (Ctrl + ])