Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package resource-agents for openSUSE:Factory
checked in at 2022-05-20 17:50:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/resource-agents (Old)
and /work/SRC/openSUSE:Factory/.resource-agents.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "resource-agents"
Fri May 20 17:50:18 2022 rev:117 rq:978038 version:4.11.0+git11.a5f40b4c
Changes:
--------
--- /work/SRC/openSUSE:Factory/resource-agents/resource-agents.changes
2022-05-04 15:10:34.268129270 +0200
+++
/work/SRC/openSUSE:Factory/.resource-agents.new.1538/resource-agents.changes
2022-05-20 17:50:32.515216009 +0200
@@ -1,0 +2,7 @@
+Wed May 18 07:36:56 UTC 2022 - [email protected]
+
+- Update to version 4.11.0+git11.a5f40b4c:
+ * iSCSILogicalUnit: fix issue where resource was in stopped state when using
allowed_initiators parameter (#1766)
+ * Filesystem: improve logic for UUID/label and add note that
/dev/disk/by-{uuid,label}/ are preferred on Linux
+
+-------------------------------------------------------------------
Old:
----
resource-agents-4.11.0+git8.2351f1d4.tar.xz
New:
----
resource-agents-4.11.0+git11.a5f40b4c.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ resource-agents.spec ++++++
--- /var/tmp/diff_new_pack.RtpZVy/_old 2022-05-20 17:50:33.323216732 +0200
+++ /var/tmp/diff_new_pack.RtpZVy/_new 2022-05-20 17:50:33.327216736 +0200
@@ -17,7 +17,7 @@
Name: resource-agents
-Version: 4.11.0+git8.2351f1d4
+Version: 4.11.0+git11.a5f40b4c
Release: 0
Summary: HA Reusable Cluster Resource Scripts
License: GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.RtpZVy/_old 2022-05-20 17:50:33.419216818 +0200
+++ /var/tmp/diff_new_pack.RtpZVy/_new 2022-05-20 17:50:33.423216822 +0200
@@ -1,7 +1,7 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/ClusterLabs/resource-agents.git</param>
-<param name="changesrevision">2351f1d4041129041469c75039c275792e1aafd1</param>
+<param name="changesrevision">a5f40b4c3ed3d8b2ff24692a10a2190ed7adcce6</param>
</service>
</servicedata>
(No newline at EOF)
++++++ resource-agents-4.11.0+git8.2351f1d4.tar.xz ->
resource-agents-4.11.0+git11.a5f40b4c.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/resource-agents-4.11.0+git8.2351f1d4/heartbeat/Filesystem
new/resource-agents-4.11.0+git11.a5f40b4c/heartbeat/Filesystem
--- old/resource-agents-4.11.0+git8.2351f1d4/heartbeat/Filesystem
2022-04-29 09:05:49.000000000 +0200
+++ new/resource-agents-4.11.0+git11.a5f40b4c/heartbeat/Filesystem
2022-05-10 14:07:28.000000000 +0200
@@ -163,6 +163,8 @@
<parameter name="device" required="1">
<longdesc lang="en">
The name of block device for the filesystem, or -U, -L options for mount, or
NFS mount specification.
+
+NOTE: On Linux /dev/disk/by-{uuid,label}/ are preferred to -U/-L.
</longdesc>
<shortdesc lang="en">block device</shortdesc>
<content type="string" default="${OCF_RESKEY_device_default}" />
@@ -902,11 +904,11 @@
fi
case "$DEVICE" in
- --*) # Typically --uuid or --label
- device_opt=$(echo $DEVICE | sed -E "s/([[:blank:]]|=).*//")
+ --uuid=*|--uuid\ *|--label=*|--label\ *)
+ device_opt=$(echo $DEVICE | sed "s/\([[:blank:]]\|=\).*//")
DEVICE=$(echo $DEVICE | sed -E
"s/$device_opt([[:blank:]]*|=)//")
;;
- -*) # Oh... An option to mount instead... Typically -U or -L
+ -U*|-L*) # short versions of --uuid/--label
device_opt=$(echo $DEVICE | cut -c1-2)
DEVICE=$(echo $DEVICE | sed "s/$device_opt[[:blank:]]*//")
;;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/resource-agents-4.11.0+git8.2351f1d4/heartbeat/iSCSILogicalUnit.in
new/resource-agents-4.11.0+git11.a5f40b4c/heartbeat/iSCSILogicalUnit.in
--- old/resource-agents-4.11.0+git8.2351f1d4/heartbeat/iSCSILogicalUnit.in
2022-04-29 09:05:49.000000000 +0200
+++ new/resource-agents-4.11.0+git11.a5f40b4c/heartbeat/iSCSILogicalUnit.in
2022-05-10 14:07:28.000000000 +0200
@@ -464,8 +464,12 @@
if [ -n "${OCF_RESKEY_allowed_initiators}" ]; then
for initiator in ${OCF_RESKEY_allowed_initiators}; do
- [ -d
"/sys/kernel/config/target/iscsi/${OCF_RESKEY_target_iqn}/tpgt_1/acls" ] ||
ocf_run targetcli /iscsi/${OCF_RESKEY_target_iqn}/tpg1/acls create ${initiator}
add_mapped_luns=False || exit $OCF_ERR_GENERIC
- [ -d
"/sys/kernel/config/target/iscsi/${OCF_RESKEY_target_iqn}/tpgt_1/acls/${initiator}"
] || ocf_run targetcli /iscsi/${OCF_RESKEY_target_iqn}/tpg1/acls/${initiator}
create ${OCF_RESKEY_lun} ${OCF_RESKEY_lun} || exit $OCF_ERR_GENERIC
+ if [ -d
"/sys/kernel/config/target/iscsi/${OCF_RESKEY_target_iqn}/tpgt_1/acls" ] ;then
+ if ! [ -d
"/sys/kernel/config/target/iscsi/${OCF_RESKEY_target_iqn}/tpgt_1/acls/${initiator}"
];then
+ ocf_run targetcli
/iscsi/${OCF_RESKEY_target_iqn}/tpg1/acls create ${initiator}
add_mapped_luns=False || exit $OCF_ERR_GENERIC
+ ocf_run targetcli
/iscsi/${OCF_RESKEY_target_iqn}/tpg1/acls/${initiator} create ${OCF_RESKEY_lun}
${OCF_RESKEY_lun} || exit $OCF_ERR_GENERIC
+ fi
+ fi
done
fi