UBUNTU14.10-LE:liz:Ubuntu installation failing on virtio-scsi disk with disk image type raw
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft | ||
qemu (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Problem Description
-------
ISST-KVM-
Ubuntu installation to virtio-scsi disk type of raw, not able to find the driver by default and not listing virtio-scsi drivers to choose
---uname output---
[root@lizkvm home]# uname -a Linux lizkvm.
Steps to reproduce
-------
1)
[root@magkvm images]# virsh define lizg3.xml
Domain lizg3 defined from lizg3.xml
2)
[root@lizkvm home]# virsh dumpxml lizg3
<domain type='kvm' id='25'>
<name>
<uuid>
<memory unit='KiB'
<currentMemory unit='KiB'
<vcpu placement=
<cputune>
<vcpupin vcpu='0' cpuset='8'/>
<vcpupin vcpu='2' cpuset='24'/>
</cputune>
<resource>
<partition>
</resource>
<os>
<type arch='ppc64' machine=
<boot dev='hd'/>
<boot dev='cdrom'/>
<bootmenu enable='yes'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu>
<topology sockets='2' cores='1' threads='2'/>
</cpu>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='block' device='lun'>
<driver name='qemu' type='raw'/>
<source dev='/dev/sdz'/>
<
<target dev='sda' bus='scsi'/>
<alias name='scsi1-
<address type='drive' controller='1' bus='0' target='0' unit='3'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/
<
<target dev='sdb' bus='scsi'/>
<readonly/>
<alias name='scsi0-
<address type='drive' controller='0' bus='0' target='1' unit='1'/>
</disk>
<disk type='block' device='lun'>
<driver name='qemu' type='raw'/>
<source dev='/dev/sdq'/>
<
<target dev='sdc' bus='scsi'/>
<alias name='scsi1-
<address type='drive' controller='1' bus='0' target='0' unit='2'/>
</disk>
<disk type='block' device='lun'>
<driver name='qemu' type='raw'/>
<source dev='/dev/sdj'/>
<
<target dev='sdd' bus='scsi'/>
<alias name='scsi1-
<address type='drive' controller='1' bus='0' target='0' unit='0'/>
</disk>
<controller type='scsi' index='0' model='ibmvscsi'>
<alias name='scsi0'/>
<address type='spapr-vio' reg='0x2000'/>
</controller>
<controller type='scsi' index='1' model='
<alias name='scsi1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</controller>
<controller type='usb' index='0'>
<alias name='usb0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<interface type='bridge'>
<mac address=
<source bridge=
<target dev='vnet1'/>
<model type='virtio'/>
<driver name='qemu'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/3'/>
<target port='0'/>
<alias name='serial0'/>
<address type='spapr-vio' reg='0x30000000'/>
</serial>
<console type='pty' tty='/dev/pts/3'>
<source path='/dev/pts/3'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
<address type='spapr-vio' reg='0x30000000'/>
</console>
<memballoon model='none'>
<alias name='balloon0'/>
</memballoon>
</devices>
<seclabel type='dynamic' model='selinux' relabel='yes'>
<label>
<imagelabel
</seclabel>
</domain>
3)
[root@magkvm images]# virsh start --console lizg3
Domain lizg3 started
Connected to domain lizg3
Escape character is ^]
SLOF *******
-->Configured network properly and then moved to Detect disks screen
4)
Proceeded with the installation and when the disk partition screen comes up. Installer is not able to indentify the disk and asks to choose from the list of drivers as below
?????
? ?
? No disk drive was detected. If you know the name of the driver needed ?
? by your disk drive, you can select it from the list. ?
? ?
? Driver needed for your disk drive: ?
? ?
? continue with no disk drive ?
? login to iSCSI targets ?
? 3w-9xxx ? ?
? 3w-sas ? ?
? 3w-xxxx ? ?
? DAC960 ? ?
? a100u2w ? ?
? aacraid ? ?
? aic79xx ? ?
? aic7xxx ?
? ?
? <Go Back> ?
? ?
?????
<Tab> moves; <Space> selects; <Enter> activates buttons
4) verified for the drivers from the list and none of them belongs to virtio-scsi
optional driver listed are:
continue with no disk drive ?
? login to iSCSI targets ?
? 3w-9xxx ? ?
? 3w-sas ? ?
? 3w-xxxx ? ?
? DAC960 ? ?
? a100u2w ? ?
? aacraid ? ?
? aic79xx ? ?
? aic7xxx
aic94xx ?
? aoe ? ?
? arcmsr ?
? aten ? ?
? atp870u ? ?
? bpck ? ?
? cciss ? ?
? comm ? ?
? cryptoloop ? ?
? dc395x
dmx3191d ?
? dstr ? ?
? eata ? ?
? epat ?
? epia ? ?
? fdomain ? ?
? fit2 ? ?
? fit3 ? ?
? floppy ? ?
? friq
frpw ?
? gdth ? ?
? hpsa ? ?
? hptiop ? ?
? imm ?
? initio ? ?
? ips ? ?
? kbic ? ?
? ktti ? ?
? libsas
lpfc ?
? megaraid ? ?
? megaraid_mbox ? ?
? megaraid_mm ? ?
? megaraid_sas ? ?
? mpt2sas ?
? mptbase ? ?
? mptctl ? ?
? mptfc ? ?
? mptlan
mptsas ? ?
? mptscsih ? ?
? mptspi ? ?
? mtip32xx ? ?
? mvsas ?
? nbd ? ?
? on20 ? ?
? on26 ? ?
? paride
pcd ? ?
? pd ? ?
? pf ? ?
? pg ? ?
? ppa ? ?
? pt ? ?
? qla1280 ?
? qla2xxx ? ?
? qla4xxx
raid_class ? ?
? scsi_debug ? ?
? scsi_dh ? ?
? scsi_dh_alua ? ?
? scsi_dh_rdac ?
? scsi_transport_sas ? ?
? stex ? ?
? sx8
? umem ?
? none of the above
Install method: Tried both CDROM (ISO image) and Netboot ( Filename : ubuntu-
Install disk info: sdb is the disk where ubuntu to be installed and disk type virtio-scsi of type raw.
Install ISO Information: ubuntu14.10 : utopic-
The userspace tool has the following bit modes: uname -a Linux lizg2 3.15.0-6-generic #11-Ubuntu SMP Thu Jun 12 00:40:49 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
== Comment: #3 - INDIRA P. JOGA <email address hidden> - ==
HI,
Yes this is reproducible every time. And here in xml , used entire disk which is divided into LUNS ( raw whole disk) and hence did not used qemu image.
Regards,
Indira
== Comment: #5 - PRIYA M. A <email address hidden> - ==
I am trying to install ubuntu14.10 on guest : pamg1 at host: pamkvm
Ubuntu installation on virtio-scsi disk type of raw, is unable to find their drivers by default and not listing virtio-scsi drivers to proceed with ubuntu14.10 installation
XML:
[root@pamkvm qemu]# cat pamg1.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit pamg1
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>
<uuid>
<memory unit='KiB'
<currentMemory unit='KiB'
<memtune>
<soft_limit unit='KiB'
</memtune>
<vcpu placement=
<resource>
<partition>
</resource>
<os>
<type arch='ppc64' machine=
<boot dev='hd'/>
<boot dev='cdrom'/>
</os>
<cpu mode='custom' match='exact'>
<model fallback=
<topology sockets='1' cores='1' threads='4'/>
</cpu>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/
<target dev='sda' bus='scsi'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/
<target dev='sdb' bus='scsi'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/
<target dev='sdc' bus='scsi'/>
<address type='drive' controller='0' bus='0' target='0' unit='2'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/
<target dev='sdd' bus='scsi'/>
<readonly/>
<address type='drive' controller='1' bus='0' target='0' unit='0'/>
</disk>
<controller type='pci' index='0' model='pci-root'/>
<controller type='scsi' index='0' model='
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</controller>
<controller type='scsi' index='1'>
<address type='spapr-vio' reg='0x2000'/>
</controller>
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</controller>
<interface type='bridge'>
<mac address=
<source bridge=
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'/>
<address type='spapr-vio' reg='0x30000000'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
<address type='spapr-vio' reg='0x30000000'/>
</console>
<memballoon model='none'/>
</devices>
<seclabel type='dynamic' model='selinux' relabel='yes'/>
</domain>
I too encounter the same output as mentioned in this defect
When I tried the same with same xml and ubuntu build 14.04 it worked fine. The disks were listed and I was able to proceed with installation.
== Comment: #7 - INDIRA P. JOGA <email address hidden> - ==
Pls find the logs attached.
tags: | added: targetmilestone-inin1410 |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in qemu (Ubuntu): | |
status: | New → Invalid |
Default Comment by Bridge