Files
nova/releasenotes/notes/bug-2127196-lun-blockio-1a2b3c4d5e6f7890.yaml
Sean Mooney c8d34ed3dc Fix blockio generation for LUN volumes
QEMU's scsi-block device driver does not support physical_block_size
and logical_block_size properties. When Cinder reports disk geometry
for LUN volumes, Nova was incorrectly including a <blockio> element
in the libvirt XML, causing QEMU to fail with:

    Property 'scsi-block.physical_block_size' not found

This fix adds a check to skip blockio generation when source_device
is 'lun', following the existing pattern used for serial at line 1356.

Generated-By: claude-code (Claude Opus 4.5)
Closes-Bug: #2127196
Change-Id: Idf87e936edd97aac719222942c9842a9aca4c270
Signed-off-by: Sean Mooney <work@seanmooney.info>
2026-02-03 22:15:19 +00:00

13 lines
571 B
YAML

---
fixes:
- |
`Bug 2127196`_ is fixed where Nova incorrectly generated a ``<blockio>``
element in libvirt XML for LUN volumes when Cinder reported disk geometry
(logical and physical block size). QEMU's ``scsi-block`` device driver
does not support ``physical_block_size`` and ``logical_block_size``
properties, causing instance spawn to fail with the error
``Property 'scsi-block.physical_block_size' not found``.
The ``<blockio>`` element is now omitted for LUN devices.
.. _Bug 2127196: https://bugs.launchpad.net/nova/+bug/2127196