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 1446132 - The guest fail to boot up with the scsi-hd set bootindex=0 and lun=1
Summary: The guest fail to boot up with the scsi-hd set bootindex=0 and lun=1
Keywords:
Status: CLOSED DUPLICATE of bug 1020622
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.4
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: aihua liang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-27 10:05 UTC by Yongxue Hong
Modified: 2017-08-01 07:19 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-26 13:53:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yongxue Hong 2017-04-27 10:05:14 UTC
Description of problem:
The guest fail to boot up while the scsi disk with bootindex=0

Version-Release number of selected component (if applicable):
host:3.10.0-656.el7.x86_64
qmeu:qemu-kvm-rhev-2.9.0-1.el


How reproducible:
100%

Steps to Reproduce:
1.Install a guest with a scsi disk set lun=1
eg:
/usr/libexec/qemu-kvm \
-name rhel7_4-11853 \
-m 2G \
-nodefaults \
-boot menu=on,order=cd \
-device VGA,id=vga0 \
-device nec-usb-xhci,id=xhci \
-device usb-tablet,id=usb-tablet0 \
-device usb-kbd,id=usb-kbd0 \
-device virtio-scsi-pci,id=scsi-pci-0 \
-device virtio-scsi-pci,id=scsi-pci-1 \
-drive file=/home/hyx/iso/RHEL-7.4-20170330.1-Server-x86_64-dvd1.iso,if=none,media=cdrom,id=cd-0 \
-device scsi-cd,bus=scsi-pci-0.0,id=scsi-cd-0,drive=cd-0,channel=0,scsi-id=0,lun=0,bootindex=0 \
-drive file=/home/hyx/image/rhel-7_4-11853-20G.qcow2,format=qcow2,if=none,cache=none,media=disk,werror=stop,rerror=stop,id=drive-0 \
-device scsi-hd,bus=scsi-pci-1.0,id=scsi-hd-0,drive=drive-0,channel=0,scsi-id=0,lun=1 \
-netdev tap,id=hostnet0,script=/etc/qemu-ifup \
-device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=40:f2:e9:5d:9c:03 \
-serial unix:./sock0,server,nowait \
-qmp tcp:0:3000,server,nowait \
-monitor stdio \
-vnc :10

2.Boot the guset
eg:
/usr/libexec/qemu-kvm \
-name rhel7_4-11853 \
-m 2G \
-nodefaults \
-boot menu=on,order=cd \
-device VGA,id=vga0 \
-device nec-usb-xhci,id=xhci \
-device usb-tablet,id=usb-tablet0 \
-device usb-kbd,id=usb-kbd0 \
-device virtio-scsi-pci,id=scsi-pci-0 \
-device virtio-scsi-pci,id=scsi-pci-1 \
-drive file=/home/hyx/image/rhel-7_4-11853-20G.qcow2,format=qcow2,if=none,cache=none,media=disk,werror=stop,rerror=stop,id=drive-0 \
-device scsi-hd,bus=scsi-pci-1.0,id=scsi-hd-0,drive=drive-0,channel=0,scsi-id=0,lun=1,bootindex=0 \
-netdev tap,id=hostnet0,script=/etc/qemu-ifup \
-device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=40:f2:e9:5d:9c:03 \
-serial unix:./sock0,server,nowait \
-qmp tcp:0:3000,server,nowait \
-monitor stdio \
-vnc :10

Actual results:
The guest can not boot up because can not read the boot disk

Expected results:
The guest can boot up successfully.

Additional info:
It did not be reproduced in ppc.

Comment 2 Yongxue Hong 2017-04-27 10:12:47 UTC
If the lun=0 and the bootindex=0, the guest could boot up.

Comment 3 aihua liang 2017-05-04 03:22:56 UTC
Same root casue with bug 1445616.

Comment 4 Paolo Bonzini 2017-05-26 13:53:24 UTC

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


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