device-mapper-multipath-0.9.7-10

Fix CI tests
This commit is contained in:
Benjamin Marzinski 2024-06-28 18:47:26 -04:00
parent 14fb28a2ae
commit 5360854526
4 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
Name: device-mapper-multipath
Version: 0.9.7
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Tools to manage multipath devices using device-mapper
License: GPLv2
URL: http://christophe.varoqui.free.fr/
@ -233,6 +233,9 @@ fi
%{_pkgconfdir}/libdmmp.pc
%changelog
* Fri Jun 28 2024 Benjamin Marzinski <bmarzins@redhat.com> - 0.9.7-10
- Fix CI tests
* Mon Jun 24 2024 Benjamin Marzinski <bmarzins@redhat.com> - 0.9.7-9
- Add gating.yaml

View File

@ -33,7 +33,7 @@ sleep 5
terr "modprobe -r scsi_debug"
terr "modprobe scsi_debug num_tgts=1 vpd_use_hostno=0 add_host=2 delay=20 \
max_luns=2 no_lun_0=1"
sleep 60
sleep 5
disk_path=$(get_scsi_debug_devices)
disk=$(basename $disk_path)

View File

@ -101,7 +101,7 @@ trun "modprobe -r scsi_debug"
# test find_multipaths=y create device for paths have same wwid
tok "modprobe scsi_debug num_tgts=1 vpd_use_hostno=0 add_host=2 delay=20 max_luns=2 no_lun_0=1"
sleep 10
sleep 5
disk_paths=$(get_scsi_debug_devices)
disk_node=$(basename $disk_paths)
mpath_name=$(get_mpath_disk_by_scsi_device $disk_node)

View File

@ -48,10 +48,8 @@ rpm -q device-mapper-multipath || yum install -y device-mapper-multipath
tlog "device-mapper-multipath is installed"
# cleanup existing devices
trun "rm /etc/multipath.conf"
trun "mpathconf --enable --with_module y"
sed -i '/^defaults[[:space:]]*{/ a\
max_polling_interval 10
' /etc/multipath.conf
trun "mpathconf --enable --with_module y --option max_polling_interval:10"
trun "mpathconf --option detect_pgpolicy_use_tpg:yes"
trun "service multipathd stop"
trun "multipath -F"
sleep 5