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.
Created attachment 890796 [details] serial.log Description of problem: when shutdown a RHEL7.0 guest which command: shutdown -h now, guest can't shutdown clearly because of Cannot finalize remaining file systems and devices. And below message print to serial port: 2014-04-29 21:06:52: Not all DM devices detached, 1 left. 2014-04-29 21:06:52: Detaching DM devices. 2014-04-29 21:06:52: Not all DM devices detached, 1 left. 2014-04-29 21:06:52: Cannot finalize remaining file systems and devices, giving up. 2014-04-29 21:06:52: Storage is finalized. 2014-04-29 21:06:52: Successfully changed into root pivot. 2014-04-29 21:06:52: Returning to initrd... 2014-04-29 21:06:52: [ 41.855408] dracut Warning: Killing all remaining processes 2014-04-29 21:06:52: [ 41.906863] dracut Warning: Cannot umount /oldroot 2014-04-29 21:06:52: [ 41.919669] dracut Warning: Blocking umount of /oldroot [3000] @usr/sbin/plymouthd--mode=shutdown--attach-to-session 2014-04-29 21:06:52: [ 41.922302] dracut Warning: lrwxrwxrwx. 1 root 0 0 Apr 29 13:06 /proc/3000/exe -> /oldroot/usr/sbin/plymouthd 2014-04-29 21:06:52: [ 41.926308] dracut Warning: total 0 2014-04-29 21:06:52: [ 41.926565] dracut Warning: lrwx------. 1 root 0 64 Apr 29 13:06 0 -> /oldsys/dev/null 2014-04-29 21:06:52: [ 41.926810] dracut Warning: lrwx------. 1 root 0 64 Apr 29 13:06 1 -> /oldsys/dev/null 2014-04-29 21:06:52: [ 41.927066] dracut Warning: lrwx------. 1 root 0 64 Apr 29 13:06 2 -> /oldsys/dev/null 2014-04-29 21:06:52: [ 41.927296] dracut Warning: lrwx------. 1 root 0 64 Apr 29 13:06 3 -> anon_inode:[eventpoll] 2014-04-29 21:06:52: [ 41.927530] dracut Warning: lr-x------. 1 root 0 64 Apr 29 13:06 4 -> pipe:[10932] 2014-04-29 21:06:52: [ 41.927752] dracut Warning: l-wx------. 1 root 0 64 Apr 29 13:06 5 -> pipe:[10932] 2014-04-29 21:06:52: [ 41.927934] dracut Warning: lrwx------. 1 root 0 64 Apr 29 13:06 6 -> socket:[34296] 2014-04-29 21:06:52: [ 41.928130] dracut Warning: lrwx------. 1 root 0 64 Apr 29 13:06 7 -> /oldsys/dev/ttyS0 2014-04-29 21:06:52: [ 41.928324] dracut Warning: lrwx------. 1 root 0 64 Apr 29 13:06 8 -> /oldsys/dev/ptmx 2014-04-29 21:06:52: [ 41.928513] dracut Warning: lrwx------. 1 root 0 64 Apr 29 13:06 9 -> /oldsys/dev/tty63 2014-04-29 21:06:52: [ 41.935812] dracut: Disassembling device-mapper devices 2014-04-29 21:06:52: [ 41.938124] device-mapper: ioctl: remove_all left 1 open device(s) Version-Release number of selected component (if applicable): guest kernel: kernel-3.10.0-121.el7.x86_64 guest systemd: systemd-208-11.el7.x86_64 host kernel: kernel-2.6.32-431.el6.x86_64 qemu-kvm version: qemu-kvm-rhev-0.12.1.2-2.415.el6_5.8.x86_64 How reproducible: 100 % Steps to Reproduce: 1. boot RHEL7.0 guest by qemu-kvm with below command line: /usr/bin/qemu-kvm \ -S \ -name 'virt-tests-vm1' \ -M rhel6.5.0 \ -nodefaults \ -vga qxl \ -global qxl-vga.vram_size=33554432 \ -device AC97,bus=pci.0,addr=03 \ -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20140429-210423-BQEmWzD4,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140429-210423-BQEmWzD4,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -chardev socket,id=seabioslog_id_20140429-210423-BQEmWzD4,path=/tmp/seabios-20140429-210423-BQEmWzD4,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20140429-210423-BQEmWzD4,iobase=0x402 \ -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=04 \ -drive id=drive_image1,if=none,cache=unsafe,snapshot=off,aio=native,file=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/virt/shared/data/images/RHEL-Server-7.0-64-virtio.qcow2 \ -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \ -device virtio-net-pci,mac=9a:8d:8e:8f:90:91,id=idE4Qosp,vectors=4,netdev=idkhC7KW,bus=pci.0,addr=06 \ -netdev tap,id=idkhC7KW,vhost=on,vhostfd=23,fd=22 \ -m 32768 \ -smp 16,maxcpus=16,cores=4,threads=2,sockets=2 \ -cpu 'SandyBridge' \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4 \ -rtc base=utc,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off \ -no-kvm-pit-reinjection \ -enable-kvm 2. connect serial port by nc: nc /tmp/serial-serial0-20140429-210423-BQEmWzD4 3. execute shutdwon -h now in terminal 4. check serial port output. Actual results: guest can't shutdown clearly Expected results: guest shutdown successful Additional info: see guest serial port log in attachment