SHA256
1
0
forked from pool/sanlock
Commit Graph

79 Commits

Author SHA256 Message Date
Ana Guerrero
ff0f70250a 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
James Fehlig
962ca41a53 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
James Fehlig
c92e3645b5 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
Ana Guerrero
be4d8e0b8f 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
James Fehlig
f32eec2dde - 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
Ana Guerrero
bcf2fdf68f 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
James Fehlig
323b8d88c9 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
Ana Guerrero
71d1288201 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
0070b9aaf8 - 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
Dominique Leuenberger
23862f0e93 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
James Fehlig
8bb7790de7 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
Dominique Leuenberger
40fe0b4e17 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
James Fehlig
28c58ae561 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
Dominique Leuenberger
21f2f03e2a 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
James Fehlig
728dc4e053 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
Dominique Leuenberger
d5c329ea75 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
James Fehlig
d0f2017906 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
Dominique Leuenberger
a723f1c2e8 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
James Fehlig
6bcd7e7869 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
Dominique Leuenberger
7afef6cd96 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
James Fehlig
64349bd16a 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
Dominique Leuenberger
7e5dbe3d06 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
James Fehlig
ba55dc992e 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
Dominique Leuenberger
4da1845315 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
James Fehlig
8a6b3be298 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
Dominique Leuenberger
dd3419f350 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
James Fehlig
c7a785ce92 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
Dominique Leuenberger
bf2a36eaab 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
James Fehlig
82b744757f 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
Dominique Leuenberger
67fd484a67 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
James Fehlig
9d5d31947e 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
James Fehlig
f7c6cf369e 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
Dominique Leuenberger
5d1ea11b82 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
James Fehlig
92e72bfed7 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
Dominique Leuenberger
5254a45602 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
James Fehlig
107c6db1f9 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
Dominique Leuenberger
b4bf2e00fa 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
c2aea8bfbf 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
Dominique Leuenberger
ef18ecc7bf 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
James Fehlig
9e6162062e 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
Yuchen Lin
ccea45f802 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
James Fehlig
95451a96b2 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
James Fehlig
534fe664ad 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
James Fehlig
88af9ec68d - spec: fix permisssions on config files
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=36
2017-04-03 15:44:34 +00:00
James Fehlig
a1a50e1c49 - Use System/Base in fence and reset subpackages
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=35
2017-04-03 15:32:51 +00:00
James Fehlig
9868a10d1e Accepting request 484795 from home:pluskalm:branches:Virtualization
- Use correct permissions on unit files (bsc#1032046)

OBS-URL: https://build.opensuse.org/request/show/484795
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=34
2017-04-03 15:26:48 +00:00
James Fehlig
a25cdb433d Accepting request 483281 from home:msmeissn:branches:Virtualization
- prerequire groupadd and useradd.

OBS-URL: https://build.opensuse.org/request/show/483281
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=33
2017-03-29 15:10:27 +00:00
Yuchen Lin
2acf14c748 Accepting request 482340 from Virtualization
Another Factory submission for sanlock. Supersedes 482020.

- Update to sanlock 3.4.0
- Enable fence_sanlockd so that lvm2 can use the new lvmlocked
  feature in cluster environment
  * fix unpackaged file - /usr/sbin/rcfence_sanlockd
  * refresh suse-no-date-time.patch to cover the same issue
    in fence_sanlockd
  * adjust fence_sanlockd.init and suse-systemd.patch
- Enable sanlk-reset subpackage 
- Fix "undefined symbol to io_suspend" at runtime, bsc#1030060
  suse-fix-link-errors.patch

- Add group disk as Prerequires

OBS-URL: https://build.opensuse.org/request/show/482340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=13
2017-03-29 11:21:47 +00:00
James Fehlig
4666b55e11 remove invalide URL prefix from sanlock tarball name
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=31
2017-03-23 17:00:01 +00:00
James Fehlig
99cb1fa5f7 sanlock sources moved to https://pagure.io/sanlock
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=30
2017-03-22 15:45:41 +00:00