Bug 1394403

Summary: Since upgrade to RHEL7.3 VMs randomly hang at reboot
Product: Red Hat Enterprise Linux 7 Reporter: Joe Kirby <jkirby>
Component: seabiosAssignee: Ademar Reis <areis>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.3CC: chayang, dyuan, gkable, jdenemar, jkirby, jsuchane, juzhang, knoel, kraxel, lmen, rbalakri, sbognann, virt-maint, xuzhang, yafu
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-15 14:17:34 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
Debug of failed reboots none

Description Joe Kirby 2016-11-11 21:22:27 UTC
Description of problem:
These were working dependably on 7.2. After the 7.3 update the VM will start find, shutdown fine, but randomly hang on reboot.

Version-Release number of selected component (if applicable):
libvirt-2.0.0-10.el7.x86_64

How reproducible:
Random, but frequent

Steps to Reproduce:
1. Reboot a VM
2.
3.

Actual results:
VM will randomly hangs during BIOS. It looks like a machine that has an empty boot block, a blinking cursor in the upper left corner.

Expected results:
The VM boots

Additional info:
The kernel doesn't seem to make any difference. We have tried with both the released 7.3 kernel and the 7.2 kernel we had been running.

Comment 2 Joe Kirby 2016-11-12 12:38:17 UTC
sbognann has potentially identified seabios-bin as the culprit.

Comment 3 Jaroslav Suchanek 2016-11-13 17:10:35 UTC
Hi,

could you please provide libvirt debug log and qemu log of the vm? But from the description it does not look like a libvirt issue...

Thanks.

Comment 4 Greg Kable 2016-11-15 05:21:04 UTC
Attached is a log of me replicating the problem with a VM called
examserver-ex300-QA-xxxx-xxxx-xxxx-xxxxxxxxxxx.  While the log was
running, I ran 'init 6' from within the VM and it hung.  I then stopped
it, started it and ran init 6 again and it hung again.  Probably not
shown in the log is that the VM will sometimes hang and sometimes show
in virsh as paused but unresumable:

[root@9610 ~]# virsh list
 Id    Name                           State
----------------------------------------------------
 3     examserver-ex300-QA-xxxx-xxxx-xxxx-xxxxxxxxxxx paused

[root@9610 ~]# virsh resume 3
error: Failed to resume domain 3
error: internal error: unable to execute QEMU command 'cont': Resetting
the Virtual Machine is required

Also, as previously noted, we have found that downgrading seabios-bin
from seabios-bin-1.9.1-5.el7.noarch to seabios-bin-1.7.5-11.el7.noarch
solves the problem.

Thanks,
	Greg

Comment 5 Greg Kable 2016-11-15 05:22:24 UTC
Created attachment 1220678 [details]
Debug of failed reboots

Comment 7 Ademar Reis 2016-11-15 14:17:34 UTC

*** This bug has been marked as a duplicate of bug 1394469 ***