Comment 11 for bug 1867075

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.opendev.org/730313
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=041a62d0d5e4806591233e4868711563622eb19e
Submitter: Zuul
Branch: stable/queens

commit 041a62d0d5e4806591233e4868711563622eb19e
Author: Kevin Zhao <email address hidden>
Date: Thu Mar 12 11:31:33 2020 +0800

    fix scsi disk unit number of the attaching volume when cdrom bus is scsi

    From Image Meta Properties: hw_cdrom_bus=scsi, and use virtio-scsi mode,
    it will also need a disk address for it. So we need to calculate the
    disk address when call the function to get the next unit of scsi controller.

    Closes-Bug: #1867075
    Change-Id: Ifd8b249de3e8f96fa13db252f0abe2b1bd950de0
    Signed-off-by: Kevin Zhao <email address hidden>
    (cherry picked from commit c8d6767cf8baaf3cc81496c83db10c8ae72fce06)
    (cherry picked from commit 11b2b7f0b3a8c09216cd8ebfea8b4cd059605290)
    (cherry picked from commit 86328d11468af66d95587b53ce28f65ed92c46d7)
    (cherry picked from commit 3b2c6ccf261ddb810473954559fa1dd1454e9f09)