Bug 1144155

Summary: Need no_timer_check in RHEL 7 cloud image
Product: Red Hat Enterprise Linux 7 Reporter: Ben Nemec <bnemec>
Component: rhel-guest-imageAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: dgregor, fdeutsch, gfidente, jgreguske, jherrman, rbarry, tlavigne, yuliu
Target Milestone: rc   
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, if a guest image was run inside a nested virtual machine, the image automatically searched for a timing device. Consequently, the guest image sometimes became unresponsive when booting. With this update, the guest image is configured with the "no_timer_check" option, and now boots successfully in nested environments.
Story Points: ---
Clone Of:
: 1147035 (view as bug list) Environment:
Last Closed: 2015-03-06 17:54:06 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:
Bug Depends On:    
Bug Blocks: 1147035    

Description Ben Nemec 2014-09-18 19:36:16 UTC
Description of problem: RHEL 7 cloud image hangs at boot when running nested.


Version-Release number of selected component (if applicable): rhel-guest-image-7.0-20140618.1.x86_64.qcow2


How reproducible: (Almost?) always.  I haven't had any success with this, but my understanding is that it doesn't fail 100% of the time.


Steps to Reproduce:
1. Boot a RHEL 7 vm using kvm
2. Attempt to boot a nested RHEL 7 vm using qemu inside the first vm

Actual results: Nested guest hangs at "...trying to set up timer as Virtual Wire IRQ..."


Expected results: Nested guest boots successfully


Additional info: The Fedora image with no_timer_check linked in https://bugzilla.redhat.com/show_bug.cgi?id=1082030 fixes this problem.  I believe the same fix should be applied to the RHEL 7 image.

Comment 2 yuliu 2014-09-23 03:35:18 UTC
Is this required for RHEL image 6? If so, please clone it to guest-image-6.

Comment 3 Charles Crouch 2014-09-26 16:15:36 UTC
That's a good point yuliu. This came up in our testing of OpenStack TripleO which we're only supporting for deployment onto RHEL7. But since this is a guest image issue, it would be nice to be able the run RHEL6 guest too.

Comment 4 Ben Nemec 2014-10-14 15:02:13 UTC
*** Bug 1152578 has been marked as a duplicate of this bug. ***

Comment 6 yuliu 2015-01-27 05:29:40 UTC
Version: rhel-guest-image-7.1-20150116.0

# cat /etc/grub2.cfg  |grep linux
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Red Hat Enterprise Linux Server 7.1 (Maipo), with Linux 3.10.0-223.el7.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-223.el7.x86_64-advanced-b12636ea-0c7b-449f-a9da-169148783564' {
	linux16 /boot/vmlinuz-3.10.0-223.el7.x86_64 root=UUID=b12636ea-0c7b-449f-a9da-169148783564 ro crashkernel=auto console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 LANG=en_US.UTF-8
...


Has "no_timer_check" in kernel command.
Verified as above.

Comment 8 errata-xmlrpc 2015-03-06 17:54:06 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, 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://rhn.redhat.com/errata/RHBA-2015-0648.html