lsscsi is a dependency of os-brick for volume related operations
including creating a boot volume with iSCSI/FC backends. However, it
wasn't installed by default until jammy-antelope (lunar) due to a
packaging bug. It hasn't been an obvious issue especially when the
cinder-volume unit and the nova-compute unit are co-located since
nova-compute charm installs the package. Instead of applying a
workaround to all backend charms, let's apply the workaround in the
cinder charm since lsscsi is installed by default for later OpenStack
releases anyway and it's a small package.
Closes-Bug: #1939390
Change-Id: I131e12c53c78957873b6a75a3b1b67b1725b43ed
(cherry picked from commit 9a6ab28af2f5b01bc5ebc54c7cde3248dd65b53e)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- cinder/ +/926643 /opendev. org/openstack/ charm-cinder/ commit/ 4964b39c507427a 9634f82f7b9de90 ca00649554
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 4964b39c507427a 9634f82f7b9de90 ca00649554
Author: Nobuto Murata <email address hidden>
Date: Tue Aug 20 12:11:46 2024 +0900
Install lsscsi by default for zed or older
lsscsi is a dependency of os-brick for volume related operations
including creating a boot volume with iSCSI/FC backends. However, it
wasn't installed by default until jammy-antelope (lunar) due to a
packaging bug. It hasn't been an obvious issue especially when the
cinder-volume unit and the nova-compute unit are co-located since
nova-compute charm installs the package. Instead of applying a
workaround to all backend charms, let's apply the workaround in the
cinder charm since lsscsi is installed by default for later OpenStack
releases anyway and it's a small package.
Closes-Bug: #1939390 7873b6a75a3b1b6 7b1725b43ed bc5ebc54c7cde32 48dd65b53e)
Change-Id: I131e12c53c7895
(cherry picked from commit 9a6ab28af2f5b01