Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem: migrate_cancel failed when i set the iptables rule in destination host. Version-Release number of selected component (if applicable): kernel: 3.10.0-206.el7.x86_64 qemu-kvm-1.5.3-79.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Boot up guest in source guest: qemu-kvm \ -M pc \ -nodefaults \ -vga qxl \ -global qxl-vga.vram_size=33554432 \ -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmp,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -chardev socket,id=seabioslog,path=/tmp/seabios-2014-11-24,server,nowait \ -device isa-debugcon,chardev=seabioslog,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \ -drive id=drive-data-disk,if=none,cache=none,snapshot=off,format=raw,file=/mnt/2012win-meyang-1.raw \ -device virtio-scsi-pci,id=scsi1,bus=pci.0,addr=04 \ -device scsi-hd,id=data-disk,bus=scsi1.0,drive=drive-data-disk \ -drive id=drive-data-disk1,if=none,cache=none,snapshot=off,format=raw,file=/mnt/2012win-meyang-2.raw \ -device virtio-scsi-pci,id=scsi2,bus=pci.0,addr=05 \ -device scsi-hd,id=data-disk1,bus=scsi2.0,drive=drive-data-disk1 \ -drive id=cdrom_d,if=none,file=/mnt/en_windows_server_2012_r2_x64_dvd_2707946.iso,media=cdrom,format=raw,readonly=on \ -device ide-drive,id=cdrom1,drive=cdrom_d \ -drive id=cdrom_d1,if=none,file=/mnt/driver.iso,media=cdrom,format=raw,readonly=on \ -device ide-drive,id=cdrom2,drive=cdrom_d1 \ -device intel-hda,id=sound0,bus=pci.0,addr=07 \ -device hda-duplex \ -device virtio-net-pci,mac=fa:f7:f8:5f:fa:5b,id=idn0VnaA,vectors=4,netdev=id8xJhp7,bus=pci.0,addr=06 \ -netdev tap,id=id8xJhp7,vhost=on \ -m 4096 \ -smp 2,maxcpus=3 \ -cpu 'Nehalem' \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -rtc base=utc,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -monitor stdio \ -enable-kvm \ -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x9 \ -spice port=8000,password=123456 \ -device nec-usb-xhci,id=xhci \ -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x10 \ -device usb-bot,id=bot,bus=xhci.0 \ -drive file=/mnt/meyang-usb-cd.iso,if=none,id=usb-cdrom,format=raw \ -device scsi-cd,bus=bot.0,scsi-id=0,lun=1,drive=usb-cdrom,id=usb-cdrom \ -drive file=/mnt/meyang-usb-disk.qcow2,id=usb-disk,if=none,format=qcow2 \ -device scsi-hd,bus=bot.0,scsi-id=0,lun=0,drive=usb-disk,id=usb-disk \ 2.boot up guest in destination guest using -incoming "tcp:0:5800" \ 3.Detailed operations: 1)In source guest using qmp to issue the migrate command, {"execute": "qmp_capabilities"} {"return": {}} {"execute": "migrate","arguments":{"uri": "tcp:10.66.84.16:5800"}} {"return": {}} 2)During migration in progress , use firewall on destination host: iptables -A INPUT -p tcp -d 10.66.84.16 --dport 5800 -j REJECT 3)In source guest qmp monitor,issue the cancel command: {"execute":"migrate_cancel"} Actual results: migration stays in active when check using "info migrate in qmp monitor" { "execute": "query-migrate"} {"return": {"expected-downtime": 30, "status": "active", "setup-time": 3, "total-time": 281357, "ram": {"total": 4396371968, "remaining": 1066815488, "mbps": 268.5668, "transferred": 183797742, "duplicate": 769687, "dirty-pages-rate": 0, "skipped": 0, "normal-bytes": 176914432, "normal": 43192}}} Expected results: migration cancelled successfully Additional info: Source host CPU info: processor : 15 vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz stepping : 4 microcode : 0x428 cpu MHz : 2356.757 cache size : 20480 KB physical id : 0 siblings : 16 core id : 7 cpu cores : 8 apicid : 15 initial apicid : 15 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms bogomips : 5187.72 Destination CPU info: processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz stepping : 2 microcode : 0x10 cpu MHz : 2394.067 cache size : 12288 KB physical id : 0 siblings : 8 core id : 10 cpu cores : 4 apicid : 21 initial apicid : 21 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid bogomips : 4788.13