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 1072317

Summary: "Failed to start Restore /run/initramfs" during rhel7.0 guest reboot after installed from virt-manager
Product: Red Hat Enterprise Linux 7 Reporter: tingting zheng <tzheng>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: bcl, codong, dracut-maint-list, dyuan, harald, lcui, mzhan, tzheng, xiaolong.wang, zsong
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-21 09:26:29 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: 1067116    
Bug Blocks: 1070921    
Attachments:
Description Flags
reboot screenshot during installation
none
boot fail screenshot after hit the reboot button
none
Got more error info after click "Ctrl + Alt + F3"
none
reboot hang log none

Description tingting zheng 2014-03-04 11:28:09 UTC
Description
"Failed to start Restore /run/initramfs" during rhel7.0 reboot after installed from virt-manager

Version:
qemu-kvm-1.5.3-50.el7.x86_64
libvirt-1.1.1-25.el7.x86_64
virt-manager-0.10.0-18.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1.My host environment:rhel7.0 tree:RHEL-7.0-20140226.0
2.Use virt-manager,choose http installation to install rhel7.0 guest,guest tree:RHEL-7.0-20140226.0 with both minimal and Server with GUI installation.
3.After finished the installation,click "Reboot" button to reboot the guest.
4.The guest just hang there,see the screenshot,it shows as:Failed to start Restore /run/initramfs.See 'systemctl status dracut-shutdown.service" for details.
5.After force off the guest and start the guest again manually,it can be booted successfully,check dracut-shutdown.service,it's status is inactive,and I can 
start the service successfully.

Actual results:
As described.

Expected results:
Guest can rebooted successfully and forward to the login GUI.

Additional info:
The issue can not be reproduced on early tree:RHEL-7.0-20140116.1
Install rhel7.0 on physical host,it can be rebooted successfully after installation.

Comment 1 tingting zheng 2014-03-04 11:29:34 UTC
Created attachment 870345 [details]
reboot screenshot during installation

Comment 2 tingting zheng 2014-03-04 11:30:19 UTC
Created attachment 870347 [details]
boot fail screenshot after hit the reboot button

Comment 3 tingting zheng 2014-03-04 11:31:13 UTC
Created attachment 870353 [details]
Got more error info after click "Ctrl + Alt + F3"

Comment 5 tingting zheng 2014-03-05 08:10:46 UTC
The issue can not reproduce when I choose iso installation.

Comment 6 Harald Hoyer 2014-03-05 09:38:10 UTC
Well, it depends if

/boot/initramfs-${KERNEL_VERSION}.img

is available. If that is not the case in the installer service, then anaconda should disable dracut-shutdown.service to avoid the "failed service" message.

Nevertheless, the failed service does no harm in the installer.

Another way for anaconda to disable this service is to remove

/run/initramfs/.need_shutdown

Comment 7 Harald Hoyer 2014-03-05 16:23:10 UTC
Also, please add the following to the kernel command line:

systemd.log_level=debug systemd.log_target=console console=tty0 console=ttyS0,115200n81


And start your virtual machine with a serial line.

With qemu-kvm, I do this with

 -nographic 

or

 -serial stdio

Comment 8 Harald Hoyer 2014-03-05 16:25:27 UTC
(In reply to Harald Hoyer from comment #7)
> Also, please add the following to the kernel command line:
> 
> systemd.log_level=debug systemd.log_target=console console=tty0
> console=ttyS0,115200n81
> 
> 
> And start your virtual machine with a serial line.
> 
> With qemu-kvm, I do this with
> 
>  -nographic 
> 
> or
> 
>  -serial stdio

scratch that... wrong bug number

Comment 9 Cui Lei 2014-03-21 03:28:37 UTC
The bug should be blocked by 1067116.

Used the latest RHEL7 tree for testing, still failed.

# rpm -qa | grep dracut
dracut-033-151.el7.x86_64
dracut-tools-033-151.el7.x86_64
dracut-config-generic-033-151.el7.x86_64
dracut-fips-aesni-033-151.el7.x86_64
dracut-config-rescue-033-151.el7.x86_64
dracut-caps-033-151.el7.x86_64
dracut-network-033-151.el7.x86_64
dracut-fips-033-151.el7.x86_64


Reboot still ends with [terminated], send 'Ctrl+Alt+F2', will see the detail error log about anaconda error, please refer to the attachment.

Comment 10 Cui Lei 2014-03-21 03:29:13 UTC
Created attachment 877100 [details]
reboot hang log

Comment 11 Harald Hoyer 2014-03-21 09:26:29 UTC

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

Comment 12 Xiaolong Wong 2017-11-10 05:20:39 UTC
Hi Red Hat,
How is this issue fixed?
Can I or Intel have the access to BZ 1067116?
The same issue is observed on Intel Skylake Xeon with CentOS7.
Thank you~