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 1248312 - "fdisk -l"can not output anything and the process status is D+ after migrating RHEL7.2 guest with virtio-1 virtio-scsi disk
Summary: "fdisk -l"can not output anything and the process status is D+ after migratin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.2
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: jason wang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 1247541 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-30 05:19 UTC by Yanhui Ma
Modified: 2015-12-04 16:52 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-rhev-2.3.0-18.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-04 16:52:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2546 0 normal SHIPPED_LIVE qemu-kvm-rhev bug fix and enhancement update 2015-12-04 21:11:56 UTC

Description Yanhui Ma 2015-07-30 05:19:31 UTC
Description of problem:
After migrating RHEL7.2 guest with virtio-1 enabled virtio-scsi disk, run "fdisk -l", no output and the process status is D+.

If  w/o virito-1 enabled, can not hit such issue.

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

source host:
3.10.0-297.el7.x86_64
qemu-kvm-rhev-2.3.0-13.el7.x86_64
destination host:
3.10.0-300.el7.x86_64
qemu-kvm-rhev-2.3.0-13.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.boot a RHEL7.2 guest with virtio-1 enabled virtio-scsi disk in src host
/usr/libexec/qemu-kvm -S -M pc -cpu Opteron_G3 -enable-kvm -m 4096 \
-smp 4,sockets=4,cores=1,threads=1 -no-kvm-pit-reinjection -name sluo-test \
-uuid b18fdd6c-a213-4022-9ca4-5d07225e40b0 \
-rtc base=localtime,clock=host,driftfix=slew \
-device virtio-serial-pci,disable-legacy=true,disable-modern=false,id=virtio-serial0,max_ports=16,vectors=0,bus=pci.0,addr=0x3,ioeventfd=on \
-chardev socket,id=channel1,path=/home/testdisk/socketfile4Gqcow2,server,nowait \
-device virtserialport,chardev=channel1,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1 \
-chardev socket,id=channel2,path=/home/testdisk/socketfile3Gqcow2,server,nowait \
-device virtserialport,chardev=channel2,name=com.redhat.rhevm.vdsm1,bus=virtio-serial0.0,id=port2 \
-drive file=/home/RHEL-Server-7.2-64-virtio-scsi.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK1 \
-device virtio-scsi-pci,id=scsi0,bus=pci.0,ioeventfd=off -device scsi-hd,bus=scsi0.0,drive=drive-system-disk,id=system-disk,channel=0,scsi-id=0,lun=0,ver=mike,serial=ababab,bootindex=1 \
-netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup \
-device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=08:2e:5f:0a:1d:b1,bus=pci.0,addr=0x5,bootindex=2 \
-device virtio-balloon-pci,disable-legacy=true,disable-modern=false,id=ballooning,bus=pci.0,addr=0x6 \
-serial unix:/tmp/ttyS0,server,nowait \
-qmp tcp:0:4444,server,nowait -k en-us -boot menu=on \
-vnc :1 -spice disable-ticketing,port=5931 -vga qxl -monitor stdio \
-device pci-bridge,id=bridge1,bus=pci.0,chassis_nr=1 \
-drive file=/home/testdisk/virtio-scsi-disk10G.qcow2,if=none,id=drive-data-disk1,format=qcow2,cache=none,werror=stop,rerror=stop,aio=native,media=disk \
-device virtio-scsi-pci,id=scsi1,bus=bridge1,addr=0xa ,disable-legacy=true,disable-modern=false -device scsi-hd,bus=scsi1.0,drive=drive-data-disk1,serial=test,id=data-disk1,physical_block_size=512,logical_block_size=512 \
-drive file=/home/driver.iso,if=none,media=cdrom,readonly=on,format=raw,id=cdrom1 -device scsi-cd,bus=scsi1.0,drive=cdrom1,id=scsi0-0
2.boot guest with listenning mode in destination host
3. migrate to destination host
4.after migrate, run "fdisk -l" & "ps aux | grep fdisk" in guest

Actual results:

after "fdisk -l", no output, after "ps aux | grep fdisk" the process status is D+.
ps aux | grep fdisk
root      3109  0.0  0.0 112420   956 pts/0    D+   11:16   0:00 fdisk -l
root      3836  0.0  0.0 112640   928 pts/1    S+   12:24   0:00 grep --color=auto fdisk

Expected results:
run "fdisk -l" successfully
Additional info:

If  w/o virito-1 enabled, can not hit such issue.

Comment 1 jason wang 2015-07-30 05:34:34 UTC
Did upstream qemu.git work for this?

Comment 9 Miroslav Rezanina 2015-08-14 16:22:33 UTC
Fix included in qemu-kvm-rhev-2.3.0-18.el7

Comment 10 Yanhui Ma 2015-08-18 10:04:26 UTC
reproduce the issue:

source host:
3.10.0-303.el7.x86_64
qemu-kvm-rhev-2.3.0-17.el7.x86_64
destination host:
3.10.0-304.el7.x86_64
qemu-kvm-rhev-2.3.0-17.el7.x86_64

steps:
the steps is the same as steps in description

results:
after "fdisk -l", no output, after "ps aux | grep fdisk" the process status is D+.
ps aux | grep fdisk
root      3109  0.0  0.0 112420   956 pts/0    D+   11:16   0:00 fdisk -l
root      3836  0.0  0.0 112640   928 pts/1    S+   12:24   0:00 grep --color=auto fdisk

============================================================================

verify the issue:
source host:
3.10.0-303.el7.x86_64
qemu-kvm-rhev-2.3.0-18.el7.x86_64
destination host:
3.10.0-304.el7.x86_64
qemu-kvm-rhev-2.3.0-18.el7.x86_64

steps:
the steps is the same as steps in description

results:

run "fdisk -l" successfully


Based on the above results, I think the bug is fixed.

Comment 12 juzhang 2015-08-24 01:34:11 UTC
According to comment10, set this issue as verified.

Comment 13 jason wang 2015-08-26 06:10:57 UTC
*** Bug 1247541 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2015-12-04 16:52:55 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-2546.html


Note You need to log in before you can comment on or make changes to this bug.