device-mapper-multipath-0.9.7-10
Fix CI tests
This commit is contained in:
parent
14fb28a2ae
commit
5360854526
@ -1,6 +1,6 @@
|
|||||||
Name: device-mapper-multipath
|
Name: device-mapper-multipath
|
||||||
Version: 0.9.7
|
Version: 0.9.7
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: Tools to manage multipath devices using device-mapper
|
Summary: Tools to manage multipath devices using device-mapper
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://christophe.varoqui.free.fr/
|
URL: http://christophe.varoqui.free.fr/
|
||||||
@ -233,6 +233,9 @@ fi
|
|||||||
%{_pkgconfdir}/libdmmp.pc
|
%{_pkgconfdir}/libdmmp.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jun 24 2024 Benjamin Marzinski <bmarzins@redhat.com> - 0.9.7-9
|
||||||
- Add gating.yaml
|
- Add gating.yaml
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ sleep 5
|
|||||||
terr "modprobe -r scsi_debug"
|
terr "modprobe -r scsi_debug"
|
||||||
terr "modprobe scsi_debug num_tgts=1 vpd_use_hostno=0 add_host=2 delay=20 \
|
terr "modprobe scsi_debug num_tgts=1 vpd_use_hostno=0 add_host=2 delay=20 \
|
||||||
max_luns=2 no_lun_0=1"
|
max_luns=2 no_lun_0=1"
|
||||||
sleep 60
|
sleep 5
|
||||||
|
|
||||||
disk_path=$(get_scsi_debug_devices)
|
disk_path=$(get_scsi_debug_devices)
|
||||||
disk=$(basename $disk_path)
|
disk=$(basename $disk_path)
|
||||||
|
@ -101,7 +101,7 @@ trun "modprobe -r scsi_debug"
|
|||||||
|
|
||||||
# test find_multipaths=y create device for paths have same wwid
|
# 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"
|
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_paths=$(get_scsi_debug_devices)
|
||||||
disk_node=$(basename $disk_paths)
|
disk_node=$(basename $disk_paths)
|
||||||
mpath_name=$(get_mpath_disk_by_scsi_device $disk_node)
|
mpath_name=$(get_mpath_disk_by_scsi_device $disk_node)
|
||||||
|
@ -48,10 +48,8 @@ rpm -q device-mapper-multipath || yum install -y device-mapper-multipath
|
|||||||
tlog "device-mapper-multipath is installed"
|
tlog "device-mapper-multipath is installed"
|
||||||
# cleanup existing devices
|
# cleanup existing devices
|
||||||
trun "rm /etc/multipath.conf"
|
trun "rm /etc/multipath.conf"
|
||||||
trun "mpathconf --enable --with_module y"
|
trun "mpathconf --enable --with_module y --option max_polling_interval:10"
|
||||||
sed -i '/^defaults[[:space:]]*{/ a\
|
trun "mpathconf --option detect_pgpolicy_use_tpg:yes"
|
||||||
max_polling_interval 10
|
|
||||||
' /etc/multipath.conf
|
|
||||||
trun "service multipathd stop"
|
trun "service multipathd stop"
|
||||||
trun "multipath -F"
|
trun "multipath -F"
|
||||||
sleep 5
|
sleep 5
|
||||||
|
Loading…
Reference in New Issue
Block a user