commit 11b2b7f0b3a8c09216cd8ebfea8b4cd059605290
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)
Reviewed: https:/ /review. opendev. org/730310 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=11b2b7f0b3a 8c09216cd8ebfea 8b4cd059605290
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 11b2b7f0b3a8c09 216cd8ebfea8b4c d059605290
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)
Change-Id: Ifd8b249de3e8f9
Signed-off-by: Kevin Zhao <email address hidden>
(cherry picked from commit c8d6767cf8baaf3