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.

Bug 1599192

Summary: RHEL guest reboot failed after migration finished that migrate from rhel6.10 host to rhel7.6 host
Product: Red Hat Enterprise Linux 7 Reporter: jingzhao <jinzhao>
Component: qemu-kvm-rhevAssignee: Dr. David Alan Gilbert <dgilbert>
Status: CLOSED WONTFIX QA Contact: jingzhao <jinzhao>
Severity: high Docs Contact:
Priority: medium    
Version: 7.6CC: chayang, jinzhao, juzhang, michen, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-01 09:07:40 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:
Attachments:
Description Flags
seabios log of destination none

Description jingzhao 2018-07-09 07:24:46 UTC
Created attachment 1457386 [details]
seabios log of destination

Description of problem:
RHEL guest reboot failed after migration finished  that migrate from rhel6.10 host to rhel7.6 host

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

# uname -r
2.6.32-754.1.1.el6.x86_64

# rpm -qa |grep qemu-kvm-rhev
qemu-kvm-rhev-0.12.1.2-2.506.el6.x86_64

# rpm -qa |grep seabios
seabios-0.6.1.2-30.el6.x86_64

host version(AMD):

# uname -r
3.10.0-915.el7.x86_64

# rpm -qa |grep qemu-kvm-rhev
qemu-kvm-rhev-2.12.0-7.el7.x86_64


# rpm -qa |grep seabios
seabios-bin-1.11.0-2.el7.noarch


How reproducible:
2/4

Steps to Reproduce:
1.Boot guest with qemu command line[1] in the source host

2.migrate from source host to destination host

3. reboot guest in the destination host using "reboot" in guest or "system_reset" in hmp

Actual results:
guest reboot failed, detailed seabios log, please check attachment

Expected results:
guest reboot successfully

Additional info:
[1]
/usr/libexec/qemu-kvm \
-name rhel7 \
-machine rhel6.5.0,accel=kvm \
-m 4096 \
-cpu Opteron_G1,check \
-realtime mlock=on \
-smp 4,maxcpus=4,sockets=4,cores=1,threads=1 \
-numa node,cpus=0-1,mem=1024 -numa node,cpus=2,mem=1024 -numa node,cpus=3,mem=2048 \
-uuid 49a3438a-70a3-4ba8-92ce-3a05e0934608 \
-nodefaults \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=discard \
-no-shutdown \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-boot order=c,menu=on,strict=on \
-device ich9-usb-ehci1,id=usb0,bus=pci.0,addr=0x5.0x7 \
-device ich9-usb-uhci1,masterbus=usb0.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 \
-device ich9-usb-uhci2,masterbus=usb0.0,firstport=2,bus=pci.0,addr=0x5.0x1 \
-device ich9-usb-uhci3,masterbus=usb0.0,firstport=4,bus=pci.0,addr=0x5.0x2 \
-device virtio-scsi-pci,id=scsi0,cmd_per_lun=234,bus=pci.0,addr=0x8 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 \
-cdrom /mnt/virtio-win-126.iso \
-drive file=/mnt/virtio-win-1.9.4_amd64.vfd,if=none,id=drive-fdc0-0-0,format=raw,cache=none \
-global isa-fdc.driveA=drive-fdc0-0-0 \
-drive file=/mnt/virtio-blk-disk,if=none,id=drive-virtio-disk0,format=raw,serial=f65effa5-90a6-47f2-8487-a9f64c95d4f5,cache=none,werror=stop,rerror=stop,aio=threads \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x9,drive=drive-virtio-disk0,id=virtio-disk0 \
-drive file=/mnt/rhel610.qcow2,if=none,id=drive-scsi-disk,format=qcow2,cache=none,werror=stop,rerror=stop \
-device virtio-scsi-pci,id=scsi1,addr=0x13 \
-device scsi-hd,drive=drive-scsi-disk,bus=scsi1.0,id=data-disk2,bootindex=0 \
-chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
-chardev socket,id=charchannel1,path=/mnt/tmp,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 \
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-device usb-tablet,id=input0 \
-device usb-host,id=hostdev0 \
-device pvpanic,ioport=1285 -msg timestamp=on \
-netdev tap,id=hostnet0,vhost=on,id=hostnet0,script=/etc/qemu-ifup \
-device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=de:e0:7a:d2:b4:56,bus=pci.0,addr=0x14 \
-netdev tap,id=hostnet1,vhost=on,script=/etc/qemu-ifup \
-device e1000,netdev=hostnet1,id=virtio-net-pci1,mac=62:98:c4:82:40:21,bus=pci.0,addr=0xa,multifunction=off \
-netdev tap,id=hostnet2,vhost=on,script=/etc/qemu-ifup \
-device rtl8139,netdev=hostnet2,id=virtio-net-pci2,mac=9e:63:dd:4d:70:b4,bus=pci.0,addr=0xb,multifunction=off \
-drive file=/mnt/ide-disk,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop,copy-on-read=off,serial=fux-ide,media=disk \
-device ide-drive,drive=drive-data-disk,id=system-disk,logical_block_size=512,physical_block_size=512,min_io_size=32,opt_io_size=64,discard_granularity=512,ver=fuxc-ver,bus=ide.0,unit=0  \
-device ich9-usb-uhci3,id=uhci6,bus=pci.0,addr=0x6 \
-device ich9-usb-uhci2,id=uhci5,bus=pci.0,addr=0x1b \
-device usb-mouse,id=mouse0,bus=uhci5.0 \
-device piix4-usb-uhci,id=xhci,bus=pci.0,addr=0xd \
-device usb-ehci,id=ehci,bus=pci.0,addr=0xe \
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0xf \
-device ich9-usb-uhci3,id=uhci,bus=pci.0,addr=0x10 \
-device usb-storage,drive=drive-usb-0,id=usb-0,removable=on,bus=uhci.0,port=1 \
-drive file=/mnt/usb-uhci-test,if=none,id=drive-usb-0,media=disk,format=qcow2 \
-device ich9-usb-ehci1,id=ehci1,bus=pci.0,addr=0x11 \
-device usb-storage,drive=drive-usb-1,id=usb-1,removable=on,bus=ehci1.0,port=1 \
-drive file=/mnt/usb-ehci-test,if=none,id=drive-usb-1,media=disk,format=qcow2 \
-device ich9-usb-uhci1,id=xhci1,bus=pci.0,addr=0x12 \
-device usb-storage,drive=drive-usb-2,id=usb-2,removable=on,bus=xhci1.0,port=1 \
-drive file=/mnt/usb-xhci-test,if=none,id=drive-usb-2,media=disk,format=qcow2 \
-device usb-ccid,id=ccid0 \
-watchdog ib700 -watchdog-action reset \
-device virtio-rng-pci,id=rng0,bus=pci.0,addr=0x1c \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x1d \
-monitor stdio \
-qmp tcp:0:4466,server,nowait -serial unix:/tmp/ttym,server,nowait \
-spice port=5910,addr=0.0.0.0,disable-ticketing,seamless-migration=on \
-device qxl-vga,id=video0,ram_size=134217728,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2 \
-chardev file,id=seabioslog_id,path=/home/seabios.log,server,nowait \
-device isa-debugcon,chardev=seabioslog_id,iobase=0x402 \


2. Didn't reproduce it every time

3. AMD host info
[root@hp-dl385pg8-12 home]# lscpu 
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             2
NUMA node(s):          4
Vendor ID:             AuthenticAMD
CPU family:            21
Model:                 2
Model name:            AMD Opteron(tm) Processor 6320
Stepping:              0
CPU MHz:               1400.000
BogoMIPS:              5585.35
Virtualization:        AMD-V
L1d cache:             16K
L1i cache:             64K
L2 cache:              2048K
L3 cache:              6144K
NUMA node0 CPU(s):     0,2,4,6
NUMA node1 CPU(s):     8,10,12,14
NUMA node2 CPU(s):     1,3,5,7
NUMA node3 CPU(s):     9,11,13,15

Comment 3 Dr. David Alan Gilbert 2018-07-10 16:13:17 UTC
Hi,
  a) Does it only happen on AMD machines? What about Intel?
  b) That's a really complex commandline - what happens if you simplify the line by taking out a lot of the unneeded devices?

Dave