Support initrdless boot on default qemu virt models and openstack

Bug #2030745 reported by Dimitri John Ledkov
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Currently qemu & openstack for the most simple invocations of "virtio" drive type use virtio-blk.
One can use virtio-scsi, and many do, but it's not a given.
To continue support minimal images without initrd, and enable in-place no-change migration, we should also make virtio-blk builtin.

This can be revisited once openstack & qemu defaults change to virtio-scsi (if ever).

Test cases:

Qemu with `-drive if=virtio,format=$format,file=$image` should work, requires virtio-blk today.

Qemu with `-device virtio-scsi-pci,id=scsi0 \
-drive if=none,id=rootfs,format=$format,file=$image -device scsi-hd,drive=rootfs,bus=scsi0.0"` already works, requires virtio-scsi, and should continue to work.

Openstack with

openstack image create \
     --container-format bare \
     --disk-format qcow2 \
     --file my-minimal.qcow2

should work and currently requires virtio-blk.

Openstack with

openstack image create \
     --container-format bare \
     --disk-format qcow2 \
     --property hw_disk_bus=scsi \
     --property hw_scsi_model=virtio-scsi \
     --file my-minimal.qcow2

already works, and should continue to work, requires virtio-scsi.

summary: - Make virtio-blk builtin
+ Support initrdless boot on default qemu virt models and openstack
description: updated
Revision history for this message
Philip Roche (philroche) wrote :

Note that this is blocking the publication of new Mantic minimized cloud images as we gate on being able to test with the default OpenStack configuration which is virtio-blk based.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Changed in linux (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 6.5.0-5.5

---------------
linux (6.5.0-5.5) mantic; urgency=medium

  * mantic/linux: 6.5.0-5.5 -proposed tracker (LP: #2034546)

  * Packaging resync (LP: #1786013)
    - [Packaging] update helper scripts
    - debian/dkms-versions -- update from kernel-versions (main/d2023.08.23)

 -- Andrea Righi <email address hidden> Wed, 06 Sep 2023 15:51:04 +0200

Changed in linux (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.