Missing modules for scsi cdrom config_drive in ppc64le
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CirrOS |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
config_drive cannot be enabled since it uses scsi cdrom device on /dev/sr0 for Power platform.
The missing modules, as far I could check are the following: scsi_mod, como sr_mod, sg_mod, cdrom and ibmvscsi.
Any test in Tempest suite that attempts to verify config_drive will fail:
264 # Verify metadata on config drive
265 if CONF.compute_
266 cmd_blkid = 'blkid -t LABEL=config-2 -o device'
—— qemu console ——
Populating /vdevice/
SCSI: Looking for devices
—— libvirt ——
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw' cache='none'/>
<source file='/
<
<target dev='sda' bus='scsi'/>
<readonly/>
<alias name='scsi0-
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
-— cirros ——
$ dmesg | grep SCSI
[ 0.101770] SCSI subsystem initialized
[ 0.292384] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
$ cat /etc/modules
# modules here are loaded one per line
ibmvscsic # arch=powerpc
ibmveth # arch=powerpc
virtio_scsi
virtio_pci
virtio_blk
virtio_net
e1000
ne2k-pci # arch=x86
8139cp # arch=x86
pcnet32 # arch=x86
ip_tables
isofs
vfat
nls_cp437
nls_iso8859-1
$ ls /dev/sd*
ls: /dev/sd*: No such file or directory
$ ls /dev/sr*
ls: /dev/sr*: No such file or directory
Related branches
- Scott Moser: Pending requested
-
Diff: 144 lines (+69/-13)4 files modifiedbin/build-release (+5/-5)
bin/bundle (+3/-0)
src/etc/init.d/load-modules (+1/-1)
src/etc/modules (+60/-7)
Changed in cirros: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
I'm curious in general why power adds the config drive as a cdrom.
In other arch it is added as virtio (or whatever other block device might be).