Skip to content

Commit bb99f1f

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Switch to lioadm in openSUSE distros"
2 parents d9e4025 + 61f6caf commit bb99f1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/cinder

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ CINDER_VOLUME_CLEAR=$(echo ${CINDER_VOLUME_CLEAR} | tr '[:upper:]' '[:lower:]')
9696
# https://bugs.launchpad.net/cinder/+bug/1180976
9797
CINDER_PERIODIC_INTERVAL=${CINDER_PERIODIC_INTERVAL:-60}
9898

99-
# Centos7 switched to using LIO and that's all that's supported,
100-
# although the tgt bits are in EPEL we don't want that for CI
101-
if is_fedora; then
99+
# Centos7 and OpenSUSE switched to using LIO and that's all that's supported,
100+
# although the tgt bits are in EPEL and OpenSUSE we don't want that for CI
101+
if is_fedora || is_suse; then
102102
CINDER_ISCSI_HELPER=${CINDER_ISCSI_HELPER:-lioadm}
103103
if [[ ${CINDER_ISCSI_HELPER} != "lioadm" ]]; then
104104
die "lioadm is the only valid Cinder target_helper config on this platform"

0 commit comments

Comments
 (0)