Package: debian
Version: 8
Severity: normal
Priority: standard

Using:

http://cdimage.debian.org/cdimage/openstack/current-8/debian-8-openstack-amd64.raw
 
<http://cdimage.debian.org/cdimage/openstack/current-8/debian-8-openstack-amd64.raw>

To create an image:

   openstack image create \
           --property hw_scsi_model=virtio-scsi \
           --property hw_disk_bus=scsi \
           --disk-format raw \
           --container-format bare \
           --file debian-8-openstack-amd64.raw

If:

hw_scsi_model=virtio-scsi
hw_disk_bus=virtio

Then the instance boots fine.

However, to enable fstrim/discard:

hw_scsi_model=virtio-scsi
hw_disk_bus=scsi

Is required, but the instance fails to boot. The console logs:

       Loading, please wait...
       Gave up waiting for root device.  Common problems:
        - Boot args (cat /proc/cmdline)
          - Check rootdelay= (did the system wait long enough?)
          - Check root= (did the system wait for the right device?)
        - Missing modules (cat /proc/modules; ls /dev)
       ALERT!  /dev/vda1 does not exist.  Dropping to a shell!
       (initramfs)


The request is therefore to have a raw image built that includes the support 
for hw_disk_bus=scsi when using virtio-scsi

Freundliche Grüsse

Paul.

—
Paul Isaac’s
Senior Systems Engineer (HPC/Cloud)
Service and Support for Science IT - S3IT
Universität Zürich
Winterthurerstrasse 190
8057 Zürich

Mail: paul dot isaacs at uzh dot ch

Reply via email to