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)
Reviewed: https:/ /review. opendev. org/730313 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=041a62d0d5e 4806591233e4868 711563622eb19e
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 041a62d0d5e4806 591233e48687115 63622eb19e
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 6fa13db252f0abe 2b1bd950de0 cc81496c83db10c 8ae72fce06) 216cd8ebfea8b4c d059605290) d95587b53ce28f6 5ed92c46d7) 10473954559fa1d d1454e9f09)
Change-Id: Ifd8b249de3e8f9
Signed-off-by: Kevin Zhao <email address hidden>
(cherry picked from commit c8d6767cf8baaf3
(cherry picked from commit 11b2b7f0b3a8c09
(cherry picked from commit 86328d11468af66
(cherry picked from commit 3b2c6ccf261ddb8