86 Commits

Author SHA256 Message Date
246dda9fe7 Accepting request 1307442 from Virtualization
- Update to version 4.0.0:
  * release 4.0.0
  * sanlock: add sanlock_get_hosts SANLK_GET_HOST_LOCAL
  * sanlock: add new sanlock_read_lockspace_host function
  * sanlock: add update for lockspace io timeout to set_config
  * sanlock: return shared owner info for acquire2
  * sanlock: fix acquire2 owner data recv
  * sanlock: add direct init_host to initialize one delta lease
  * sanlock: fix missing fd close after send_header error
  * sanlock: use host_state_str to print flags
  * sanlock: fix renewal history error and timeout
  * sanlock: add new acquire function that returns lease owner
  * Add man-pages as documentation in systemd service files
  * systemd services: syslog.target -> syslog.socket
  * sanlock: retry release on EIO
  * misc: Typo fixes, courtesy of Codespell
  * sanlock: fix setting checksum for direct write_leader
  * sanlock: new NODELAY flag for add_lockspace
  * systemd-wdmd: work around race with udev setting softdog label

OBS-URL: https://build.opensuse.org/request/show/1307442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=36
2025-09-29 14:31:08 +00:00
bce018a28f Add missing changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=84
2025-09-26 21:42:52 +00:00
b875d4da6d Accepting request 1305574 from home:jfehlig:branches:Virtualization
- Update to version 4.0.0:
  * release 4.0.0
  * sanlock: add sanlock_get_hosts SANLK_GET_HOST_LOCAL
  * sanlock: add new sanlock_read_lockspace_host function
  * sanlock: add update for lockspace io timeout to set_config
  * sanlock: return shared owner info for acquire2
  * sanlock: fix acquire2 owner data recv
  * sanlock: add direct init_host to initialize one delta lease
  * sanlock: fix missing fd close after send_header error
  * sanlock: use host_state_str to print flags
  * sanlock: fix renewal history error and timeout
  * sanlock: add new acquire function that returns lease owner
  * Add man-pages as documentation in systemd service files
  * systemd services: syslog.target -> syslog.socket
  * sanlock: retry release on EIO
  * misc: Typo fixes, courtesy of Codespell
  * sanlock: fix setting checksum for direct write_leader
  * sanlock: new NODELAY flag for add_lockspace
  * systemd-wdmd: work around race with udev setting softdog label
- Use pyproject macros to build and install the python module.

OBS-URL: https://build.opensuse.org/request/show/1305574
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=83
2025-09-17 20:34:02 +00:00
4b3a5dca8a Accepting request 1293232 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1293232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=35
2025-07-17 15:17:19 +00:00
1365f2ccf3 Accepting request 1291851 from home:StevenK:branches:Virtualization
- Use pyproject macros to build and install the python module.

OBS-URL: https://build.opensuse.org/request/show/1291851
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=81
2025-07-14 23:14:28 +00:00
582f1d66a2 Accepting request 1208511 from Virtualization
- Update to version 3.9.5:
  * sanlock: change log level for resource names
  * sanlock: include worker thread info in status
  * sanlock: reuse io buffer with hugepages
  * sanlock: use hugepages to avoid splitting read io
  * sanlock: don't reduce max_sectors_kb
  * sanlock: fix is dead log message for unused host id
  * sanlock: repeat helper_msg string termination
  * sanlock: fix invalid strcpy in direct dump

OBS-URL: https://build.opensuse.org/request/show/1208511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=34
2024-10-18 13:52:08 +00:00
e149df96ea - Update to version 3.9.5:
* sanlock: change log level for resource names
  * sanlock: include worker thread info in status
  * sanlock: reuse io buffer with hugepages
  * sanlock: use hugepages to avoid splitting read io
  * sanlock: don't reduce max_sectors_kb
  * sanlock: fix is dead log message for unused host id
  * sanlock: repeat helper_msg string termination
  * sanlock: fix invalid strcpy in direct dump

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=79
2024-10-16 20:22:31 +00:00
fbba104569 Accepting request 1184377 from Virtualization
- suse-systemd.patch: Remove redundant 'ExecStart' from wdmd.service
  boo#1227208

OBS-URL: https://build.opensuse.org/request/show/1184377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=33
2024-07-02 16:14:59 +00:00
5b10695fac Add missing changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=77
2024-07-01 20:44:22 +00:00
5ce7592b84 Remove redundant 'ExecStart' from wdmd.service
boo#1227208

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=76
2024-07-01 20:39:35 +00:00
31ef05eccf Accepting request 1178397 from Virtualization
- Update to sanlock 3.9.3
  - Make the watchdog timeout configurable
  - wdmd: close watchdog when not used
  - userstorage: replace by PyPI userstorage
  - sanlock: skip short delay in delta lease reacquire
  - sanlock: use product_uuid for host name
  - wdmd: fix timing for iTCO_wdt
  - sanlock: save client_id in token and report in status and use in -C
  - sanlock: include startup message in syslog
  - sanlock: improve repeated ballots in paxos_acquire
  - sanlock: fix zero io timeout for direct requests
  - sanlock: fix release writing zero dblock values
  - sanlock: skip delay when same host acquires delta lease

OBS-URL: https://build.opensuse.org/request/show/1178397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=32
2024-06-06 10:31:15 +00:00
fa3f54da4f - Update to sanlock 3.9.3
- Make the watchdog timeout configurable
  - wdmd: close watchdog when not used
  - userstorage: replace by PyPI userstorage
  - sanlock: skip short delay in delta lease reacquire
  - sanlock: use product_uuid for host name
  - wdmd: fix timing for iTCO_wdt
  - sanlock: save client_id in token and report in status and use in -C
  - sanlock: include startup message in syslog
  - sanlock: improve repeated ballots in paxos_acquire
  - sanlock: fix zero io timeout for direct requests
  - sanlock: fix release writing zero dblock values
  - sanlock: skip delay when same host acquires delta lease

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=74
2024-06-03 23:02:16 +00:00
2b92f582f1 Accepting request 1151906 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1151906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=31
2024-02-27 21:45:27 +00:00
34416ce6ee Accepting request 1151467 from home:dimstar:rpm4.20:s
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151467
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=72
2024-02-26 17:37:08 +00:00
ac1a4f5e8f Accepting request 1142220 from Virtualization
- add user()/group() provides for rpm 4.19

   using the multibuild feature gh#openSUSE/python-rpm-macros#66
- Replace references to /var/adm/fillup-templates with new
- Enable sanlk-reset subpackage
  * suse-no-date-time.patch
  * suse-systemd.patch
- initial package based on package from openstack

OBS-URL: https://build.opensuse.org/request/show/1142220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=30
2024-01-29 21:27:03 +00:00
695500fcc4 - add user()/group() provides for rpm 4.19
using the multibuild feature gh#openSUSE/python-rpm-macros#66
- Replace references to /var/adm/fillup-templates with new
- Enable sanlk-reset subpackage
  * suse-no-date-time.patch
  * suse-systemd.patch
- initial package based on package from openstack

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=70
2024-01-29 10:25:25 +00:00
5f56e367f0 Accepting request 1029802 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1029802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=29
2022-10-20 09:09:26 +00:00
1c1b42b8fb Accepting request 1029797 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.5
  - python: Replace distutils with setuptools
  - sanlock: fix memory leak of lockspace renewal_history
  - sanlock: fix pthread_create error check
  - sanlock: use helper to set max_sectors_kb

OBS-URL: https://build.opensuse.org/request/show/1029797
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=68
2022-10-18 17:46:53 +00:00
f79b189254 Accepting request 934637 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/934637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=28
2021-12-01 19:46:16 +00:00
cacdb704bb Accepting request 932182 from home:jsegitz:branches:systemdhardening:Virtualization
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/932182
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=67
2021-11-29 22:11:50 +00:00
e1aa58fd8c Accepting request 898905 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/898905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=27
2021-06-14 21:10:03 +00:00
7e305a403a Accepting request 898904 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.4
  - sanlock: socket send and recv retries
  - python: expose {get,set}_lvb
  - sanlock: Shrink thread pool when there is no work
  - config: Add max_worker_threads

OBS-URL: https://build.opensuse.org/request/show/898904
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=65
2021-06-09 22:24:29 +00:00
35d7810db1 Accepting request 844480 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/844480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=26
2020-11-02 08:37:22 +00:00
3bfb0e57c9 Accepting request 843688 from home:bnavigator:branches:Virtualization
-  Make python subpackage ready for multiple python3 flavors
   using the multibuild feature gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/843688
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=63
2020-10-27 22:41:41 +00:00
53c7108087 Accepting request 828553 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/828553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=25
2020-08-28 21:44:37 +00:00
2c5ad76bee Accepting request 828552 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.2
  - Remove extra link args
  - Add write_init_io_timeout
  - Disable high_priority SCHED_RR by default
  - Dropped patches:
    sanlock-lto-disable-fpie.patch
- Add tar_scm source service and use xz compression

OBS-URL: https://build.opensuse.org/request/show/828552
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=61
2020-08-21 17:07:44 +00:00
5fabf01f60 Accepting request 820768 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/820768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=24
2020-07-16 10:08:18 +00:00
37bc9da1cb Accepting request 820767 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.1
  - python: add flake8 env
  - Add client debug logging
  _ Add per command debug logging
  - Misc bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/820767
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=59
2020-07-13 22:36:18 +00:00
959b8ba4bb Accepting request 724055 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/724055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=23
2019-08-27 10:00:00 +00:00
3b24fef7e0 Accepting request 723915 from home:dimstar:Factory
Needed to fix failure in Staging:C with new util-linux

OBS-URL: https://build.opensuse.org/request/show/723915
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=57
2019-08-16 13:18:32 +00:00
ac1ae069f1 Accepting request 711901 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/711901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=22
2019-07-08 13:06:25 +00:00
d603a1fce3 Accepting request 711807 from home:marxin:branches:Virtualization
- Add sanlock-lto-disable-fpie.patch in order to handle
  boo#1138836. Extra -fPIE is stripped.

OBS-URL: https://build.opensuse.org/request/show/711807
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=55
2019-06-25 14:44:52 +00:00
a77ab21ed5 Accepting request 710441 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/710441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=21
2019-06-20 16:54:17 +00:00
374241218a Accepting request 710440 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.0
  - Add support for python 3
  - Add support for 4k sector size
  - More API test coverage
  - Misc bug fixes and improvements
  - Dropped patches:
    revert-5d535c0d-py2.patch, sanlock-python3.patch

OBS-URL: https://build.opensuse.org/request/show/710440
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=53
2019-06-17 22:41:08 +00:00
4a6b7da2fd Accepting request 694650 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/694650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=20
2019-04-18 11:54:59 +00:00
de7daabe31 Accepting request 694649 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.7.1
  - Fix bugs in read_resource_owners

OBS-URL: https://build.opensuse.org/request/show/694649
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=51
2019-04-15 23:12:22 +00:00
240b14d4a2 Accepting request 687477 from Virtualization
- Update to sanlock 3.7.0
  - Allow setting max_sectors_kb
  - Configurable sector size and align size
  - Support SANLOCK_RUN_DIR and SANLOCK_PRIVILEGED environment
    variables
  - Revert upstream commit forcing use of python2
    revert-5d535c0d-py2.patch
  - Dropped patches:
    sanlock-old_blkid.patch, suse-fix-link-errors.patch

OBS-URL: https://build.opensuse.org/request/show/687477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=19
2019-03-26 14:36:13 +00:00
36fa89b3ff fixup of last changelog entry
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=49
2019-03-21 23:47:39 +00:00
2cebc825e8 Accepting request 687475 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.7.0
  - allow setting max_sectors_kb
  - configurable sector size and align size
  - support SANLOCK_RUN_DIR and SANLOCK_PRIVILEGED environment
    variables
  - Dropped patches:
    sanlock-old_blkid.patch, suse-fix-link-errors.patch

OBS-URL: https://build.opensuse.org/request/show/687475
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=48
2019-03-21 23:40:06 +00:00
a077a6c7ef Accepting request 591650 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/591650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=18
2018-03-30 09:59:27 +00:00
247b7370c5 Accepting request 591649 from home:jfehlig:branches:Virtualization
- Fix module initialization to work with both python2 and python3
  Updated sanlock-python3.patch
  bsc#1076414

- Add code to build with both python2 and python3 bindings with
  provided condition so we can later on optionalize python2 builds
  sanlock-python3.patch
  bsc#1076414

- Cleanup with spec-cleaner (only support SLE12 and newer)
- Add -fno-strict-aliasing to python subpkg
- Create rcsanlk-resetd link for the service control

OBS-URL: https://build.opensuse.org/request/show/591649
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=46
2018-03-27 14:48:02 +00:00
1d98460a27 Accepting request 554610 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/554610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=17
2017-12-12 20:16:54 +00:00
8ac03abb4b Accepting request 554609 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.6.0
  - preserve dblock values when setting shared flag
  - fix detection of shared lease
  - fix release interference with paxos
  - retry ballot when new lver is seen
  - add a NOWAIT flag for convert

OBS-URL: https://build.opensuse.org/request/show/554609
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=44
2017-12-05 19:02:08 +00:00
c81ce6d9a8 Accepting request 545093 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/545093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=16
2017-11-30 11:40:42 +00:00
543c4d586d Accepting request 544763 from home:RBrownSUSE:branches:Virtualization
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544763
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=42
2017-11-24 09:58:09 +00:00
07b5588ae0 Accepting request 501828 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/501828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=15
2017-06-17 08:20:31 +00:00
636a000737 Accepting request 501827 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.5.0
  - increase open file limit to 2048
  - add option to log UTC timestamps
  - doc improvements
- Remove support for old, non-systemd distros

OBS-URL: https://build.opensuse.org/request/show/501827
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=40
2017-06-07 23:24:30 +00:00
bc9afd6986 Accepting request 487143 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/487143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=14
2017-04-17 08:22:23 +00:00
223b9f24c8 Accepting request 486659 from home:jengelh:branches:Virtualization
- Remove redundant %if guards around %package and scriptlets.
  They are only really needed for %files.
- Replace $RPM_ shell vars by modern macros.
- Trim descriptions a little.

OBS-URL: https://build.opensuse.org/request/show/486659
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=38
2017-04-10 20:54:42 +00:00
2668dc91a9 fix typo in changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=37
2017-04-03 15:45:46 +00:00