From fc0a3413b3f7b9fd9d98a3219dc1e7c8869f846c Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 19 Nov 2024 00:29:03 +0100 Subject: [PATCH] Sync fork-load-daemon script with http-nbd-transfer (v1.5.0) Signed-off-by: Ronan Abhamon --- ...21cc248d79b749a63d4ad099e6d5f4b8b588.patch | 2 +- ...-sm.service-s-description-for-XCP-ng.patch | 2 +- .../0003-Add-TrueNAS-multipath-config.patch | 2 +- ...add-CephFS-GlusterFS-and-XFS-drivers.patch | 2 +- ...-ZFS-driver-to-avoid-losing-VDI-meta.patch | 2 +- ...driver-for-users-who-need-to-transit.patch | 2 +- ...07-feat-drivers-add-LinstorSR-driver.patch | 2 +- ...nit-tests-concerning-ZFS-close-xcp-n.patch | 2 +- ...no-NFS-ACLs-provided-assume-everyone.patch | 2 +- .../0010-Added-SM-Driver-for-MooseFS.patch | 2 +- ...mount-in-ISOSR-when-legacy_mode-is-u.patch | 2 +- ...SR-uses-now-UUID-subdirs-for-each-SR.patch | 2 +- ...Fix-is_open-call-for-many-drivers-25.patch | 2 +- ...HING-capability-for-many-SR-types-24.patch | 2 +- ...ve-SR_PROBE-from-ZFS-capabilities-37.patch | 2 +- ...ix-vdi-ref-when-static-vdis-are-used.patch | 2 +- ...-not-to-edit-multipath.conf-directly.patch | 2 +- ...om.conf-multipath-configuration-file.patch | 2 +- ...all-etc-multipath-conf.d-custom.conf.patch | 2 +- SOURCES/0020-Backport-NFS4-only-support.patch | 2 +- ...or-NFS4-when-rpcinfo-does-not-includ.patch | 2 +- ...Block-backport-of-largeblocksr-51-55.patch | 2 +- ...dd-a-way-to-modify-config-of-LVMs-56.patch | 2 +- ...-alarm-must-be-reset-in-case-of-succ.patch | 2 +- ...urns-the-result-of-user-function-now.patch | 2 +- ...e-pause-tag-from-VDIs-in-case-of-fai.patch | 2 +- ...pair-volumes-only-if-an-exclusive-co.patch | 2 +- ...instorSR-Improve-LINSTOR-performance.patch | 2 +- ...obustify-scan-to-avoid-losing-VDIs-i.patch | 2 +- ...isplay-a-correctly-readable-size-for.patch | 2 +- ...itord-scan-all-LINSTOR-SRs-every-12-.patch | 2 +- ...ll-correctly-method-in-_locked_load-.patch | 2 +- ...rSR-integrate-minidrbdcluster-daemon.patch | 2 +- ...nsure-heartbeat-and-redo_log-VDIs-ar.patch | 2 +- ...rotect-sr-commands-to-avoid-forgetti.patch | 2 +- ...aler-ensure-uri-is-not-None-during-l.patch | 2 +- ...dd-an-option-to-disable-auto-quorum-.patch | 2 +- ...eManager-add-a-workaround-to-create-.patch | 2 +- ...LinstorSR-add-optional-ips-parameter.patch | 2 +- ...dd-a-helper-log_drbd_erofs-to-trace-.patch | 2 +- ...y-to-restart-the-services-again-if-t.patch | 2 +- ...bustify-linstor-manager-to-never-inc.patch | 2 +- ...event-starting-controller-during-fai.patch | 2 +- ...meManager-increase-peer-slots-limit-.patch | 2 +- ...meManager-add-a-fallback-to-find-con.patch | 2 +- ...tor.mount-ensure-we-always-mount-dat.patch | 2 +- ...meManager-add-a-fallback-to-find-nod.patch | 2 +- ...xplain-on-which-host-plugins-command.patch | 2 +- ...eate-diskless-path-if-necessary-duri.patch | 2 +- ...se-HTTP-NBD-instead-of-DRBD-directly.patch | 2 +- ...nd-controller-when-XAPI-unreachable-.patch | 2 +- ...e-IPs-instead-of-hostnames-in-NBD-se.patch | 2 +- ...eManager-ensure-we-always-use-IPs-in.patch | 2 +- ...ager-add-methods-to-add-remove-host-.patch | 2 +- ...meManager-support-SR-creation-with-d.patch | 2 +- ...dd-a-config-var-to-disable-HTTP-NBD-.patch | 2 +- ...nsure-LVM-group-is-activated-during-.patch | 2 +- ...ager-add-method-to-create-LinstorSR-.patch | 2 +- ...ways-set-vdi_path-in-generate_config.patch | 2 +- ...ter-supports-new-properties-like-for.patch | 2 +- ...abled-disable-minidrbcluster-with-fi.patch | 2 +- ...ger-change-linstor-satellite-start-b.patch | 2 +- .../0063-Fix-is_open-call-for-LinstorSR.patch | 2 +- ...til-fix-boolean-params-of-check-call.patch | 2 +- ...tor-manager-robustify-exec_create_sr.patch | 2 +- ...t-LINSTOR-VDI-UUID-if-error-during-i.patch | 2 +- ...se-and-dump-DRBD-openers-in-case-of-.patch | 2 +- ...til-trace-DRBD-openers-in-case-of-ER.patch | 2 +- ...emanager-compute-correctly-size-in-a.patch | 2 +- ...se-DRBD-openers-instead-of-lsof-to-l.patch | 2 +- ...upport-cProfile-to-trace-calls-when-.patch | 2 +- ...aler-reset-namespace-when-get-is-cal.patch | 2 +- ...il-fix-coalesce-with-VM-running-unde.patch | 2 +- ...emanager-_get_volumes_info-doesn-t-r.patch | 2 +- ...emanager-remove-double-prefix-on-kv-.patch | 2 +- ...dd-linstor-kv-dump-helper-to-print-k.patch | 2 +- ...sable-VHD-key-hash-usage-to-limit-ex.patch | 2 +- ...ter-ensure-SIGINT-is-handled-correct.patch | 2 +- ...ster-stop-resource-services-at-start.patch | 2 +- ...ager-add-new-healthCheck-function-to.patch | 2 +- ...x-xha-conf-parsing-return-host-ip-no.patch | 2 +- ...art-correctly-HA-servers-HTTP-NBD-af.patch | 2 +- ...emanager-use-an-array-to-store-diskf.patch | 2 +- ...memanager-support-snaps-when-a-host-.patch | 2 +- ...emanager-support-offline-hosts-when-.patch | 2 +- ...emanager-define-_base_group_name-mem.patch | 2 +- ...til-modify-logic-of-local-vhdutil-ca.patch | 2 +- ...memanager-robustify-failed-snapshots.patch | 2 +- ...emanager-use-a-namespace-for-volumes.patch | 2 +- ...dump-rename-to-linstor-kv-tool-add-r.patch | 2 +- ...ndle-correctly-localhost-during-star.patch | 2 +- ...all-repair-on-another-host-when-EROF.patch | 2 +- ...void-introduction-of-DELETED-volumes.patch | 2 +- ...tool-remove-all-volumes-supports-jou.patch | 2 +- ...il-due-to-bad-refactoring-check-call.patch | 2 +- ...til-ensure-we-use-VHD-parent-to-find.patch | 2 +- ...memanager-force-DRBD-demote-after-fa.patch | 2 +- ...il-ensure-we-retry-creation-in-all-s.patch | 2 +- ...il-don-t-retry-local-vhdutil-call-wh.patch | 2 +- ...-feat-fork-log-daemon-ignore-SIGTERM.patch | 2 +- ...SR-wait-for-http-disk-server-startup.patch | 2 +- ...ndle-inflate-resize-actions-correctl.patch | 2 +- ...ger-add-a-static-iptables-rule-for-D.patch | 2 +- ...ync-with-last-http-nbd-transfer-vers.patch | 2 +- ...n-t-check-VDI-metadata-while-listing.patch | 2 +- ...n-t-check-metadata-when-destroying-s.patch | 2 +- ...il-handle-correctly-generic-exceptio.patch | 2 +- ...ter-robustify-to-unmount-correctly-L.patch | 2 +- ...ter-handle-correctly-KeyboardInterru.patch | 2 +- ...se-drbd-reactor-instead-of-minidrbdc.patch | 2 +- ...sure-vhdutil-calls-are-correctly-exe.patch | 2 +- ...eplace-bad-param-in-detach_thin-impl.patch | 2 +- ...lumemanager-remove-usage-of-realpath.patch | 2 +- ...vhdutil-avoid-parent-path-resolution.patch | 2 +- ...rSR-create-parent-path-during-attach.patch | 2 +- ...retry-if-we-can-t-build-volume-cache.patch | 2 +- ...emanager-reduce-peer-slots-param-to-.patch | 2 +- ...tach-a-valid-XAPI-session-is_open-is.patch | 2 +- ...sure-we-always-have-a-DRBD-path-to-s.patch | 2 +- ...fix-LinstorSR-remove-hosts-ips-param.patch | 2 +- ...mpute-correctly-SR-size-using-pool-c.patch | 2 +- ...re-we-can-import-this-module-when-LI.patch | 2 +- ...ensure-volume-cache-can-be-recreated.patch | 2 +- ...ger-remove-dead-useless-code-in-add-.patch | 2 +- ...sure-we-always-have-a-device-path-du.patch | 2 +- ...ways-use-lock.acquire-during-attach-.patch | 2 +- ...re-sure-hostnames-are-unique-at-SR-c.patch | 2 +- ...sure-we-can-attach-non-special-stati.patch | 2 +- ...sure-we-can-detach-when-deflate-call.patch | 2 +- ...sume-VDI-is-always-a-VHD-when-the-in.patch | 2 +- ...move-SR-lock-during-thin-attach-deta.patch | 2 +- ...sure-database-is-mounted-during-scan.patch | 2 +- ...start-drbd-reactor-in-case-of-failur.patch | 2 +- ...emanager-retry-in-case-of-failure-du.patch | 2 +- ...emanager-avoid-diskless-creation-whe.patch | 2 +- ...move-diskless-after-VDI.detach-calls.patch | 2 +- ...bustify-_load_vdi_info-in-cleanup.py.patch | 2 +- ...sure-detach-never-fails-on-plugin-fa.patch | 2 +- ...sure-we-coalesce-only-volumes-with-a.patch | 2 +- ...n-t-try-to-repair-persistent-volumes.patch | 2 +- ...il-format-correctly-message-if-vhd-u.patch | 2 +- ...wait-during-attach-to-open-DRBD-path.patch | 2 +- ...pport-different-volume-sizes-in-clea.patch | 2 +- ...rSR-remove-useless-IPS_XHA_CACHE-var.patch | 2 +- ...sure-we-can-deflate-on-any-host-afte.patch | 2 +- ...sure-we-always-use-real-DRBD-VHD-siz.patch | 2 +- ...tool-If-no-controller-uri-option-is-.patch | 2 +- ...olumemanager-robustify-SR-destroy-46.patch | 2 +- ...ager-extend-API-with-createNodeInter.patch | 2 +- ...-support-VDI.resize-on-thick-volumes.patch | 2 +- ...emanager-format-correctly-exception-.patch | 2 +- ...sure-we-can-skip-coalesces-if-device.patch | 2 +- ...ager-add-methods-to-modify-destroy-l.patch | 2 +- ...rce-a-defined-volume-prefix-if-we-ca.patch | 2 +- ...plicit-error-message-when-a-group-is.patch | 2 +- ...ke-sure-VDI.delete-doesn-t-throw-und.patch | 2 +- ...d-drbd-in-the-blacklist-of-multipath.patch | 2 +- ...emanager-create-cloned-volumes-on-ho.patch | 2 +- ...emanager-don-t-align-volumes-on-LVM-.patch | 2 +- ...emanager-assert-with-message-after-l.patch | 2 +- ...emanager-retry-resize-if-volume-is-n.patch | 2 +- ...eate-DRBD-diskless-if-necessary-for-.patch | 2 +- ...x-bad-call-to-vhdutil.inflate-bad-ex.patch | 2 +- ...tivate-VG-if-attach-from-config-is-a.patch | 2 +- ...se-a-specific-resource-group-for-DB-.patch | 2 +- ...ager-add-getNodePreferredInterface-h.patch | 2 +- ...emanager-blocks-deletion-of-default-.patch | 2 +- ...memanager-change-logic-of-get_resour.patch | 2 +- ...ager-add-error-codes-to-healthCheck-.patch | 2 +- ...x-bad-exception-reference-during-sna.patch | 2 +- ...e-ensure-LINSTOR-VHD-chain-is-availa.patch | 2 +- ...il-retry-check-on-another-machine-in.patch | 2 +- ...plicit-errors-when-database-path-is-.patch | 2 +- ...-fix-LinstorSR-Misc-fixes-on-destroy.patch | 2 +- ...en-non-leaf-volumes-in-RO-mode-creat.patch | 2 +- ...orSR-ensure-_is_master-is-always-set.patch | 2 +- ...r-check-if-resource-is-tiebreaker-62.patch | 2 +- ...nc-fork-load-daemon-with-http-nbd-tr.patch | 36 +++++++++++++++++++ SPECS/sm.spec | 6 +++- 179 files changed, 218 insertions(+), 178 deletions(-) create mode 100644 SOURCES/0178-fix-LinstorSR-sync-fork-load-daemon-with-http-nbd-tr.patch diff --git a/SOURCES/0001-backport-of-ccd121cc248d79b749a63d4ad099e6d5f4b8b588.patch b/SOURCES/0001-backport-of-ccd121cc248d79b749a63d4ad099e6d5f4b8b588.patch index a2b7013..020e1a5 100644 --- a/SOURCES/0001-backport-of-ccd121cc248d79b749a63d4ad099e6d5f4b8b588.patch +++ b/SOURCES/0001-backport-of-ccd121cc248d79b749a63d4ad099e6d5f4b8b588.patch @@ -1,7 +1,7 @@ From 705a6d9deed2ba862577681fc54df144060f3816 Mon Sep 17 00:00:00 2001 From: Mark Syms Date: Thu, 20 May 2021 17:40:06 +0100 -Subject: [PATCH 001/177] backport of ccd121cc248d79b749a63d4ad099e6d5f4b8b588: +Subject: [PATCH 001/178] backport of ccd121cc248d79b749a63d4ad099e6d5f4b8b588: CA-354692: check for device parameter in create/probe calls Signed-off-by: Mark Syms diff --git a/SOURCES/0002-Update-xs-sm.service-s-description-for-XCP-ng.patch b/SOURCES/0002-Update-xs-sm.service-s-description-for-XCP-ng.patch index 9196a6b..18945cb 100644 --- a/SOURCES/0002-Update-xs-sm.service-s-description-for-XCP-ng.patch +++ b/SOURCES/0002-Update-xs-sm.service-s-description-for-XCP-ng.patch @@ -1,7 +1,7 @@ From fd898b82d880619f0acd9d1b8f1d55b3967bc339 Mon Sep 17 00:00:00 2001 From: Samuel Verschelde Date: Thu, 13 Aug 2020 15:22:17 +0200 -Subject: [PATCH 002/177] Update xs-sm.service's description for XCP-ng +Subject: [PATCH 002/178] Update xs-sm.service's description for XCP-ng This was a patch added to the sm RPM git repo before we had this forked git repo for sm in the xcp-ng github organisation. diff --git a/SOURCES/0003-Add-TrueNAS-multipath-config.patch b/SOURCES/0003-Add-TrueNAS-multipath-config.patch index 964e197..adf5c0c 100644 --- a/SOURCES/0003-Add-TrueNAS-multipath-config.patch +++ b/SOURCES/0003-Add-TrueNAS-multipath-config.patch @@ -1,7 +1,7 @@ From bd709621897bda8d9f14820fb3d52eecfe51facb Mon Sep 17 00:00:00 2001 From: Samuel Verschelde Date: Thu, 13 Aug 2020 15:26:43 +0200 -Subject: [PATCH 003/177] Add TrueNAS multipath config +Subject: [PATCH 003/178] Add TrueNAS multipath config This was a patch added to the sm RPM git repo before we had this forked git repo for sm in the xcp-ng github organisation. diff --git a/SOURCES/0004-feat-drivers-add-CephFS-GlusterFS-and-XFS-drivers.patch b/SOURCES/0004-feat-drivers-add-CephFS-GlusterFS-and-XFS-drivers.patch index b9155b8..58a703f 100644 --- a/SOURCES/0004-feat-drivers-add-CephFS-GlusterFS-and-XFS-drivers.patch +++ b/SOURCES/0004-feat-drivers-add-CephFS-GlusterFS-and-XFS-drivers.patch @@ -1,7 +1,7 @@ From 574897552a11af6fc92e145df0bacb42a2ac6b53 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 20 Jul 2020 16:26:42 +0200 -Subject: [PATCH 004/177] feat(drivers): add CephFS, GlusterFS and XFS drivers +Subject: [PATCH 004/178] feat(drivers): add CephFS, GlusterFS and XFS drivers --- Makefile | 3 + diff --git a/SOURCES/0005-feat-drivers-add-ZFS-driver-to-avoid-losing-VDI-meta.patch b/SOURCES/0005-feat-drivers-add-ZFS-driver-to-avoid-losing-VDI-meta.patch index a72163d..1b13925 100644 --- a/SOURCES/0005-feat-drivers-add-ZFS-driver-to-avoid-losing-VDI-meta.patch +++ b/SOURCES/0005-feat-drivers-add-ZFS-driver-to-avoid-losing-VDI-meta.patch @@ -1,7 +1,7 @@ From 3a948fe3ff75146c3a9c960768ca4791c109a6b6 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 12 Aug 2020 11:14:33 +0200 -Subject: [PATCH 005/177] feat(drivers): add ZFS driver to avoid losing VDI +Subject: [PATCH 005/178] feat(drivers): add ZFS driver to avoid losing VDI metadata (xcp-ng/xcp#401) --- diff --git a/SOURCES/0006-Re-add-the-ext4-driver-for-users-who-need-to-transit.patch b/SOURCES/0006-Re-add-the-ext4-driver-for-users-who-need-to-transit.patch index 8e6b31c..1be3c7f 100644 --- a/SOURCES/0006-Re-add-the-ext4-driver-for-users-who-need-to-transit.patch +++ b/SOURCES/0006-Re-add-the-ext4-driver-for-users-who-need-to-transit.patch @@ -1,7 +1,7 @@ From 8b1962f5d6d8b092525e94241df033e4a78872b1 Mon Sep 17 00:00:00 2001 From: Samuel Verschelde Date: Thu, 13 Aug 2020 17:10:12 +0200 -Subject: [PATCH 006/177] Re-add the ext4 driver for users who need to +Subject: [PATCH 006/178] Re-add the ext4 driver for users who need to transition The driver is needed to transition to the ext driver. diff --git a/SOURCES/0007-feat-drivers-add-LinstorSR-driver.patch b/SOURCES/0007-feat-drivers-add-LinstorSR-driver.patch index 0922edc..98e0bbc 100644 --- a/SOURCES/0007-feat-drivers-add-LinstorSR-driver.patch +++ b/SOURCES/0007-feat-drivers-add-LinstorSR-driver.patch @@ -1,7 +1,7 @@ From 9b836e9e503354796a7f975bb44f10a0920f33e3 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 16 Mar 2020 15:39:44 +0100 -Subject: [PATCH 007/177] feat(drivers): add LinstorSR driver +Subject: [PATCH 007/178] feat(drivers): add LinstorSR driver Some important points: diff --git a/SOURCES/0008-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch b/SOURCES/0008-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch index 3423d8c..0e96278 100644 --- a/SOURCES/0008-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch +++ b/SOURCES/0008-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch @@ -1,7 +1,7 @@ From c756b29ce80da0cd38f88bbaaddf4e1130962af9 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 27 Oct 2020 15:04:36 +0100 -Subject: [PATCH 008/177] feat(tests): add unit tests concerning ZFS (close +Subject: [PATCH 008/178] feat(tests): add unit tests concerning ZFS (close xcp-ng/xcp#425) - Check if "create" doesn't succeed without zfs packages diff --git a/SOURCES/0009-If-no-NFS-ACLs-provided-assume-everyone.patch b/SOURCES/0009-If-no-NFS-ACLs-provided-assume-everyone.patch index 40daa32..6f04d83 100644 --- a/SOURCES/0009-If-no-NFS-ACLs-provided-assume-everyone.patch +++ b/SOURCES/0009-If-no-NFS-ACLs-provided-assume-everyone.patch @@ -1,7 +1,7 @@ From c4402ded6d0dd748435c621c7d7840cb7886bc3f Mon Sep 17 00:00:00 2001 From: BenjiReis Date: Thu, 25 Feb 2021 09:54:52 +0100 -Subject: [PATCH 009/177] If no NFS ACLs provided, assume everyone: +Subject: [PATCH 009/178] If no NFS ACLs provided, assume everyone: Some QNAP devices do not provide ACL when fetching NFS mounts. In this case the assumed ACL should be: "*". diff --git a/SOURCES/0010-Added-SM-Driver-for-MooseFS.patch b/SOURCES/0010-Added-SM-Driver-for-MooseFS.patch index 3eeb282..69652e1 100644 --- a/SOURCES/0010-Added-SM-Driver-for-MooseFS.patch +++ b/SOURCES/0010-Added-SM-Driver-for-MooseFS.patch @@ -1,7 +1,7 @@ From ba6e2bace64965d7d9f89e6dd9a94bf22ae075a2 Mon Sep 17 00:00:00 2001 From: Aleksander Wieliczko Date: Fri, 29 Jan 2021 15:21:23 +0100 -Subject: [PATCH 010/177] Added SM Driver for MooseFS +Subject: [PATCH 010/178] Added SM Driver for MooseFS Co-authored-by: Piotr Robert Konopelko Signed-off-by: Aleksander Wieliczko diff --git a/SOURCES/0011-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch b/SOURCES/0011-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch index 742662f..784a7cb 100644 --- a/SOURCES/0011-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch +++ b/SOURCES/0011-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch @@ -1,7 +1,7 @@ From dc7619735961b1fc0b7075cdc02ba375b76aa011 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 2 Dec 2021 09:28:37 +0100 -Subject: [PATCH 011/177] Avoid usage of `umount` in `ISOSR` when `legacy_mode` +Subject: [PATCH 011/178] Avoid usage of `umount` in `ISOSR` when `legacy_mode` is used `umount` should not be called when `legacy_mode` is enabled, otherwise a mounted dir diff --git a/SOURCES/0012-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch b/SOURCES/0012-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch index b585471..27bf4c8 100644 --- a/SOURCES/0012-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch +++ b/SOURCES/0012-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch @@ -1,7 +1,7 @@ From a1341e33251ec40a12e0971ffeda8b935af0be93 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 18 May 2022 17:28:09 +0200 -Subject: [PATCH 012/177] MooseFS SR uses now UUID subdirs for each SR +Subject: [PATCH 012/178] MooseFS SR uses now UUID subdirs for each SR A sm-config boolean param `subdir` is available to configure where to store the VHDs: - In a subdir with the SR UUID, the new behavior diff --git a/SOURCES/0013-Fix-is_open-call-for-many-drivers-25.patch b/SOURCES/0013-Fix-is_open-call-for-many-drivers-25.patch index 08603e9..e3b6f05 100644 --- a/SOURCES/0013-Fix-is_open-call-for-many-drivers-25.patch +++ b/SOURCES/0013-Fix-is_open-call-for-many-drivers-25.patch @@ -1,7 +1,7 @@ From 58c1e5a82d1b943a94a1524e52fd8bf43e916e3e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 23 Jun 2022 10:36:36 +0200 -Subject: [PATCH 013/177] Fix is_open call for many drivers (#25) +Subject: [PATCH 013/178] Fix is_open call for many drivers (#25) Ensure all shared drivers are imported in `_is_open` definition to register them in the driver list. Otherwise this function always fails with a SRUnknownType exception. diff --git a/SOURCES/0014-Remove-SR_CACHING-capability-for-many-SR-types-24.patch b/SOURCES/0014-Remove-SR_CACHING-capability-for-many-SR-types-24.patch index 26dba93..00a4688 100644 --- a/SOURCES/0014-Remove-SR_CACHING-capability-for-many-SR-types-24.patch +++ b/SOURCES/0014-Remove-SR_CACHING-capability-for-many-SR-types-24.patch @@ -1,7 +1,7 @@ From 9d45a0e68acbcaec82a36c74f91dfa176b4fc7bf Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 23 Jun 2022 10:37:07 +0200 -Subject: [PATCH 014/177] Remove SR_CACHING capability for many SR types (#24) +Subject: [PATCH 014/178] Remove SR_CACHING capability for many SR types (#24) SR_CACHING offers the capacity to use IntelliCache, but this feature is only available using NFS SR. diff --git a/SOURCES/0015-Remove-SR_PROBE-from-ZFS-capabilities-37.patch b/SOURCES/0015-Remove-SR_PROBE-from-ZFS-capabilities-37.patch index 6495bd2..174e411 100644 --- a/SOURCES/0015-Remove-SR_PROBE-from-ZFS-capabilities-37.patch +++ b/SOURCES/0015-Remove-SR_PROBE-from-ZFS-capabilities-37.patch @@ -1,7 +1,7 @@ From ee2433b00bea733c8ec0d294ffb476e04e7e5bdb Mon Sep 17 00:00:00 2001 From: BenjiReis Date: Fri, 4 Aug 2023 12:10:08 +0200 -Subject: [PATCH 015/177] Remove `SR_PROBE` from ZFS capabilities (#37) +Subject: [PATCH 015/178] Remove `SR_PROBE` from ZFS capabilities (#37) The probe method is not implemented so we shouldn't advertise it. diff --git a/SOURCES/0016-Fix-vdi-ref-when-static-vdis-are-used.patch b/SOURCES/0016-Fix-vdi-ref-when-static-vdis-are-used.patch index a7d03f4..1699556 100644 --- a/SOURCES/0016-Fix-vdi-ref-when-static-vdis-are-used.patch +++ b/SOURCES/0016-Fix-vdi-ref-when-static-vdis-are-used.patch @@ -1,7 +1,7 @@ From a14e7dbb656f0c722e85cacf4ad658695e086502 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Wed, 16 Aug 2023 13:42:21 +0200 -Subject: [PATCH 016/177] Fix vdi-ref when static vdis are used +Subject: [PATCH 016/178] Fix vdi-ref when static vdis are used When static vdis are used there is no snapshots and we don't want to call method from XAPI. diff --git a/SOURCES/0017-Tell-users-not-to-edit-multipath.conf-directly.patch b/SOURCES/0017-Tell-users-not-to-edit-multipath.conf-directly.patch index 9c34993..7c2b688 100644 --- a/SOURCES/0017-Tell-users-not-to-edit-multipath.conf-directly.patch +++ b/SOURCES/0017-Tell-users-not-to-edit-multipath.conf-directly.patch @@ -1,7 +1,7 @@ From 1cf0c93a4e8c1de3688115954a8d4a8d4c25830d Mon Sep 17 00:00:00 2001 From: Samuel Verschelde Date: Fri, 27 Jan 2023 12:03:15 +0100 -Subject: [PATCH 017/177] Tell users not to edit multipath.conf directly +Subject: [PATCH 017/178] Tell users not to edit multipath.conf directly This file is meant to remain unchanged and regularly updated along with the SM component. Users can create a custom configuration file in diff --git a/SOURCES/0018-Add-custom.conf-multipath-configuration-file.patch b/SOURCES/0018-Add-custom.conf-multipath-configuration-file.patch index 3f7b1db..d2d5a66 100644 --- a/SOURCES/0018-Add-custom.conf-multipath-configuration-file.patch +++ b/SOURCES/0018-Add-custom.conf-multipath-configuration-file.patch @@ -1,7 +1,7 @@ From c8e7d59b6c9b68f9e5ef89d0ad87c157bb35c736 Mon Sep 17 00:00:00 2001 From: Samuel Verschelde Date: Fri, 27 Jan 2023 12:23:13 +0100 -Subject: [PATCH 018/177] Add custom.conf multipath configuration file +Subject: [PATCH 018/178] Add custom.conf multipath configuration file Meant to be installed as /etc/multipath/conf.d/custom.conf for users to have an easy entry point for editing, as well as information on what diff --git a/SOURCES/0019-Install-etc-multipath-conf.d-custom.conf.patch b/SOURCES/0019-Install-etc-multipath-conf.d-custom.conf.patch index 7828c76..4b02bc5 100644 --- a/SOURCES/0019-Install-etc-multipath-conf.d-custom.conf.patch +++ b/SOURCES/0019-Install-etc-multipath-conf.d-custom.conf.patch @@ -1,7 +1,7 @@ From 81b847dca6a48d73936592820a1a7b88ae1ff5cc Mon Sep 17 00:00:00 2001 From: Samuel Verschelde Date: Fri, 25 Aug 2023 17:47:34 +0200 -Subject: [PATCH 019/177] Install /etc/multipath/conf.d/custom.conf +Subject: [PATCH 019/178] Install /etc/multipath/conf.d/custom.conf Update Makefile so that the file is installed along with sm. diff --git a/SOURCES/0020-Backport-NFS4-only-support.patch b/SOURCES/0020-Backport-NFS4-only-support.patch index 617581e..11b4e26 100644 --- a/SOURCES/0020-Backport-NFS4-only-support.patch +++ b/SOURCES/0020-Backport-NFS4-only-support.patch @@ -1,7 +1,7 @@ From fe5a7b355ea6820036cfeef3847b2bec28567632 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Mon, 18 Dec 2023 10:22:26 +0100 -Subject: [PATCH 020/177] Backport NFS4 only support +Subject: [PATCH 020/178] Backport NFS4 only support See: https://github.com/xapi-project/sm/pull/617 diff --git a/SOURCES/0021-Backport-probe-for-NFS4-when-rpcinfo-does-not-includ.patch b/SOURCES/0021-Backport-probe-for-NFS4-when-rpcinfo-does-not-includ.patch index cb61536..d905094 100644 --- a/SOURCES/0021-Backport-probe-for-NFS4-when-rpcinfo-does-not-includ.patch +++ b/SOURCES/0021-Backport-probe-for-NFS4-when-rpcinfo-does-not-includ.patch @@ -1,7 +1,7 @@ From eea13526d4e202e395d1a4289f837b0171a73b8e Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Mon, 18 Dec 2023 10:35:46 +0100 -Subject: [PATCH 021/177] Backport probe for NFS4 when rpcinfo does not include +Subject: [PATCH 021/178] Backport probe for NFS4 when rpcinfo does not include it See: https://github.com/xapi-project/sm/pull/655 diff --git a/SOURCES/0022-feat-LargeBlock-backport-of-largeblocksr-51-55.patch b/SOURCES/0022-feat-LargeBlock-backport-of-largeblocksr-51-55.patch index 325761b..6c6d089 100644 --- a/SOURCES/0022-feat-LargeBlock-backport-of-largeblocksr-51-55.patch +++ b/SOURCES/0022-feat-LargeBlock-backport-of-largeblocksr-51-55.patch @@ -1,7 +1,7 @@ From 05e5ce03d6fd4523a942345cf49cc41eebaa78f7 Mon Sep 17 00:00:00 2001 From: Damien Thenot Date: Tue, 7 May 2024 15:20:22 +0200 -Subject: [PATCH 022/177] feat(LargeBlock): backport of largeblocksr (#51) +Subject: [PATCH 022/178] feat(LargeBlock): backport of largeblocksr (#51) (#55) A SR inheriting from a EXTSR allowing to use a 4KiB blocksize device as diff --git a/SOURCES/0023-feat-LVHDSR-add-a-way-to-modify-config-of-LVMs-56.patch b/SOURCES/0023-feat-LVHDSR-add-a-way-to-modify-config-of-LVMs-56.patch index 0b71988..35e861b 100644 --- a/SOURCES/0023-feat-LVHDSR-add-a-way-to-modify-config-of-LVMs-56.patch +++ b/SOURCES/0023-feat-LVHDSR-add-a-way-to-modify-config-of-LVMs-56.patch @@ -1,7 +1,7 @@ From bc8ee2e18aa6ba1a8923c09ff0d765f931ddc348 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 28 May 2024 15:17:21 +0200 -Subject: [PATCH 023/177] feat(LVHDSR): add a way to modify config of LVMs +Subject: [PATCH 023/178] feat(LVHDSR): add a way to modify config of LVMs (#56) With this change the driver supports a "lvm-conf" param on "other-config". diff --git a/SOURCES/0024-Fix-timeout_call-alarm-must-be-reset-in-case-of-succ.patch b/SOURCES/0024-Fix-timeout_call-alarm-must-be-reset-in-case-of-succ.patch index fed5680..617bf60 100644 --- a/SOURCES/0024-Fix-timeout_call-alarm-must-be-reset-in-case-of-succ.patch +++ b/SOURCES/0024-Fix-timeout_call-alarm-must-be-reset-in-case-of-succ.patch @@ -1,7 +1,7 @@ From f76ccb66f769ca352bf1dea9abdaaea5ec1b7942 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 16 Feb 2022 18:24:56 +0100 -Subject: [PATCH 024/177] Fix timeout_call: alarm must be reset in case of +Subject: [PATCH 024/178] Fix timeout_call: alarm must be reset in case of success Otherwise the SIGALRM signal can be emitted after the execution diff --git a/SOURCES/0025-timeout_call-returns-the-result-of-user-function-now.patch b/SOURCES/0025-timeout_call-returns-the-result-of-user-function-now.patch index d984c17..4559ab3 100644 --- a/SOURCES/0025-timeout_call-returns-the-result-of-user-function-now.patch +++ b/SOURCES/0025-timeout_call-returns-the-result-of-user-function-now.patch @@ -1,7 +1,7 @@ From 3db6e67815f3c85768cf253e3d78d01c416fc16f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 16 Feb 2022 18:28:06 +0100 -Subject: [PATCH 025/177] timeout_call returns the result of user function now +Subject: [PATCH 025/178] timeout_call returns the result of user function now Signed-off-by: Ronan Abhamon --- diff --git a/SOURCES/0026-Always-remove-the-pause-tag-from-VDIs-in-case-of-fai.patch b/SOURCES/0026-Always-remove-the-pause-tag-from-VDIs-in-case-of-fai.patch index c729d4f..391c14c 100644 --- a/SOURCES/0026-Always-remove-the-pause-tag-from-VDIs-in-case-of-fai.patch +++ b/SOURCES/0026-Always-remove-the-pause-tag-from-VDIs-in-case-of-fai.patch @@ -1,7 +1,7 @@ From 7ebdef745b90fe8479555bc44d8d7ce594fc209f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 5 Feb 2024 23:16:16 +0100 -Subject: [PATCH 026/177] Always remove the pause tag from VDIs in case of +Subject: [PATCH 026/178] Always remove the pause tag from VDIs in case of failure During VDI activation in the blktap module and in case of failure diff --git a/SOURCES/0027-fix-LinstorSR-repair-volumes-only-if-an-exclusive-co.patch b/SOURCES/0027-fix-LinstorSR-repair-volumes-only-if-an-exclusive-co.patch index 41fa7ed..0c253a2 100644 --- a/SOURCES/0027-fix-LinstorSR-repair-volumes-only-if-an-exclusive-co.patch +++ b/SOURCES/0027-fix-LinstorSR-repair-volumes-only-if-an-exclusive-co.patch @@ -1,7 +1,7 @@ From e3f11afdfdc43aa871a7d4f8c6d25564150fd0e4 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 20 Nov 2020 16:42:52 +0100 -Subject: [PATCH 027/177] fix(LinstorSR): repair volumes only if an exclusive +Subject: [PATCH 027/178] fix(LinstorSR): repair volumes only if an exclusive command is executed Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0028-feat-LinstorSR-Improve-LINSTOR-performance.patch b/SOURCES/0028-feat-LinstorSR-Improve-LINSTOR-performance.patch index 41d83d6..8df45ad 100644 --- a/SOURCES/0028-feat-LinstorSR-Improve-LINSTOR-performance.patch +++ b/SOURCES/0028-feat-LinstorSR-Improve-LINSTOR-performance.patch @@ -1,7 +1,7 @@ From fa743060d859c6bcdff75293bfee749b3eaf734c Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 10 Dec 2020 17:56:15 +0100 -Subject: [PATCH 028/177] feat(LinstorSR): Improve LINSTOR performance +Subject: [PATCH 028/178] feat(LinstorSR): Improve LINSTOR performance Details: - vdi_attach and vdi_detach are now exclusive diff --git a/SOURCES/0029-feat-LinstorSR-robustify-scan-to-avoid-losing-VDIs-i.patch b/SOURCES/0029-feat-LinstorSR-robustify-scan-to-avoid-losing-VDIs-i.patch index 5aa1fef..04b3d82 100644 --- a/SOURCES/0029-feat-LinstorSR-robustify-scan-to-avoid-losing-VDIs-i.patch +++ b/SOURCES/0029-feat-LinstorSR-robustify-scan-to-avoid-losing-VDIs-i.patch @@ -1,7 +1,7 @@ From 045d23321e99b135556cb3d9872c1f3c8ae4b9af Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 7 Jan 2021 11:17:08 +0100 -Subject: [PATCH 029/177] feat(LinstorSR): robustify scan to avoid losing VDIs +Subject: [PATCH 029/178] feat(LinstorSR): robustify scan to avoid losing VDIs if function is called outside module Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0030-feat-LinstorSR-display-a-correctly-readable-size-for.patch b/SOURCES/0030-feat-LinstorSR-display-a-correctly-readable-size-for.patch index 5819a4c..8ad25b4 100644 --- a/SOURCES/0030-feat-LinstorSR-display-a-correctly-readable-size-for.patch +++ b/SOURCES/0030-feat-LinstorSR-display-a-correctly-readable-size-for.patch @@ -1,7 +1,7 @@ From 6594b0cfd56df7d8beed5442b7932e6d46623f5f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 8 Jan 2021 16:12:15 +0100 -Subject: [PATCH 030/177] feat(LinstorSR): display a correctly readable size +Subject: [PATCH 030/178] feat(LinstorSR): display a correctly readable size for the user Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0031-feat-linstor-monitord-scan-all-LINSTOR-SRs-every-12-.patch b/SOURCES/0031-feat-linstor-monitord-scan-all-LINSTOR-SRs-every-12-.patch index 4e9cdd8..d2e81ef 100644 --- a/SOURCES/0031-feat-linstor-monitord-scan-all-LINSTOR-SRs-every-12-.patch +++ b/SOURCES/0031-feat-linstor-monitord-scan-all-LINSTOR-SRs-every-12-.patch @@ -1,7 +1,7 @@ From bf497ab757571bdb722323cfb98aaa500ec68c44 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 12 Jan 2021 14:06:34 +0100 -Subject: [PATCH 031/177] feat(linstor-monitord): scan all LINSTOR SRs every 12 +Subject: [PATCH 031/178] feat(linstor-monitord): scan all LINSTOR SRs every 12 minutes to update allocated size stats Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0032-fix-LinstorSR-call-correctly-method-in-_locked_load-.patch b/SOURCES/0032-fix-LinstorSR-call-correctly-method-in-_locked_load-.patch index 8ab48d0..5acfdb4 100644 --- a/SOURCES/0032-fix-LinstorSR-call-correctly-method-in-_locked_load-.patch +++ b/SOURCES/0032-fix-LinstorSR-call-correctly-method-in-_locked_load-.patch @@ -1,7 +1,7 @@ From 4d41a373da1b9e62d727553cc16f994362d7c5d2 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 15 Jan 2021 17:01:05 +0100 -Subject: [PATCH 032/177] fix(LinstorSR): call correctly method in _locked_load +Subject: [PATCH 032/178] fix(LinstorSR): call correctly method in _locked_load when vdi_attach_from_config is executed Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0033-feat-LinstorSR-integrate-minidrbdcluster-daemon.patch b/SOURCES/0033-feat-LinstorSR-integrate-minidrbdcluster-daemon.patch index 39b492c..d27f030 100644 --- a/SOURCES/0033-feat-LinstorSR-integrate-minidrbdcluster-daemon.patch +++ b/SOURCES/0033-feat-LinstorSR-integrate-minidrbdcluster-daemon.patch @@ -1,7 +1,7 @@ From 2390152b1ccf081874356ded5ee9ae5bad0f00b6 Mon Sep 17 00:00:00 2001 From: Wescoeur Date: Wed, 20 Jan 2021 18:04:26 +0100 -Subject: [PATCH 033/177] feat(LinstorSR): integrate minidrbdcluster daemon +Subject: [PATCH 033/178] feat(LinstorSR): integrate minidrbdcluster daemon Now, we can: - Start a controller on any node diff --git a/SOURCES/0034-feat-LinstorSR-ensure-heartbeat-and-redo_log-VDIs-ar.patch b/SOURCES/0034-feat-LinstorSR-ensure-heartbeat-and-redo_log-VDIs-ar.patch index f195b50..1a6d5c1 100644 --- a/SOURCES/0034-feat-LinstorSR-ensure-heartbeat-and-redo_log-VDIs-ar.patch +++ b/SOURCES/0034-feat-LinstorSR-ensure-heartbeat-and-redo_log-VDIs-ar.patch @@ -1,7 +1,7 @@ From 392a7fc2cefde386c048c2daf1250d3b6fc70584 Mon Sep 17 00:00:00 2001 From: Wescoeur Date: Wed, 24 Feb 2021 11:17:23 +0100 -Subject: [PATCH 034/177] feat(LinstorSR): ensure heartbeat and redo_log VDIs +Subject: [PATCH 034/178] feat(LinstorSR): ensure heartbeat and redo_log VDIs are not diskless Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0035-feat-LinstorSR-protect-sr-commands-to-avoid-forgetti.patch b/SOURCES/0035-feat-LinstorSR-protect-sr-commands-to-avoid-forgetti.patch index c00f3a2..d9baf4c 100644 --- a/SOURCES/0035-feat-LinstorSR-protect-sr-commands-to-avoid-forgetti.patch +++ b/SOURCES/0035-feat-LinstorSR-protect-sr-commands-to-avoid-forgetti.patch @@ -1,7 +1,7 @@ From ad4076e7333d047a54a0fb6055d9b00d9030ae28 Mon Sep 17 00:00:00 2001 From: Wescoeur Date: Thu, 25 Feb 2021 17:52:57 +0100 -Subject: [PATCH 035/177] feat(LinstorSR): protect sr commands to avoid +Subject: [PATCH 035/178] feat(LinstorSR): protect sr commands to avoid forgetting LINSTOR volumes when master satellite is down Steps to reproduce: diff --git a/SOURCES/0036-fix-LinstorJournaler-ensure-uri-is-not-None-during-l.patch b/SOURCES/0036-fix-LinstorJournaler-ensure-uri-is-not-None-during-l.patch index 541b7f3..736e82a 100644 --- a/SOURCES/0036-fix-LinstorJournaler-ensure-uri-is-not-None-during-l.patch +++ b/SOURCES/0036-fix-LinstorJournaler-ensure-uri-is-not-None-during-l.patch @@ -1,7 +1,7 @@ From dba2e9c951a47c4193a779a934c5a2d415675b10 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 8 Mar 2021 13:25:28 +0100 -Subject: [PATCH 036/177] fix(LinstorJournaler): ensure uri is not None during +Subject: [PATCH 036/178] fix(LinstorJournaler): ensure uri is not None during linstor.KV creation Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0037-feat-LinstorSR-add-an-option-to-disable-auto-quorum-.patch b/SOURCES/0037-feat-LinstorSR-add-an-option-to-disable-auto-quorum-.patch index 6a27038..5ce4c56 100644 --- a/SOURCES/0037-feat-LinstorSR-add-an-option-to-disable-auto-quorum-.patch +++ b/SOURCES/0037-feat-LinstorSR-add-an-option-to-disable-auto-quorum-.patch @@ -1,7 +1,7 @@ From 70bb114f08a6957946ab653bef674d5cbe870998 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 22 Mar 2021 17:32:26 +0100 -Subject: [PATCH 037/177] feat(LinstorSR): add an option to disable auto-quorum +Subject: [PATCH 037/178] feat(LinstorSR): add an option to disable auto-quorum on volume DB + fix doc Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0038-fix-LinstorVolumeManager-add-a-workaround-to-create-.patch b/SOURCES/0038-fix-LinstorVolumeManager-add-a-workaround-to-create-.patch index f391aed..a4c7e1e 100644 --- a/SOURCES/0038-fix-LinstorVolumeManager-add-a-workaround-to-create-.patch +++ b/SOURCES/0038-fix-LinstorVolumeManager-add-a-workaround-to-create-.patch @@ -1,7 +1,7 @@ From 5144ab80e4ec0af9e7c23c9ef508390b4900d1fd Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 23 Mar 2021 14:49:39 +0100 -Subject: [PATCH 038/177] fix(LinstorVolumeManager): add a workaround to create +Subject: [PATCH 038/178] fix(LinstorVolumeManager): add a workaround to create properly SR with thin LVM Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0039-feat-LinstorSR-add-optional-ips-parameter.patch b/SOURCES/0039-feat-LinstorSR-add-optional-ips-parameter.patch index f295b8e..eb18a51 100644 --- a/SOURCES/0039-feat-LinstorSR-add-optional-ips-parameter.patch +++ b/SOURCES/0039-feat-LinstorSR-add-optional-ips-parameter.patch @@ -1,7 +1,7 @@ From c888113ede59c03474468767d28df14cb0e0bf73 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 24 Mar 2021 10:06:58 +0100 -Subject: [PATCH 039/177] feat(LinstorSR): add optional ips parameter +Subject: [PATCH 039/178] feat(LinstorSR): add optional ips parameter Signed-off-by: Ronan Abhamon --- diff --git a/SOURCES/0040-feat-LinstorSR-add-a-helper-log_drbd_erofs-to-trace-.patch b/SOURCES/0040-feat-LinstorSR-add-a-helper-log_drbd_erofs-to-trace-.patch index 8cb5675..32aead7 100644 --- a/SOURCES/0040-feat-LinstorSR-add-a-helper-log_drbd_erofs-to-trace-.patch +++ b/SOURCES/0040-feat-LinstorSR-add-a-helper-log_drbd_erofs-to-trace-.patch @@ -1,7 +1,7 @@ From f6ed0e05e330f28d09819bf8085d171dfee84d71 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 26 Mar 2021 16:13:20 +0100 -Subject: [PATCH 040/177] feat(LinstorSR): add a helper `log_drbd_erofs` to +Subject: [PATCH 040/178] feat(LinstorSR): add a helper `log_drbd_erofs` to trace EROFS errno code with DRBD resources + check EROFS error Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0041-fix-LinstorSR-try-to-restart-the-services-again-if-t.patch b/SOURCES/0041-fix-LinstorSR-try-to-restart-the-services-again-if-t.patch index f3009c1..2bbf135 100644 --- a/SOURCES/0041-fix-LinstorSR-try-to-restart-the-services-again-if-t.patch +++ b/SOURCES/0041-fix-LinstorSR-try-to-restart-the-services-again-if-t.patch @@ -1,7 +1,7 @@ From 910405472a57989f5f3b9d6015e0c11970123b44 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 28 Apr 2021 15:15:58 +0200 -Subject: [PATCH 041/177] fix(LinstorSR): try to restart the services again if +Subject: [PATCH 041/178] fix(LinstorSR): try to restart the services again if there is a failure in linstor-manager Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0042-fix-LinstorSR-robustify-linstor-manager-to-never-inc.patch b/SOURCES/0042-fix-LinstorSR-robustify-linstor-manager-to-never-inc.patch index a5905fa..b88e9d3 100644 --- a/SOURCES/0042-fix-LinstorSR-robustify-linstor-manager-to-never-inc.patch +++ b/SOURCES/0042-fix-LinstorSR-robustify-linstor-manager-to-never-inc.patch @@ -1,7 +1,7 @@ From 262c9328fe625aa44416b2795047584de7611f18 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 26 Aug 2021 15:26:11 +0200 -Subject: [PATCH 042/177] fix(LinstorSR): robustify linstor-manager to never +Subject: [PATCH 042/178] fix(LinstorSR): robustify linstor-manager to never include from plugins path Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0043-fix-LinstorSR-prevent-starting-controller-during-fai.patch b/SOURCES/0043-fix-LinstorSR-prevent-starting-controller-during-fai.patch index fc576e8..f68bfce 100644 --- a/SOURCES/0043-fix-LinstorSR-prevent-starting-controller-during-fai.patch +++ b/SOURCES/0043-fix-LinstorSR-prevent-starting-controller-during-fai.patch @@ -1,7 +1,7 @@ From 855fb10643225cae3ec8e6b89c20972eefaee607 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 26 Aug 2021 16:52:01 +0200 -Subject: [PATCH 043/177] fix(LinstorSR): prevent starting controller during +Subject: [PATCH 043/178] fix(LinstorSR): prevent starting controller during fail in linstor manager destroy method Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0044-feat-LinstorVolumeManager-increase-peer-slots-limit-.patch b/SOURCES/0044-feat-LinstorVolumeManager-increase-peer-slots-limit-.patch index e8e0f8d..eb3bcf2 100644 --- a/SOURCES/0044-feat-LinstorVolumeManager-increase-peer-slots-limit-.patch +++ b/SOURCES/0044-feat-LinstorVolumeManager-increase-peer-slots-limit-.patch @@ -1,7 +1,7 @@ From 02c4a4a0a092f9ae8d387a4773fbf0fc5b09cb11 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 19 Oct 2021 14:48:17 +0200 -Subject: [PATCH 044/177] feat(LinstorVolumeManager): increase peer slots limit +Subject: [PATCH 044/178] feat(LinstorVolumeManager): increase peer slots limit (support 31 connections to a DRBD) - Also, create diskless devices when db is created diff --git a/SOURCES/0045-feat-LinstorVolumeManager-add-a-fallback-to-find-con.patch b/SOURCES/0045-feat-LinstorVolumeManager-add-a-fallback-to-find-con.patch index 2d57b83..d1fb9fe 100644 --- a/SOURCES/0045-feat-LinstorVolumeManager-add-a-fallback-to-find-con.patch +++ b/SOURCES/0045-feat-LinstorVolumeManager-add-a-fallback-to-find-con.patch @@ -1,7 +1,7 @@ From 8ae786437072d4328825c97b0786d7caa1f4ca35 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 20 Oct 2021 14:33:04 +0200 -Subject: [PATCH 045/177] feat(LinstorVolumeManager): add a fallback to find +Subject: [PATCH 045/178] feat(LinstorVolumeManager): add a fallback to find controller uri (when len(hosts) >= 4) Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0046-fix-var-lib-linstor.mount-ensure-we-always-mount-dat.patch b/SOURCES/0046-fix-var-lib-linstor.mount-ensure-we-always-mount-dat.patch index cfc8f54..f6ed1dc 100644 --- a/SOURCES/0046-fix-var-lib-linstor.mount-ensure-we-always-mount-dat.patch +++ b/SOURCES/0046-fix-var-lib-linstor.mount-ensure-we-always-mount-dat.patch @@ -1,7 +1,7 @@ From 7731198de9a684e000a7c70b19dca1cdd330e9c5 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 21 Oct 2021 11:13:07 +0200 -Subject: [PATCH 046/177] fix(var-lib-linstor.mount): ensure we always mount +Subject: [PATCH 046/178] fix(var-lib-linstor.mount): ensure we always mount database with RW flags Sometimes systemd fallback to read only FS if the volume can't be mounted, we must diff --git a/SOURCES/0047-feat-LinstorVolumeManager-add-a-fallback-to-find-nod.patch b/SOURCES/0047-feat-LinstorVolumeManager-add-a-fallback-to-find-nod.patch index c3ad307..54b25d5 100644 --- a/SOURCES/0047-feat-LinstorVolumeManager-add-a-fallback-to-find-nod.patch +++ b/SOURCES/0047-feat-LinstorVolumeManager-add-a-fallback-to-find-nod.patch @@ -1,7 +1,7 @@ From 5273224cab21953acab55e07d2fa6941bfa19bba Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 21 Oct 2021 11:51:32 +0200 -Subject: [PATCH 047/177] feat(LinstorVolumeManager): add a fallback to find +Subject: [PATCH 047/178] feat(LinstorVolumeManager): add a fallback to find node name (when len(hosts) >= 4) Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0048-feat-LinstorSR-explain-on-which-host-plugins-command.patch b/SOURCES/0048-feat-LinstorSR-explain-on-which-host-plugins-command.patch index a6945ed..7415563 100644 --- a/SOURCES/0048-feat-LinstorSR-explain-on-which-host-plugins-command.patch +++ b/SOURCES/0048-feat-LinstorSR-explain-on-which-host-plugins-command.patch @@ -1,7 +1,7 @@ From c6328ccfe37e9ad5318dc6a7149ece8705f4a8b5 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 26 Oct 2021 10:44:00 +0200 -Subject: [PATCH 048/177] feat(LinstorSR): explain on which host, plugins +Subject: [PATCH 048/178] feat(LinstorSR): explain on which host, plugins commands are executed Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0049-fix-LinstorSR-create-diskless-path-if-necessary-duri.patch b/SOURCES/0049-fix-LinstorSR-create-diskless-path-if-necessary-duri.patch index e612b51..5fe3874 100644 --- a/SOURCES/0049-fix-LinstorSR-create-diskless-path-if-necessary-duri.patch +++ b/SOURCES/0049-fix-LinstorSR-create-diskless-path-if-necessary-duri.patch @@ -1,7 +1,7 @@ From 0125298399ffa92e214ed3b059d3f7cb5443e08b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 3 Nov 2021 14:59:31 +0100 -Subject: [PATCH 049/177] fix(LinstorSR): create diskless path if necessary +Subject: [PATCH 049/178] fix(LinstorSR): create diskless path if necessary during VDI loading Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0050-feat-LinstorSR-use-HTTP-NBD-instead-of-DRBD-directly.patch b/SOURCES/0050-feat-LinstorSR-use-HTTP-NBD-instead-of-DRBD-directly.patch index 3980e6c..2506581 100644 --- a/SOURCES/0050-feat-LinstorSR-use-HTTP-NBD-instead-of-DRBD-directly.patch +++ b/SOURCES/0050-feat-LinstorSR-use-HTTP-NBD-instead-of-DRBD-directly.patch @@ -1,7 +1,7 @@ From 7983be637bf274036cd89552891cc406bf20ea0a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 12 May 2022 17:52:35 +0200 -Subject: [PATCH 050/177] feat(LinstorSR): use HTTP/NBD instead of DRBD +Subject: [PATCH 050/178] feat(LinstorSR): use HTTP/NBD instead of DRBD directly with heartbeat VDI Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0051-fix-LinstorSR-find-controller-when-XAPI-unreachable-.patch b/SOURCES/0051-fix-LinstorSR-find-controller-when-XAPI-unreachable-.patch index 53bd174..1aa3b58 100644 --- a/SOURCES/0051-fix-LinstorSR-find-controller-when-XAPI-unreachable-.patch +++ b/SOURCES/0051-fix-LinstorSR-find-controller-when-XAPI-unreachable-.patch @@ -1,7 +1,7 @@ From 44393c71d8419d61c746fc2699c450bd08183b3b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 3 Mar 2022 15:02:17 +0100 -Subject: [PATCH 051/177] fix(LinstorSR): find controller when XAPI unreachable +Subject: [PATCH 051/178] fix(LinstorSR): find controller when XAPI unreachable (XHA) Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0052-fix-LinstorSR-use-IPs-instead-of-hostnames-in-NBD-se.patch b/SOURCES/0052-fix-LinstorSR-use-IPs-instead-of-hostnames-in-NBD-se.patch index 9d766fc..fcd304b 100644 --- a/SOURCES/0052-fix-LinstorSR-use-IPs-instead-of-hostnames-in-NBD-se.patch +++ b/SOURCES/0052-fix-LinstorSR-use-IPs-instead-of-hostnames-in-NBD-se.patch @@ -1,7 +1,7 @@ From 58bf1f4dbf2f7860d18a55ff313363c6fa3f1305 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 24 Mar 2022 18:13:46 +0100 -Subject: [PATCH 052/177] fix(LinstorSR): use IPs instead of hostnames in NBD +Subject: [PATCH 052/178] fix(LinstorSR): use IPs instead of hostnames in NBD server Without this patch we can't use XCP-ng hosts configured with static IPS. diff --git a/SOURCES/0053-fix-LinstorVolumeManager-ensure-we-always-use-IPs-in.patch b/SOURCES/0053-fix-LinstorVolumeManager-ensure-we-always-use-IPs-in.patch index a9b3e06..681c954 100644 --- a/SOURCES/0053-fix-LinstorVolumeManager-ensure-we-always-use-IPs-in.patch +++ b/SOURCES/0053-fix-LinstorVolumeManager-ensure-we-always-use-IPs-in.patch @@ -1,7 +1,7 @@ From 972954832674cdd9c4792868a2fe4771a5c7eda0 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 31 Mar 2022 11:21:19 +0200 -Subject: [PATCH 053/177] fix(LinstorVolumeManager): ensure we always use IPs +Subject: [PATCH 053/178] fix(LinstorVolumeManager): ensure we always use IPs in _get_controller_uri Otherwise if a hostname is returned, we can't use it if the XCP-ng pool diff --git a/SOURCES/0054-feat-linstor-manager-add-methods-to-add-remove-host-.patch b/SOURCES/0054-feat-linstor-manager-add-methods-to-add-remove-host-.patch index adf7f93..1b43741 100644 --- a/SOURCES/0054-feat-linstor-manager-add-methods-to-add-remove-host-.patch +++ b/SOURCES/0054-feat-linstor-manager-add-methods-to-add-remove-host-.patch @@ -1,7 +1,7 @@ From df1b37be2e1b33838aa843f922de1de6cec3a793 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 6 Apr 2022 17:53:02 +0200 -Subject: [PATCH 054/177] feat(linstor-manager): add methods to add remove/host +Subject: [PATCH 054/178] feat(linstor-manager): add methods to add remove/host from LINSTOR SR Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0055-feat-LinstorVolumeManager-support-SR-creation-with-d.patch b/SOURCES/0055-feat-LinstorVolumeManager-support-SR-creation-with-d.patch index bb8bca2..fc70498 100644 --- a/SOURCES/0055-feat-LinstorVolumeManager-support-SR-creation-with-d.patch +++ b/SOURCES/0055-feat-LinstorVolumeManager-support-SR-creation-with-d.patch @@ -1,7 +1,7 @@ From 1cacb61d45a0e8de6d99788a86eeffb7028edd85 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 13 Apr 2022 15:56:42 +0200 -Subject: [PATCH 055/177] feat(LinstorVolumeManager): support SR creation with +Subject: [PATCH 055/178] feat(LinstorVolumeManager): support SR creation with diskless nodes Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0056-feat-LinstorSR-add-a-config-var-to-disable-HTTP-NBD-.patch b/SOURCES/0056-feat-LinstorSR-add-a-config-var-to-disable-HTTP-NBD-.patch index bc346b6..d6efd33 100644 --- a/SOURCES/0056-feat-LinstorSR-add-a-config-var-to-disable-HTTP-NBD-.patch +++ b/SOURCES/0056-feat-LinstorSR-add-a-config-var-to-disable-HTTP-NBD-.patch @@ -1,7 +1,7 @@ From 2e4d783b1d7cd7dd9a7ac40504ac6ec71dcde60c Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 14 Apr 2022 10:30:23 +0200 -Subject: [PATCH 056/177] feat(LinstorSR): add a config var to disable HTTP/NBD +Subject: [PATCH 056/178] feat(LinstorSR): add a config var to disable HTTP/NBD servers Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0057-feat-LinstorSr-ensure-LVM-group-is-activated-during-.patch b/SOURCES/0057-feat-LinstorSr-ensure-LVM-group-is-activated-during-.patch index e25e74e..0f0299f 100644 --- a/SOURCES/0057-feat-LinstorSr-ensure-LVM-group-is-activated-during-.patch +++ b/SOURCES/0057-feat-LinstorSr-ensure-LVM-group-is-activated-during-.patch @@ -1,7 +1,7 @@ From c241c1495897b952e6ea11fd062cac28109394aa Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 14 Apr 2022 15:45:20 +0200 -Subject: [PATCH 057/177] feat(LinstorSr): ensure LVM group is activated during +Subject: [PATCH 057/178] feat(LinstorSr): ensure LVM group is activated during SR.attach/create Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0058-feat-linstor-manager-add-method-to-create-LinstorSR-.patch b/SOURCES/0058-feat-linstor-manager-add-method-to-create-LinstorSR-.patch index b225781..f81c06b 100644 --- a/SOURCES/0058-feat-linstor-manager-add-method-to-create-LinstorSR-.patch +++ b/SOURCES/0058-feat-linstor-manager-add-method-to-create-LinstorSR-.patch @@ -1,7 +1,7 @@ From cac2dda720b05ba479b272c9c65b5f14af180956 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 25 Apr 2022 14:47:51 +0200 -Subject: [PATCH 058/177] feat(linstor-manager): add method to create LinstorSR +Subject: [PATCH 058/178] feat(linstor-manager): add method to create LinstorSR + to list/destroy DRBD volumes Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0059-fix-LinstorSR-always-set-vdi_path-in-generate_config.patch b/SOURCES/0059-fix-LinstorSR-always-set-vdi_path-in-generate_config.patch index 14d1e35..ccf7e0e 100644 --- a/SOURCES/0059-fix-LinstorSR-always-set-vdi_path-in-generate_config.patch +++ b/SOURCES/0059-fix-LinstorSR-always-set-vdi_path-in-generate_config.patch @@ -1,7 +1,7 @@ From f990493afc8187a52faab4913a6b353f70ab1583 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 26 Apr 2022 11:20:08 +0200 -Subject: [PATCH 059/177] fix(LinstorSR): always set vdi_path in +Subject: [PATCH 059/178] fix(LinstorSR): always set vdi_path in generate_config If the volume of a generated config is not related to HTTP/NBD diff --git a/SOURCES/0060-fix-minidrbdcluster-supports-new-properties-like-for.patch b/SOURCES/0060-fix-minidrbdcluster-supports-new-properties-like-for.patch index aa19534..ca11abd 100644 --- a/SOURCES/0060-fix-minidrbdcluster-supports-new-properties-like-for.patch +++ b/SOURCES/0060-fix-minidrbdcluster-supports-new-properties-like-for.patch @@ -1,7 +1,7 @@ From ed527602dea427ea63080a07395aaf7d99572953 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 13 May 2022 14:35:57 +0200 -Subject: [PATCH 060/177] fix(minidrbdcluster): supports new properties like +Subject: [PATCH 060/178] fix(minidrbdcluster): supports new properties like `force-io-failures` Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0061-fix-LinstorSR-enabled-disable-minidrbcluster-with-fi.patch b/SOURCES/0061-fix-LinstorSR-enabled-disable-minidrbcluster-with-fi.patch index 0784c9b..ad49117 100644 --- a/SOURCES/0061-fix-LinstorSR-enabled-disable-minidrbcluster-with-fi.patch +++ b/SOURCES/0061-fix-LinstorSR-enabled-disable-minidrbcluster-with-fi.patch @@ -1,7 +1,7 @@ From 4a1220b9552323f2e79f9512ed030ae45ab4c800 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 18 May 2022 17:28:33 +0200 -Subject: [PATCH 061/177] fix(LinstorSR): enabled/disable minidrbcluster with +Subject: [PATCH 061/178] fix(LinstorSR): enabled/disable minidrbcluster with fixed order Ensure we disable minidrbdcluster during SR destruction on all hosts diff --git a/SOURCES/0062-fix-linstor-manager-change-linstor-satellite-start-b.patch b/SOURCES/0062-fix-linstor-manager-change-linstor-satellite-start-b.patch index 79490c5..a347480 100644 --- a/SOURCES/0062-fix-linstor-manager-change-linstor-satellite-start-b.patch +++ b/SOURCES/0062-fix-linstor-manager-change-linstor-satellite-start-b.patch @@ -1,7 +1,7 @@ From 77eddf395a3248f479ece8223c11da473ba7992b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 31 May 2022 14:01:45 +0200 -Subject: [PATCH 062/177] fix(linstor-manager): change linstor satellite start +Subject: [PATCH 062/178] fix(linstor-manager): change linstor satellite start behavior Ensure we don't have an invalid cache used by a satellite: diff --git a/SOURCES/0063-Fix-is_open-call-for-LinstorSR.patch b/SOURCES/0063-Fix-is_open-call-for-LinstorSR.patch index 5d55ce6..ca42095 100644 --- a/SOURCES/0063-Fix-is_open-call-for-LinstorSR.patch +++ b/SOURCES/0063-Fix-is_open-call-for-LinstorSR.patch @@ -1,7 +1,7 @@ From 4ee79f2016b9816380baaba51b75c4b35830ab5f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 2 Jun 2022 09:04:28 +0200 -Subject: [PATCH 063/177] Fix is_open call for LinstorSR +Subject: [PATCH 063/178] Fix is_open call for LinstorSR 1. Ensure LinstorSR driver is imported in `_is_open` definition to register it in the driver list. Otherwise this function always fails with a SRUnknownType exception. diff --git a/SOURCES/0064-fix-linstorvhdutil-fix-boolean-params-of-check-call.patch b/SOURCES/0064-fix-linstorvhdutil-fix-boolean-params-of-check-call.patch index 6f96b55..a7e8998 100644 --- a/SOURCES/0064-fix-linstorvhdutil-fix-boolean-params-of-check-call.patch +++ b/SOURCES/0064-fix-linstorvhdutil-fix-boolean-params-of-check-call.patch @@ -1,7 +1,7 @@ From 1c0757759ea80cbf9ff35cc487a0b7d3cc2bfeb6 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 2 Jun 2022 09:28:32 +0200 -Subject: [PATCH 064/177] fix(linstorvhdutil): fix boolean params of `check` +Subject: [PATCH 064/178] fix(linstorvhdutil): fix boolean params of `check` call `ignoreMissingFooter` and `fast` must be string types to be used with XAPI plugin API. diff --git a/SOURCES/0065-feat-linstor-manager-robustify-exec_create_sr.patch b/SOURCES/0065-feat-linstor-manager-robustify-exec_create_sr.patch index 714a350..88a7942 100644 --- a/SOURCES/0065-feat-linstor-manager-robustify-exec_create_sr.patch +++ b/SOURCES/0065-feat-linstor-manager-robustify-exec_create_sr.patch @@ -1,7 +1,7 @@ From 2f674984e2454621bd71eb4c3a0573f40704bb45 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 30 Jun 2022 17:09:51 +0200 -Subject: [PATCH 065/177] feat(linstor-manager): robustify exec_create_sr +Subject: [PATCH 065/178] feat(linstor-manager): robustify exec_create_sr - Use lvm.py XCP-ng xapi plugins instead of lvm (old name) - Check arguments to create the SR diff --git a/SOURCES/0066-fix-cleanup-print-LINSTOR-VDI-UUID-if-error-during-i.patch b/SOURCES/0066-fix-cleanup-print-LINSTOR-VDI-UUID-if-error-during-i.patch index d2b097e..bcd7b3f 100644 --- a/SOURCES/0066-fix-cleanup-print-LINSTOR-VDI-UUID-if-error-during-i.patch +++ b/SOURCES/0066-fix-cleanup-print-LINSTOR-VDI-UUID-if-error-during-i.patch @@ -1,7 +1,7 @@ From 21f073b1a262414c1910773a02ca54cd6f92c57e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 8 Jul 2022 14:52:25 +0200 -Subject: [PATCH 066/177] fix(cleanup): print LINSTOR VDI UUID if error during +Subject: [PATCH 066/178] fix(cleanup): print LINSTOR VDI UUID if error during info loading (not SR UUID) Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0067-feat-cleanup-raise-and-dump-DRBD-openers-in-case-of-.patch b/SOURCES/0067-feat-cleanup-raise-and-dump-DRBD-openers-in-case-of-.patch index b56947b..a02b874 100644 --- a/SOURCES/0067-feat-cleanup-raise-and-dump-DRBD-openers-in-case-of-.patch +++ b/SOURCES/0067-feat-cleanup-raise-and-dump-DRBD-openers-in-case-of-.patch @@ -1,7 +1,7 @@ From 7b48c2a2c1635be52db7ab1625bc5d6d3b6c635e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 21 Jul 2022 11:39:20 +0200 -Subject: [PATCH 067/177] feat(cleanup): raise and dump DRBD openers in case of +Subject: [PATCH 067/178] feat(cleanup): raise and dump DRBD openers in case of bad coalesce Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0068-feat-linstorvhdutil-trace-DRBD-openers-in-case-of-ER.patch b/SOURCES/0068-feat-linstorvhdutil-trace-DRBD-openers-in-case-of-ER.patch index c2feda0..4698614 100644 --- a/SOURCES/0068-feat-linstorvhdutil-trace-DRBD-openers-in-case-of-ER.patch +++ b/SOURCES/0068-feat-linstorvhdutil-trace-DRBD-openers-in-case-of-ER.patch @@ -1,7 +1,7 @@ From 17e39c0d21e3e0385d51d27c3192f8a28022bb3c Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 22 Jul 2022 10:26:20 +0200 -Subject: [PATCH 068/177] feat(linstorvhdutil): trace DRBD openers in case of +Subject: [PATCH 068/178] feat(linstorvhdutil): trace DRBD openers in case of EROFS errors Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0069-fix-linstorvolumemanager-compute-correctly-size-in-a.patch b/SOURCES/0069-fix-linstorvolumemanager-compute-correctly-size-in-a.patch index c50230c..9757574 100644 --- a/SOURCES/0069-fix-linstorvolumemanager-compute-correctly-size-in-a.patch +++ b/SOURCES/0069-fix-linstorvolumemanager-compute-correctly-size-in-a.patch @@ -1,7 +1,7 @@ From 28090053e877e2bfb9bedf42af9a65a70b355ff5 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 29 Jul 2022 17:25:48 +0200 -Subject: [PATCH 069/177] fix(linstorvolumemanager): compute correctly size in +Subject: [PATCH 069/178] fix(linstorvolumemanager): compute correctly size in allocated_volume_size Remove replication count in computation. diff --git a/SOURCES/0070-feat-LinstorSR-use-DRBD-openers-instead-of-lsof-to-l.patch b/SOURCES/0070-feat-LinstorSR-use-DRBD-openers-instead-of-lsof-to-l.patch index 6abefb4..059b120 100644 --- a/SOURCES/0070-feat-LinstorSR-use-DRBD-openers-instead-of-lsof-to-l.patch +++ b/SOURCES/0070-feat-LinstorSR-use-DRBD-openers-instead-of-lsof-to-l.patch @@ -1,7 +1,7 @@ From 97e4f95765285fcd3a860d66a8f02f170a4e8e73 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 9 Aug 2022 11:07:57 +0200 -Subject: [PATCH 070/177] feat(LinstorSR): use DRBD openers instead of lsof to +Subject: [PATCH 070/178] feat(LinstorSR): use DRBD openers instead of lsof to log in blktap2 Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0071-feat-LinstorSR-support-cProfile-to-trace-calls-when-.patch b/SOURCES/0071-feat-LinstorSR-support-cProfile-to-trace-calls-when-.patch index cd54b99..b435298 100644 --- a/SOURCES/0071-feat-LinstorSR-support-cProfile-to-trace-calls-when-.patch +++ b/SOURCES/0071-feat-LinstorSR-support-cProfile-to-trace-calls-when-.patch @@ -1,7 +1,7 @@ From 7af2ef8980077fc54ee58661502c9b49f7b973c9 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 25 Aug 2022 12:11:18 +0200 -Subject: [PATCH 071/177] feat(LinstorSR): support cProfile to trace calls when +Subject: [PATCH 071/178] feat(LinstorSR): support cProfile to trace calls when a command is executed Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0072-fix-LinstorJournaler-reset-namespace-when-get-is-cal.patch b/SOURCES/0072-fix-LinstorJournaler-reset-namespace-when-get-is-cal.patch index bc686b8..81e7c18 100644 --- a/SOURCES/0072-fix-LinstorJournaler-reset-namespace-when-get-is-cal.patch +++ b/SOURCES/0072-fix-LinstorJournaler-reset-namespace-when-get-is-cal.patch @@ -1,7 +1,7 @@ From ff1e4c6c25e4d804f7b4635dbf8cd4d696beef0a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 24 Aug 2022 17:09:11 +0200 -Subject: [PATCH 072/177] fix(LinstorJournaler): reset namespace when `get` is +Subject: [PATCH 072/178] fix(LinstorJournaler): reset namespace when `get` is called Otherwise, we can be in the wrong namespace and the key to find will be inaccessible. diff --git a/SOURCES/0073-fix-linstorvhdutil-fix-coalesce-with-VM-running-unde.patch b/SOURCES/0073-fix-linstorvhdutil-fix-coalesce-with-VM-running-unde.patch index 27fe6b0..ee27344 100644 --- a/SOURCES/0073-fix-linstorvhdutil-fix-coalesce-with-VM-running-unde.patch +++ b/SOURCES/0073-fix-linstorvhdutil-fix-coalesce-with-VM-running-unde.patch @@ -1,7 +1,7 @@ From 3bda00e34c79c8448b61d3f02c09ae7d910eb9ce Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 25 Aug 2022 10:54:56 +0200 -Subject: [PATCH 073/177] fix(linstorvhdutil): fix coalesce with VM running +Subject: [PATCH 073/178] fix(linstorvhdutil): fix coalesce with VM running under specific scenario: When a VM is running, we can't coalesce without this patch with a long chain diff --git a/SOURCES/0074-fix-linstorvolumemanager-_get_volumes_info-doesn-t-r.patch b/SOURCES/0074-fix-linstorvolumemanager-_get_volumes_info-doesn-t-r.patch index cdb76c2..e73a8d8 100644 --- a/SOURCES/0074-fix-linstorvolumemanager-_get_volumes_info-doesn-t-r.patch +++ b/SOURCES/0074-fix-linstorvolumemanager-_get_volumes_info-doesn-t-r.patch @@ -1,7 +1,7 @@ From 94ede43831ca0996b88a27626a9559d3f6b1f403 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 5 Sep 2022 15:09:17 +0200 -Subject: [PATCH 074/177] fix(linstorvolumemanager): `_get_volumes_info` +Subject: [PATCH 074/178] fix(linstorvolumemanager): `_get_volumes_info` doesn't raise with offline host Ensure this method doesn't raise an exception when a host is offline. diff --git a/SOURCES/0075-fix-linstorvolumemanager-remove-double-prefix-on-kv-.patch b/SOURCES/0075-fix-linstorvolumemanager-remove-double-prefix-on-kv-.patch index f0161d2..af27eb7 100644 --- a/SOURCES/0075-fix-linstorvolumemanager-remove-double-prefix-on-kv-.patch +++ b/SOURCES/0075-fix-linstorvolumemanager-remove-double-prefix-on-kv-.patch @@ -1,7 +1,7 @@ From 5d26e090abc329bd612d52e2c82fd4607c01ef17 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 12 Sep 2022 15:56:09 +0200 -Subject: [PATCH 075/177] fix(linstorvolumemanager): remove double prefix on kv +Subject: [PATCH 075/178] fix(linstorvolumemanager): remove double prefix on kv group name - Before this patch, when the kv store was created/accessed, a double "xcp-sr-" prefix was used. diff --git a/SOURCES/0076-feat-LinstorSR-add-linstor-kv-dump-helper-to-print-k.patch b/SOURCES/0076-feat-LinstorSR-add-linstor-kv-dump-helper-to-print-k.patch index 67a255e..7bc89c5 100644 --- a/SOURCES/0076-feat-LinstorSR-add-linstor-kv-dump-helper-to-print-k.patch +++ b/SOURCES/0076-feat-LinstorSR-add-linstor-kv-dump-helper-to-print-k.patch @@ -1,7 +1,7 @@ From cbe616a7450f988cc267eb02b73de8e03f546fd6 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 12 Sep 2022 17:54:57 +0200 -Subject: [PATCH 076/177] feat(LinstorSR): add linstor-kv-dump helper to print +Subject: [PATCH 076/178] feat(LinstorSR): add linstor-kv-dump helper to print kv store Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0077-fix-LinstorSR-disable-VHD-key-hash-usage-to-limit-ex.patch b/SOURCES/0077-fix-LinstorSR-disable-VHD-key-hash-usage-to-limit-ex.patch index 5484c6d..44deefb 100644 --- a/SOURCES/0077-fix-LinstorSR-disable-VHD-key-hash-usage-to-limit-ex.patch +++ b/SOURCES/0077-fix-LinstorSR-disable-VHD-key-hash-usage-to-limit-ex.patch @@ -1,7 +1,7 @@ From 5232782abcfd52a3ff75a8f83906af61c5a0a77d Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 14 Sep 2022 10:17:18 +0200 -Subject: [PATCH 077/177] fix(LinstorSR): disable VHD key hash usage to limit +Subject: [PATCH 077/178] fix(LinstorSR): disable VHD key hash usage to limit exec time Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0078-fix-minidrbdcluster-ensure-SIGINT-is-handled-correct.patch b/SOURCES/0078-fix-minidrbdcluster-ensure-SIGINT-is-handled-correct.patch index 8d64f08..0921975 100644 --- a/SOURCES/0078-fix-minidrbdcluster-ensure-SIGINT-is-handled-correct.patch +++ b/SOURCES/0078-fix-minidrbdcluster-ensure-SIGINT-is-handled-correct.patch @@ -1,7 +1,7 @@ From 9c9b5a3ea111d22c550e6f983ca7539b14908737 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 15 Sep 2022 11:34:25 +0200 -Subject: [PATCH 078/177] fix(minidrbdcluster): ensure SIGINT is handled +Subject: [PATCH 078/178] fix(minidrbdcluster): ensure SIGINT is handled correctly This patch is here to make sure no LINSTOR controller survives when diff --git a/SOURCES/0079-feat-minidrbdcluster-stop-resource-services-at-start.patch b/SOURCES/0079-feat-minidrbdcluster-stop-resource-services-at-start.patch index 8c1780f..79c171d 100644 --- a/SOURCES/0079-feat-minidrbdcluster-stop-resource-services-at-start.patch +++ b/SOURCES/0079-feat-minidrbdcluster-stop-resource-services-at-start.patch @@ -1,7 +1,7 @@ From 5f8a99eff7f2f137b7afac5738d45c1c56a8846b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 15 Sep 2022 11:49:34 +0200 -Subject: [PATCH 079/177] feat(minidrbdcluster): stop resource services at +Subject: [PATCH 079/178] feat(minidrbdcluster): stop resource services at startup - Ensure all services are stopped when minidrbcluster is started. diff --git a/SOURCES/0080-feat-linstor-manager-add-new-healthCheck-function-to.patch b/SOURCES/0080-feat-linstor-manager-add-new-healthCheck-function-to.patch index de206c3..59a5bc2 100644 --- a/SOURCES/0080-feat-linstor-manager-add-new-healthCheck-function-to.patch +++ b/SOURCES/0080-feat-linstor-manager-add-new-healthCheck-function-to.patch @@ -1,7 +1,7 @@ From 488877ba4b8602148c23e3238a7530e67ad5ea8f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 23 Sep 2022 17:45:08 +0200 -Subject: [PATCH 080/177] feat(linstor-manager): add new `healthCheck` function +Subject: [PATCH 080/178] feat(linstor-manager): add new `healthCheck` function to monitor pool (#26) Print a JSON output to monitor state of LINSTOR SRs: diff --git a/SOURCES/0081-fix-LinstorSR-fix-xha-conf-parsing-return-host-ip-no.patch b/SOURCES/0081-fix-LinstorSR-fix-xha-conf-parsing-return-host-ip-no.patch index b0adf8b..862474d 100644 --- a/SOURCES/0081-fix-LinstorSR-fix-xha-conf-parsing-return-host-ip-no.patch +++ b/SOURCES/0081-fix-LinstorSR-fix-xha-conf-parsing-return-host-ip-no.patch @@ -1,7 +1,7 @@ From a5be376a1404d031c41abd728e758f8d296a09db Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 4 Oct 2022 11:01:33 +0200 -Subject: [PATCH 081/177] fix(LinstorSR): fix xha conf parsing => return host +Subject: [PATCH 081/178] fix(LinstorSR): fix xha conf parsing => return host ip, not the UUID Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0082-fix-LinstorSR-start-correctly-HA-servers-HTTP-NBD-af.patch b/SOURCES/0082-fix-LinstorSR-start-correctly-HA-servers-HTTP-NBD-af.patch index fa2cd7b..58991b8 100644 --- a/SOURCES/0082-fix-LinstorSR-start-correctly-HA-servers-HTTP-NBD-af.patch +++ b/SOURCES/0082-fix-LinstorSR-start-correctly-HA-servers-HTTP-NBD-af.patch @@ -1,7 +1,7 @@ From 65d5ff02da3d1c084573924a82735da84f1ec5c4 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 4 Oct 2022 18:48:09 +0200 -Subject: [PATCH 082/177] fix(LinstorSR): start correctly HA servers (HTTP/NBD) +Subject: [PATCH 082/178] fix(LinstorSR): start correctly HA servers (HTTP/NBD) after reboot Use a timeout call after a reboot to get a XAPI session because diff --git a/SOURCES/0083-fix-linstorvolumemanager-use-an-array-to-store-diskf.patch b/SOURCES/0083-fix-linstorvolumemanager-use-an-array-to-store-diskf.patch index 177326d..51ab315 100644 --- a/SOURCES/0083-fix-linstorvolumemanager-use-an-array-to-store-diskf.patch +++ b/SOURCES/0083-fix-linstorvolumemanager-use-an-array-to-store-diskf.patch @@ -1,7 +1,7 @@ From 90cd3fd85ce5c73b4727a579acda75721252963a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 5 Oct 2022 10:45:50 +0200 -Subject: [PATCH 083/177] fix(linstorvolumemanager): use an array to store +Subject: [PATCH 083/178] fix(linstorvolumemanager): use an array to store diskful volumes info Otherwise the `is_diskful` attr only reflects the info of one host diff --git a/SOURCES/0084-feat-linstorvolumemanager-support-snaps-when-a-host-.patch b/SOURCES/0084-feat-linstorvolumemanager-support-snaps-when-a-host-.patch index bc46485..a303d6e 100644 --- a/SOURCES/0084-feat-linstorvolumemanager-support-snaps-when-a-host-.patch +++ b/SOURCES/0084-feat-linstorvolumemanager-support-snaps-when-a-host-.patch @@ -1,7 +1,7 @@ From 8e4f41d2b6caa3830f1073e3ab463657e9bb0d67 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 6 Oct 2022 17:54:10 +0200 -Subject: [PATCH 084/177] feat(linstorvolumemanager): support snaps when a host +Subject: [PATCH 084/178] feat(linstorvolumemanager): support snaps when a host is offline - Don't create diskless volumes during clone, delay it. diff --git a/SOURCES/0085-fix-linstorvolumemanager-support-offline-hosts-when-.patch b/SOURCES/0085-fix-linstorvolumemanager-support-offline-hosts-when-.patch index a32829a..9215e2d 100644 --- a/SOURCES/0085-fix-linstorvolumemanager-support-offline-hosts-when-.patch +++ b/SOURCES/0085-fix-linstorvolumemanager-support-offline-hosts-when-.patch @@ -1,7 +1,7 @@ From 53755a3d8e40a2493bc006139e9631ed7c3ae531 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 7 Oct 2022 17:18:37 +0200 -Subject: [PATCH 085/177] fix(linstorvolumemanager): support offline hosts when +Subject: [PATCH 085/178] fix(linstorvolumemanager): support offline hosts when plugins are called - Robustify plugin calls diff --git a/SOURCES/0086-fix-linstorvolumemanager-define-_base_group_name-mem.patch b/SOURCES/0086-fix-linstorvolumemanager-define-_base_group_name-mem.patch index f7fa187..3828f43 100644 --- a/SOURCES/0086-fix-linstorvolumemanager-define-_base_group_name-mem.patch +++ b/SOURCES/0086-fix-linstorvolumemanager-define-_base_group_name-mem.patch @@ -1,7 +1,7 @@ From 61f2aa4e8c0ee7ed0a7bb514a8c5d6e7d8b1e789 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 7 Oct 2022 17:45:26 +0200 -Subject: [PATCH 086/177] fix(linstorvolumemanager): define _base_group_name +Subject: [PATCH 086/178] fix(linstorvolumemanager): define _base_group_name member at SR creation Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0087-feat-linstorvhdutil-modify-logic-of-local-vhdutil-ca.patch b/SOURCES/0087-feat-linstorvhdutil-modify-logic-of-local-vhdutil-ca.patch index 19f1160..6611b02 100644 --- a/SOURCES/0087-feat-linstorvhdutil-modify-logic-of-local-vhdutil-ca.patch +++ b/SOURCES/0087-feat-linstorvhdutil-modify-logic-of-local-vhdutil-ca.patch @@ -1,7 +1,7 @@ From f42a4f663b05544178d929d46740a16abc5d6ca9 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 10 Oct 2022 14:33:24 +0200 -Subject: [PATCH 087/177] feat(linstorvhdutil): modify logic of local vhdutil +Subject: [PATCH 087/178] feat(linstorvhdutil): modify logic of local vhdutil calls - Always log openers when we can't call vhdutil locally diff --git a/SOURCES/0088-fix-linstorvolumemanager-robustify-failed-snapshots.patch b/SOURCES/0088-fix-linstorvolumemanager-robustify-failed-snapshots.patch index d03ce1c..4cd3ee9 100644 --- a/SOURCES/0088-fix-linstorvolumemanager-robustify-failed-snapshots.patch +++ b/SOURCES/0088-fix-linstorvolumemanager-robustify-failed-snapshots.patch @@ -1,7 +1,7 @@ From f5a1ae173fe0af8c91f125796f1785b6971d1405 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 17 Oct 2022 18:14:16 +0200 -Subject: [PATCH 088/177] fix(linstorvolumemanager): robustify failed snapshots +Subject: [PATCH 088/178] fix(linstorvolumemanager): robustify failed snapshots - Ensure we can always rename a failed snap, so we must check if we have metadata in the KV-store. Otherwise an error is triggered diff --git a/SOURCES/0089-fix-linstorvolumemanager-use-a-namespace-for-volumes.patch b/SOURCES/0089-fix-linstorvolumemanager-use-a-namespace-for-volumes.patch index 0dac5ab..3cc606f 100644 --- a/SOURCES/0089-fix-linstorvolumemanager-use-a-namespace-for-volumes.patch +++ b/SOURCES/0089-fix-linstorvolumemanager-use-a-namespace-for-volumes.patch @@ -1,7 +1,7 @@ From f7cf38ee5935f024250d13a40be3f2b81eaf6a7e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 8 Nov 2022 17:31:45 +0100 -Subject: [PATCH 089/177] fix(linstorvolumemanager): use a namespace for +Subject: [PATCH 089/178] fix(linstorvolumemanager): use a namespace for volumes - This change is not compatible with existing LINSTOR SR instances! diff --git a/SOURCES/0090-feat-linstor-kv-dump-rename-to-linstor-kv-tool-add-r.patch b/SOURCES/0090-feat-linstor-kv-dump-rename-to-linstor-kv-tool-add-r.patch index 154bfee..b207d1d 100644 --- a/SOURCES/0090-feat-linstor-kv-dump-rename-to-linstor-kv-tool-add-r.patch +++ b/SOURCES/0090-feat-linstor-kv-dump-rename-to-linstor-kv-tool-add-r.patch @@ -1,7 +1,7 @@ From ef7f0c07eab1c25393611a57162e1290c6b54308 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 14 Nov 2022 17:18:48 +0100 -Subject: [PATCH 090/177] feat(linstor-kv-dump): rename to linstor-kv-tool + +Subject: [PATCH 090/178] feat(linstor-kv-dump): rename to linstor-kv-tool + add remove volume helpers --- diff --git a/SOURCES/0091-fix-LinstorSR-handle-correctly-localhost-during-star.patch b/SOURCES/0091-fix-LinstorSR-handle-correctly-localhost-during-star.patch index 9ed5986..2e13b44 100644 --- a/SOURCES/0091-fix-LinstorSR-handle-correctly-localhost-during-star.patch +++ b/SOURCES/0091-fix-LinstorSR-handle-correctly-localhost-during-star.patch @@ -1,7 +1,7 @@ From 196dce016c304f57e9e60a60397fc58c992d459f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 16 Nov 2022 12:12:12 +0100 -Subject: [PATCH 091/177] fix(LinstorSR): handle correctly localhost during +Subject: [PATCH 091/178] fix(LinstorSR): handle correctly localhost during start/stop of minidrbdcluster Otherwise another controller can be started during `xe sr-destroy` call. diff --git a/SOURCES/0092-fix-cleanup.py-call-repair-on-another-host-when-EROF.patch b/SOURCES/0092-fix-cleanup.py-call-repair-on-another-host-when-EROF.patch index b841295..401f5ab 100644 --- a/SOURCES/0092-fix-cleanup.py-call-repair-on-another-host-when-EROF.patch +++ b/SOURCES/0092-fix-cleanup.py-call-repair-on-another-host-when-EROF.patch @@ -1,7 +1,7 @@ From 628668575b779ebb479e4621170b78ae2636b928 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 17 Nov 2022 15:43:25 +0100 -Subject: [PATCH 092/177] fix(cleanup.py): call repair on another host when +Subject: [PATCH 092/178] fix(cleanup.py): call repair on another host when EROFS is returned (DRBD) Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0093-fix-LinstorSR-avoid-introduction-of-DELETED-volumes.patch b/SOURCES/0093-fix-LinstorSR-avoid-introduction-of-DELETED-volumes.patch index 0fc1210..82cccaa 100644 --- a/SOURCES/0093-fix-LinstorSR-avoid-introduction-of-DELETED-volumes.patch +++ b/SOURCES/0093-fix-LinstorSR-avoid-introduction-of-DELETED-volumes.patch @@ -1,7 +1,7 @@ From a7b89628ae53027de00b1cfe03d6bedc38e02f4a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 17 Nov 2022 15:46:02 +0100 -Subject: [PATCH 093/177] fix(LinstorSR): avoid introduction of DELETED volumes +Subject: [PATCH 093/178] fix(LinstorSR): avoid introduction of DELETED volumes Signed-off-by: Ronan Abhamon --- diff --git a/SOURCES/0094-feat-linstor-kv-tool-remove-all-volumes-supports-jou.patch b/SOURCES/0094-feat-linstor-kv-tool-remove-all-volumes-supports-jou.patch index e6374eb..a693282 100644 --- a/SOURCES/0094-feat-linstor-kv-tool-remove-all-volumes-supports-jou.patch +++ b/SOURCES/0094-feat-linstor-kv-tool-remove-all-volumes-supports-jou.patch @@ -1,7 +1,7 @@ From e609d0fca2a6dd7efbadf3d97ff9b0f85549a216 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 18 Nov 2022 10:40:58 +0100 -Subject: [PATCH 094/177] feat(linstor-kv-tool): remove-all-volumes supports +Subject: [PATCH 094/178] feat(linstor-kv-tool): remove-all-volumes supports journals now Not yet supported for remove-volume, not sure about the consequences diff --git a/SOURCES/0095-fix-linstorvhdutil-due-to-bad-refactoring-check-call.patch b/SOURCES/0095-fix-linstorvhdutil-due-to-bad-refactoring-check-call.patch index b86def5..acb523e 100644 --- a/SOURCES/0095-fix-linstorvhdutil-due-to-bad-refactoring-check-call.patch +++ b/SOURCES/0095-fix-linstorvhdutil-due-to-bad-refactoring-check-call.patch @@ -1,7 +1,7 @@ From fb05d2668ccc6f24109d5c30611fbfc167e34340 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 23 Nov 2022 15:26:51 +0100 -Subject: [PATCH 095/177] fix(linstorvhdutil): due to bad refactoring, check +Subject: [PATCH 095/178] fix(linstorvhdutil): due to bad refactoring, check call was broken Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0096-feat-linstorvhdutil-ensure-we-use-VHD-parent-to-find.patch b/SOURCES/0096-feat-linstorvhdutil-ensure-we-use-VHD-parent-to-find.patch index 8bbeed3..c9896c4 100644 --- a/SOURCES/0096-feat-linstorvhdutil-ensure-we-use-VHD-parent-to-find.patch +++ b/SOURCES/0096-feat-linstorvhdutil-ensure-we-use-VHD-parent-to-find.patch @@ -1,7 +1,7 @@ From a765c54efe219c79f7a40550aadd7311f29757fe Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 23 Nov 2022 15:28:23 +0100 -Subject: [PATCH 096/177] feat(linstorvhdutil): ensure we use VHD parent to +Subject: [PATCH 096/178] feat(linstorvhdutil): ensure we use VHD parent to find host where to coalesce Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0097-feat-linstorvolumemanager-force-DRBD-demote-after-fa.patch b/SOURCES/0097-feat-linstorvolumemanager-force-DRBD-demote-after-fa.patch index 5e88dc2..be18f8b 100644 --- a/SOURCES/0097-feat-linstorvolumemanager-force-DRBD-demote-after-fa.patch +++ b/SOURCES/0097-feat-linstorvolumemanager-force-DRBD-demote-after-fa.patch @@ -1,7 +1,7 @@ From be33740647adac8be43e998a0ce620524f43db24 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 5 Dec 2022 18:40:11 +0100 -Subject: [PATCH 097/177] feat(linstorvolumemanager): force DRBD demote after +Subject: [PATCH 097/178] feat(linstorvolumemanager): force DRBD demote after failed volume creation/clone Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0098-fix-linstorvhdutil-ensure-we-retry-creation-in-all-s.patch b/SOURCES/0098-fix-linstorvhdutil-ensure-we-retry-creation-in-all-s.patch index 7c4420d..7aa1589 100644 --- a/SOURCES/0098-fix-linstorvhdutil-ensure-we-retry-creation-in-all-s.patch +++ b/SOURCES/0098-fix-linstorvhdutil-ensure-we-retry-creation-in-all-s.patch @@ -1,7 +1,7 @@ From 11cd26e0cd28d9aa622bdc31ace20008c11ab02e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 6 Dec 2022 11:22:15 +0100 -Subject: [PATCH 098/177] fix(linstorvhdutil): ensure we retry creation in all +Subject: [PATCH 098/178] fix(linstorvhdutil): ensure we retry creation in all situations Without this patch, a basic resource creation is never restarted diff --git a/SOURCES/0099-fix-linstorvhdutil-don-t-retry-local-vhdutil-call-wh.patch b/SOURCES/0099-fix-linstorvhdutil-don-t-retry-local-vhdutil-call-wh.patch index 04815de..bec3bf1 100644 --- a/SOURCES/0099-fix-linstorvhdutil-don-t-retry-local-vhdutil-call-wh.patch +++ b/SOURCES/0099-fix-linstorvhdutil-don-t-retry-local-vhdutil-call-wh.patch @@ -1,7 +1,7 @@ From 9a688cb7ccdf0d6dacda5f92caff8fe6a058967d Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 7 Dec 2022 17:56:39 +0100 -Subject: [PATCH 099/177] fix(linstorvhdutil): don't retry local vhdutil call +Subject: [PATCH 099/178] fix(linstorvhdutil): don't retry local vhdutil call when EROFS is detected Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0100-feat-fork-log-daemon-ignore-SIGTERM.patch b/SOURCES/0100-feat-fork-log-daemon-ignore-SIGTERM.patch index 88f65fe..8ecc18b 100644 --- a/SOURCES/0100-feat-fork-log-daemon-ignore-SIGTERM.patch +++ b/SOURCES/0100-feat-fork-log-daemon-ignore-SIGTERM.patch @@ -1,7 +1,7 @@ From 3ff1971e28327c89e72f1df2d952339aed48ebeb Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 15 Dec 2022 14:36:04 +0100 -Subject: [PATCH 100/177] feat(fork-log-daemon): ignore SIGTERM +Subject: [PATCH 100/178] feat(fork-log-daemon): ignore SIGTERM Without this patch, the output logs of the fork-log-daemon child are never displayed when SIGTERM is sent to the PGID. diff --git a/SOURCES/0101-feat-LinstorSR-wait-for-http-disk-server-startup.patch b/SOURCES/0101-feat-LinstorSR-wait-for-http-disk-server-startup.patch index 56dc35a..9a72eaf 100644 --- a/SOURCES/0101-feat-LinstorSR-wait-for-http-disk-server-startup.patch +++ b/SOURCES/0101-feat-LinstorSR-wait-for-http-disk-server-startup.patch @@ -1,7 +1,7 @@ From 2023aa15d2bbd899eb6af814584b88a3deb3f6bf Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 16 Dec 2022 16:52:50 +0100 -Subject: [PATCH 101/177] feat(LinstorSR): wait for http-disk-server startup +Subject: [PATCH 101/178] feat(LinstorSR): wait for http-disk-server startup Avoid a race condition with NBD server. We must be sure the HTTP server is reachable before the NBD server execution, diff --git a/SOURCES/0102-fix-LinstorSR-handle-inflate-resize-actions-correctl.patch b/SOURCES/0102-fix-LinstorSR-handle-inflate-resize-actions-correctl.patch index df9479c..f05a394 100644 --- a/SOURCES/0102-fix-LinstorSR-handle-inflate-resize-actions-correctl.patch +++ b/SOURCES/0102-fix-LinstorSR-handle-inflate-resize-actions-correctl.patch @@ -1,7 +1,7 @@ From 574565e1b754b653ab88a8ad6d897a5725462fb4 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 16 Jan 2023 17:58:51 +0100 -Subject: [PATCH 102/177] fix(LinstorSR): handle inflate + resize actions +Subject: [PATCH 102/178] fix(LinstorSR): handle inflate + resize actions correctly - Ensure LINSTOR set the expected new volume size when inflate is executed, diff --git a/SOURCES/0103-fix-linstor-manager-add-a-static-iptables-rule-for-D.patch b/SOURCES/0103-fix-linstor-manager-add-a-static-iptables-rule-for-D.patch index 8736c29..e46910c 100644 --- a/SOURCES/0103-fix-linstor-manager-add-a-static-iptables-rule-for-D.patch +++ b/SOURCES/0103-fix-linstor-manager-add-a-static-iptables-rule-for-D.patch @@ -1,7 +1,7 @@ From 01efc1b1f0655e160932bb3667c0fa74733ec84c Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 17 Jan 2023 11:55:00 +0100 -Subject: [PATCH 103/177] fix(linstor-manager): add a static iptables rule for +Subject: [PATCH 103/178] fix(linstor-manager): add a static iptables rule for DRBD volumes Using the XAPI iptables firewall may drop DRBD packets when the connection diff --git a/SOURCES/0104-feat-LinstorSR-sync-with-last-http-nbd-transfer-vers.patch b/SOURCES/0104-feat-LinstorSR-sync-with-last-http-nbd-transfer-vers.patch index 21b5963..bb61cc5 100644 --- a/SOURCES/0104-feat-LinstorSR-sync-with-last-http-nbd-transfer-vers.patch +++ b/SOURCES/0104-feat-LinstorSR-sync-with-last-http-nbd-transfer-vers.patch @@ -1,7 +1,7 @@ From 511280dc71a3766cead7f37138cc3b8f843a187b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 3 Feb 2023 16:38:49 +0100 -Subject: [PATCH 104/177] feat(LinstorSR): sync with last http-nbd-transfer +Subject: [PATCH 104/178] feat(LinstorSR): sync with last http-nbd-transfer version - Increase auto promote timeout of heartbeat VDI to reduce CPU usage diff --git a/SOURCES/0105-fix-LinstorSR-don-t-check-VDI-metadata-while-listing.patch b/SOURCES/0105-fix-LinstorSR-don-t-check-VDI-metadata-while-listing.patch index 3446543..51da8de 100644 --- a/SOURCES/0105-fix-LinstorSR-don-t-check-VDI-metadata-while-listing.patch +++ b/SOURCES/0105-fix-LinstorSR-don-t-check-VDI-metadata-while-listing.patch @@ -1,7 +1,7 @@ From 344d0c58408c89f48fb41cb1bfd70e5bed56781e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 13 Feb 2023 17:24:16 +0100 -Subject: [PATCH 105/177] fix(LinstorSR): don't check VDI metadata while +Subject: [PATCH 105/178] fix(LinstorSR): don't check VDI metadata while listing VDIs if it's deleted Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0106-fix-LinstorSR-don-t-check-metadata-when-destroying-s.patch b/SOURCES/0106-fix-LinstorSR-don-t-check-metadata-when-destroying-s.patch index f0b94ad..dcee483 100644 --- a/SOURCES/0106-fix-LinstorSR-don-t-check-metadata-when-destroying-s.patch +++ b/SOURCES/0106-fix-LinstorSR-don-t-check-metadata-when-destroying-s.patch @@ -1,7 +1,7 @@ From a00ccf6b47da3012b77dcba6cc22e21124434ec9 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 13 Feb 2023 17:27:43 +0100 -Subject: [PATCH 106/177] fix(LinstorSR): don't check metadata when destroying +Subject: [PATCH 106/178] fix(LinstorSR): don't check metadata when destroying snap in undo_clone Remove useless check in the snap rollback helper when there is an error diff --git a/SOURCES/0107-fix-linstorvhdutil-handle-correctly-generic-exceptio.patch b/SOURCES/0107-fix-linstorvhdutil-handle-correctly-generic-exceptio.patch index 4846877..b8481b7 100644 --- a/SOURCES/0107-fix-linstorvhdutil-handle-correctly-generic-exceptio.patch +++ b/SOURCES/0107-fix-linstorvhdutil-handle-correctly-generic-exceptio.patch @@ -1,7 +1,7 @@ From 04722ec04e536210e0504bb784e649639d6af306 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 15 Feb 2023 11:34:54 +0100 -Subject: [PATCH 107/177] fix(linstorvhdutil): handle correctly generic +Subject: [PATCH 107/178] fix(linstorvhdutil): handle correctly generic exceptions in _raise_openers_exception Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0108-fix-minidrbdcluster-robustify-to-unmount-correctly-L.patch b/SOURCES/0108-fix-minidrbdcluster-robustify-to-unmount-correctly-L.patch index 796e273..bc30231 100644 --- a/SOURCES/0108-fix-minidrbdcluster-robustify-to-unmount-correctly-L.patch +++ b/SOURCES/0108-fix-minidrbdcluster-robustify-to-unmount-correctly-L.patch @@ -1,7 +1,7 @@ From 3b63e456318beb1746adab95136d142d1ee93f9e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 16 Feb 2023 14:24:07 +0100 -Subject: [PATCH 108/177] fix(minidrbdcluster): robustify to unmount correctly +Subject: [PATCH 108/178] fix(minidrbdcluster): robustify to unmount correctly LINSTOR DB There is a small delay during which the database may not be unmounted diff --git a/SOURCES/0109-fix-minidrbdcluster-handle-correctly-KeyboardInterru.patch b/SOURCES/0109-fix-minidrbdcluster-handle-correctly-KeyboardInterru.patch index 6e1765e..f5d8eed 100644 --- a/SOURCES/0109-fix-minidrbdcluster-handle-correctly-KeyboardInterru.patch +++ b/SOURCES/0109-fix-minidrbdcluster-handle-correctly-KeyboardInterru.patch @@ -1,7 +1,7 @@ From af8bb2c311fb2dcf54f158b60b62c4b77073bbe8 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 20 Feb 2023 19:30:18 +0100 -Subject: [PATCH 109/177] fix(minidrbdcluster): handle correctly +Subject: [PATCH 109/178] fix(minidrbdcluster): handle correctly KeyboardInterrupt with systemd units It's necessary to always add systemd services in the running list before diff --git a/SOURCES/0110-feat-LinstorSR-use-drbd-reactor-instead-of-minidrbdc.patch b/SOURCES/0110-feat-LinstorSR-use-drbd-reactor-instead-of-minidrbdc.patch index 9a60125..9acdb1d 100644 --- a/SOURCES/0110-feat-LinstorSR-use-drbd-reactor-instead-of-minidrbdc.patch +++ b/SOURCES/0110-feat-LinstorSR-use-drbd-reactor-instead-of-minidrbdc.patch @@ -1,7 +1,7 @@ From 180f9e933cad1eefb1d9694b4a98d912d70b8697 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 24 Feb 2023 14:28:29 +0100 -Subject: [PATCH 110/177] feat(LinstorSR): use drbd-reactor instead of +Subject: [PATCH 110/178] feat(LinstorSR): use drbd-reactor instead of minidrbdcluster Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0111-fix-LinstorSR-ensure-vhdutil-calls-are-correctly-exe.patch b/SOURCES/0111-fix-LinstorSR-ensure-vhdutil-calls-are-correctly-exe.patch index 7ba0109..1ff7ee3 100644 --- a/SOURCES/0111-fix-LinstorSR-ensure-vhdutil-calls-are-correctly-exe.patch +++ b/SOURCES/0111-fix-LinstorSR-ensure-vhdutil-calls-are-correctly-exe.patch @@ -1,7 +1,7 @@ From b49b91f7a56cc4e673fbc6edcc05bc40a14d1bea Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 1 Mar 2023 10:56:43 +0100 -Subject: [PATCH 111/177] fix(LinstorSR): ensure vhdutil calls are correctly +Subject: [PATCH 111/178] fix(LinstorSR): ensure vhdutil calls are correctly executed on pools with > 3 hosts Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0112-fix-LinstorSR-replace-bad-param-in-detach_thin-impl.patch b/SOURCES/0112-fix-LinstorSR-replace-bad-param-in-detach_thin-impl.patch index 446ca15..6a62a5a 100644 --- a/SOURCES/0112-fix-LinstorSR-replace-bad-param-in-detach_thin-impl.patch +++ b/SOURCES/0112-fix-LinstorSR-replace-bad-param-in-detach_thin-impl.patch @@ -1,7 +1,7 @@ From 099f7a633435610b5e09c487ef0d42473d8fd9a9 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 9 Mar 2023 17:06:59 +0100 -Subject: [PATCH 112/177] fix(LinstorSR): replace bad param in detach_thin impl +Subject: [PATCH 112/178] fix(LinstorSR): replace bad param in detach_thin impl To get the physical size, the volume UUID must be used, not the path. diff --git a/SOURCES/0113-fix-linstorvolumemanager-remove-usage-of-realpath.patch b/SOURCES/0113-fix-linstorvolumemanager-remove-usage-of-realpath.patch index 7a2a0be..e3f5cc1 100644 --- a/SOURCES/0113-fix-linstorvolumemanager-remove-usage-of-realpath.patch +++ b/SOURCES/0113-fix-linstorvolumemanager-remove-usage-of-realpath.patch @@ -1,7 +1,7 @@ From 1d84de36cf45bbaba8fa0ea993bba09e1c18616d Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 10 Mar 2023 18:11:10 +0100 -Subject: [PATCH 113/177] fix(linstorvolumemanager): remove usage of realpath +Subject: [PATCH 113/178] fix(linstorvolumemanager): remove usage of realpath Because a diskless DRBD path not always exist, get_volume_name_from_device_path can fail. It's easy to reproduce using > 4 hosts and with a call to linstorvhdutil.get_vhd_info: diff --git a/SOURCES/0114-fix-linstorvhdutil-avoid-parent-path-resolution.patch b/SOURCES/0114-fix-linstorvhdutil-avoid-parent-path-resolution.patch index bbc1c4e..8fe8f08 100644 --- a/SOURCES/0114-fix-linstorvhdutil-avoid-parent-path-resolution.patch +++ b/SOURCES/0114-fix-linstorvhdutil-avoid-parent-path-resolution.patch @@ -1,7 +1,7 @@ From e7550ad1ca7033adb3bb6dbc3c6a79fa2386d90b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 16 Mar 2023 18:54:46 +0100 -Subject: [PATCH 114/177] fix(linstorvhdutil): avoid parent path resolution +Subject: [PATCH 114/178] fix(linstorvhdutil): avoid parent path resolution When many hosts are used (>= 4), we can fail to get VHD info (with parent option) because the local parent VDI diff --git a/SOURCES/0115-fix-LinstorSR-create-parent-path-during-attach.patch b/SOURCES/0115-fix-LinstorSR-create-parent-path-during-attach.patch index f2f3337..64885ac 100644 --- a/SOURCES/0115-fix-LinstorSR-create-parent-path-during-attach.patch +++ b/SOURCES/0115-fix-LinstorSR-create-parent-path-during-attach.patch @@ -1,7 +1,7 @@ From 03a0c875d8ee453743237f36e9dcd9715f4a07d2 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 17 Mar 2023 12:06:08 +0100 -Subject: [PATCH 115/177] fix(LinstorSR): create parent path during attach +Subject: [PATCH 115/178] fix(LinstorSR): create parent path during attach It's necessary to force DRBD diskless path creation when a VDI is attached. Otherwise the attach can fail on pool with diff --git a/SOURCES/0116-fix-LinstorSR-retry-if-we-can-t-build-volume-cache.patch b/SOURCES/0116-fix-LinstorSR-retry-if-we-can-t-build-volume-cache.patch index 54aefd2..9abc96f 100644 --- a/SOURCES/0116-fix-LinstorSR-retry-if-we-can-t-build-volume-cache.patch +++ b/SOURCES/0116-fix-LinstorSR-retry-if-we-can-t-build-volume-cache.patch @@ -1,7 +1,7 @@ From 601a07072f2ce0bb275c31a0daa5d803d9cfc885 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 3 Apr 2023 10:03:57 +0200 -Subject: [PATCH 116/177] fix(LinstorSR): retry if we can't build volume cache +Subject: [PATCH 116/178] fix(LinstorSR): retry if we can't build volume cache Otherwise after SR creation, the master PBD can be unplugged. See: https://xcp-ng.org/forum/post/60726 diff --git a/SOURCES/0117-fix-linstorvolumemanager-reduce-peer-slots-param-to-.patch b/SOURCES/0117-fix-linstorvolumemanager-reduce-peer-slots-param-to-.patch index 371b903..62f80ad 100644 --- a/SOURCES/0117-fix-linstorvolumemanager-reduce-peer-slots-param-to-.patch +++ b/SOURCES/0117-fix-linstorvolumemanager-reduce-peer-slots-param-to-.patch @@ -1,7 +1,7 @@ From 2d862e93882ff9d63aa75c39d671825aeeefeba7 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 25 Apr 2023 10:46:00 +0200 -Subject: [PATCH 117/177] fix(linstorvolumemanager): reduce peer-slots param to +Subject: [PATCH 117/178] fix(linstorvolumemanager): reduce peer-slots param to 3 Because we use 3 backing disks at most, it's useless to increase the default linstor limit (8). diff --git a/SOURCES/0118-fix-LinstorSR-attach-a-valid-XAPI-session-is_open-is.patch b/SOURCES/0118-fix-LinstorSR-attach-a-valid-XAPI-session-is_open-is.patch index fd807a8..901db83 100644 --- a/SOURCES/0118-fix-LinstorSR-attach-a-valid-XAPI-session-is_open-is.patch +++ b/SOURCES/0118-fix-LinstorSR-attach-a-valid-XAPI-session-is_open-is.patch @@ -1,7 +1,7 @@ From e13b45dc17a75702f4a6999e9bc28105ee0e48fb Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 25 Apr 2023 11:20:55 +0200 -Subject: [PATCH 118/177] fix(LinstorSR): attach a valid XAPI session is_open +Subject: [PATCH 118/178] fix(LinstorSR): attach a valid XAPI session is_open is called Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0119-fix-LinstorSR-ensure-we-always-have-a-DRBD-path-to-s.patch b/SOURCES/0119-fix-LinstorSR-ensure-we-always-have-a-DRBD-path-to-s.patch index efa18e3..fb9391d 100644 --- a/SOURCES/0119-fix-LinstorSR-ensure-we-always-have-a-DRBD-path-to-s.patch +++ b/SOURCES/0119-fix-LinstorSR-ensure-we-always-have-a-DRBD-path-to-s.patch @@ -1,7 +1,7 @@ From 05bc50d10da120a065fff476a0a0532058d8192e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 28 Apr 2023 10:43:27 +0200 -Subject: [PATCH 119/177] fix(LinstorSR): ensure we always have a DRBD path to +Subject: [PATCH 119/178] fix(LinstorSR): ensure we always have a DRBD path to snap Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0120-fix-LinstorSR-remove-hosts-ips-param.patch b/SOURCES/0120-fix-LinstorSR-remove-hosts-ips-param.patch index f4aef61..ae27b71 100644 --- a/SOURCES/0120-fix-LinstorSR-remove-hosts-ips-param.patch +++ b/SOURCES/0120-fix-LinstorSR-remove-hosts-ips-param.patch @@ -1,7 +1,7 @@ From c7030966d57e33747b6dde463f35e9d7d79e6fb5 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 30 May 2023 11:19:13 +0200 -Subject: [PATCH 120/177] fix(LinstorSR): remove hosts/ips param +Subject: [PATCH 120/178] fix(LinstorSR): remove hosts/ips param --- drivers/LinstorSR.py | 47 +++++---------------------------- diff --git a/SOURCES/0121-fix-LinstorSR-compute-correctly-SR-size-using-pool-c.patch b/SOURCES/0121-fix-LinstorSR-compute-correctly-SR-size-using-pool-c.patch index 0039908..d4f01ac 100644 --- a/SOURCES/0121-fix-LinstorSR-compute-correctly-SR-size-using-pool-c.patch +++ b/SOURCES/0121-fix-LinstorSR-compute-correctly-SR-size-using-pool-c.patch @@ -1,7 +1,7 @@ From 54fa0adaf9bd385ca6e3f7b2eab5616f10b458be Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 1 Jun 2023 17:40:37 +0200 -Subject: [PATCH 121/177] fix(LinstorSR): compute correctly SR size using pool +Subject: [PATCH 121/178] fix(LinstorSR): compute correctly SR size using pool count Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0122-fix-blktap2-ensure-we-can-import-this-module-when-LI.patch b/SOURCES/0122-fix-blktap2-ensure-we-can-import-this-module-when-LI.patch index becc395..9b31a78 100644 --- a/SOURCES/0122-fix-blktap2-ensure-we-can-import-this-module-when-LI.patch +++ b/SOURCES/0122-fix-blktap2-ensure-we-can-import-this-module-when-LI.patch @@ -1,7 +1,7 @@ From 3cf1299c59cab4cf4f92a7a98db1757b0c876996 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 6 Jun 2023 11:50:54 +0200 -Subject: [PATCH 122/177] fix(blktap2): ensure we can import this module when +Subject: [PATCH 122/178] fix(blktap2): ensure we can import this module when LINSTOR is not installed Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0123-fix-LinstorSR-ensure-volume-cache-can-be-recreated.patch b/SOURCES/0123-fix-LinstorSR-ensure-volume-cache-can-be-recreated.patch index 4cf95c0..53a6676 100644 --- a/SOURCES/0123-fix-LinstorSR-ensure-volume-cache-can-be-recreated.patch +++ b/SOURCES/0123-fix-LinstorSR-ensure-volume-cache-can-be-recreated.patch @@ -1,7 +1,7 @@ From b06882d0cdb391ca92cd08146b935648cbb6ef6e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 21 Jun 2023 14:10:18 +0200 -Subject: [PATCH 123/177] fix(LinstorSR): ensure volume cache can be recreated +Subject: [PATCH 123/178] fix(LinstorSR): ensure volume cache can be recreated After SR creation we may fail to load volumes with this exception: "Failed to get usable size of..." and so we can't plug the master PBD. diff --git a/SOURCES/0124-fix-linstor-manager-remove-dead-useless-code-in-add-.patch b/SOURCES/0124-fix-linstor-manager-remove-dead-useless-code-in-add-.patch index 3424fe3..f493fee 100644 --- a/SOURCES/0124-fix-linstor-manager-remove-dead-useless-code-in-add-.patch +++ b/SOURCES/0124-fix-linstor-manager-remove-dead-useless-code-in-add-.patch @@ -1,7 +1,7 @@ From 085905977ebf04aea99cc2301aaea15fd1f8ee4f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 20 Jul 2023 10:46:33 +0200 -Subject: [PATCH 124/177] fix(linstor-manager): remove dead/useless code in +Subject: [PATCH 124/178] fix(linstor-manager): remove dead/useless code in add/remove_host helpers Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0125-fix-LinstorSR-Ensure-we-always-have-a-device-path-du.patch b/SOURCES/0125-fix-LinstorSR-Ensure-we-always-have-a-device-path-du.patch index 3cac9a0..cb2648e 100644 --- a/SOURCES/0125-fix-LinstorSR-Ensure-we-always-have-a-device-path-du.patch +++ b/SOURCES/0125-fix-LinstorSR-Ensure-we-always-have-a-device-path-du.patch @@ -1,7 +1,7 @@ From 6dc4f983d955ca094c0bfb580cfda4dbb194ca3d Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 1 Aug 2023 15:16:17 +0200 -Subject: [PATCH 125/177] fix(LinstorSR): Ensure we always have a device path +Subject: [PATCH 125/178] fix(LinstorSR): Ensure we always have a device path during leaf-coalesce calls So we must not verify that we have a valid DRBD path in the load step, diff --git a/SOURCES/0126-fix-LinstorSR-always-use-lock.acquire-during-attach-.patch b/SOURCES/0126-fix-LinstorSR-always-use-lock.acquire-during-attach-.patch index ed9d595..94b6b85 100644 --- a/SOURCES/0126-fix-LinstorSR-always-use-lock.acquire-during-attach-.patch +++ b/SOURCES/0126-fix-LinstorSR-always-use-lock.acquire-during-attach-.patch @@ -1,7 +1,7 @@ From a4de2c2acab46a3d45ffea3be0818669ed559320 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 16 Aug 2023 12:04:01 +0200 -Subject: [PATCH 126/177] fix(LinstorSR): always use lock.acquire() during +Subject: [PATCH 126/178] fix(LinstorSR): always use lock.acquire() during attach/detach We can't use a retry range on the lock because we can trigger a bad situation diff --git a/SOURCES/0127-fix-LinstorSR-mare-sure-hostnames-are-unique-at-SR-c.patch b/SOURCES/0127-fix-LinstorSR-mare-sure-hostnames-are-unique-at-SR-c.patch index e91d273..5fab600 100644 --- a/SOURCES/0127-fix-LinstorSR-mare-sure-hostnames-are-unique-at-SR-c.patch +++ b/SOURCES/0127-fix-LinstorSR-mare-sure-hostnames-are-unique-at-SR-c.patch @@ -1,7 +1,7 @@ From a7c3c1602e8210ebd74741d5c8ec2f1ef474918b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 17 Aug 2023 14:52:13 +0200 -Subject: [PATCH 127/177] fix(LinstorSR): mare sure hostnames are unique at SR +Subject: [PATCH 127/178] fix(LinstorSR): mare sure hostnames are unique at SR creation Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0128-fix-LinstorSR-ensure-we-can-attach-non-special-stati.patch b/SOURCES/0128-fix-LinstorSR-ensure-we-can-attach-non-special-stati.patch index e9af586..67f06ad 100644 --- a/SOURCES/0128-fix-LinstorSR-ensure-we-can-attach-non-special-stati.patch +++ b/SOURCES/0128-fix-LinstorSR-ensure-we-can-attach-non-special-stati.patch @@ -1,7 +1,7 @@ From 54bca8660c18628ec36c1835b9f14aec80c187a8 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 18 Aug 2023 11:06:56 +0200 -Subject: [PATCH 128/177] fix(LinstorSR): ensure we can attach non-special +Subject: [PATCH 128/178] fix(LinstorSR): ensure we can attach non-special static VDIs Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0129-fix-LinstorSR-ensure-we-can-detach-when-deflate-call.patch b/SOURCES/0129-fix-LinstorSR-ensure-we-can-detach-when-deflate-call.patch index 7a58884..bcb5c76 100644 --- a/SOURCES/0129-fix-LinstorSR-ensure-we-can-detach-when-deflate-call.patch +++ b/SOURCES/0129-fix-LinstorSR-ensure-we-can-detach-when-deflate-call.patch @@ -1,7 +1,7 @@ From 9a295973c226d411ab4276b5bee8a241dc7c555e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 31 Aug 2023 18:00:27 +0200 -Subject: [PATCH 129/177] fix(LinstorSR): ensure we can detach when deflate +Subject: [PATCH 129/178] fix(LinstorSR): ensure we can detach when deflate call is not possible Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0130-fix-LinstorSR-assume-VDI-is-always-a-VHD-when-the-in.patch b/SOURCES/0130-fix-LinstorSR-assume-VDI-is-always-a-VHD-when-the-in.patch index 610ce8f..e4ad3e5 100644 --- a/SOURCES/0130-fix-LinstorSR-assume-VDI-is-always-a-VHD-when-the-in.patch +++ b/SOURCES/0130-fix-LinstorSR-assume-VDI-is-always-a-VHD-when-the-in.patch @@ -1,7 +1,7 @@ From 0065166fc2de0bb1368eb590d6a12762cabdda04 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 28 Sep 2023 16:00:02 +0200 -Subject: [PATCH 130/177] fix(LinstorSR): assume VDI is always a VHD when the +Subject: [PATCH 130/178] fix(LinstorSR): assume VDI is always a VHD when the info is missing during cleanup Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0131-fix-LinstorSR-remove-SR-lock-during-thin-attach-deta.patch b/SOURCES/0131-fix-LinstorSR-remove-SR-lock-during-thin-attach-deta.patch index ce3ebf7..82f8b66 100644 --- a/SOURCES/0131-fix-LinstorSR-remove-SR-lock-during-thin-attach-deta.patch +++ b/SOURCES/0131-fix-LinstorSR-remove-SR-lock-during-thin-attach-deta.patch @@ -1,7 +1,7 @@ From f894c7a0cadbed19314bb93e04bdc4a7a6bcb62b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 2 Oct 2023 16:48:49 +0200 -Subject: [PATCH 131/177] fix(LinstorSR): remove SR lock during thin +Subject: [PATCH 131/178] fix(LinstorSR): remove SR lock during thin attach/detach This lock is normally useless and can create a dead lock when thin mode is activated: diff --git a/SOURCES/0132-fix-LinstorSR-ensure-database-is-mounted-during-scan.patch b/SOURCES/0132-fix-LinstorSR-ensure-database-is-mounted-during-scan.patch index 89966d4..a9b85f8 100644 --- a/SOURCES/0132-fix-LinstorSR-ensure-database-is-mounted-during-scan.patch +++ b/SOURCES/0132-fix-LinstorSR-ensure-database-is-mounted-during-scan.patch @@ -1,7 +1,7 @@ From 30b45e72a11b9e72a9edcdd22d71a15b8d132e63 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 3 Oct 2023 18:42:42 +0200 -Subject: [PATCH 132/177] fix(LinstorSR): ensure database is mounted during +Subject: [PATCH 132/178] fix(LinstorSR): ensure database is mounted during scan Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0133-fix-LinstorSR-restart-drbd-reactor-in-case-of-failur.patch b/SOURCES/0133-fix-LinstorSR-restart-drbd-reactor-in-case-of-failur.patch index 503effa..7f1962d 100644 --- a/SOURCES/0133-fix-LinstorSR-restart-drbd-reactor-in-case-of-failur.patch +++ b/SOURCES/0133-fix-LinstorSR-restart-drbd-reactor-in-case-of-failur.patch @@ -1,7 +1,7 @@ From 6603e355de8b19f851669fa3d58a42662ea4e0eb Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 4 Oct 2023 14:30:36 +0200 -Subject: [PATCH 133/177] fix(LinstorSR): restart drbd-reactor in case of +Subject: [PATCH 133/178] fix(LinstorSR): restart drbd-reactor in case of failure Otherwise we can have all hosts unusable after a massive reboot: diff --git a/SOURCES/0134-fix-linstorvolumemanager-retry-in-case-of-failure-du.patch b/SOURCES/0134-fix-linstorvolumemanager-retry-in-case-of-failure-du.patch index 31f2a66..f19ebf3 100644 --- a/SOURCES/0134-fix-linstorvolumemanager-retry-in-case-of-failure-du.patch +++ b/SOURCES/0134-fix-linstorvolumemanager-retry-in-case-of-failure-du.patch @@ -1,7 +1,7 @@ From ac881521fa06183435435e47933c6e7f034dfed8 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 9 Oct 2023 10:37:32 +0200 -Subject: [PATCH 134/177] fix(linstorvolumemanager): retry in case of failure +Subject: [PATCH 134/178] fix(linstorvolumemanager): retry in case of failure during mkfs call on database The device is not always ready after creation. diff --git a/SOURCES/0135-fix-linstorvolumemanager-avoid-diskless-creation-whe.patch b/SOURCES/0135-fix-linstorvolumemanager-avoid-diskless-creation-whe.patch index b55b86f..537f0a9 100644 --- a/SOURCES/0135-fix-linstorvolumemanager-avoid-diskless-creation-whe.patch +++ b/SOURCES/0135-fix-linstorvolumemanager-avoid-diskless-creation-whe.patch @@ -1,7 +1,7 @@ From 69ddfe0cf317308e2097ef4cacb081b9c4c60c40 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 26 Sep 2023 11:48:38 +0200 -Subject: [PATCH 135/177] fix(linstorvolumemanager): avoid diskless creation +Subject: [PATCH 135/178] fix(linstorvolumemanager): avoid diskless creation when a new resource is added Like said in this discussion https://github.com/xcp-ng/sm/pull/34 : diff --git a/SOURCES/0136-fix-LinstorSR-remove-diskless-after-VDI.detach-calls.patch b/SOURCES/0136-fix-LinstorSR-remove-diskless-after-VDI.detach-calls.patch index 8daf637..1030aa2 100644 --- a/SOURCES/0136-fix-LinstorSR-remove-diskless-after-VDI.detach-calls.patch +++ b/SOURCES/0136-fix-LinstorSR-remove-diskless-after-VDI.detach-calls.patch @@ -1,7 +1,7 @@ From 7e6f37fb95ad0974b7e4be3e336b348517fa0946 Mon Sep 17 00:00:00 2001 From: Rene Peinthor Date: Tue, 25 Jul 2023 11:19:39 +0200 -Subject: [PATCH 136/177] fix(LinstorSR): remove diskless after VDI.detach +Subject: [PATCH 136/178] fix(LinstorSR): remove diskless after VDI.detach calls Signed-off-by: Rene Peinthor diff --git a/SOURCES/0137-fix-LinstorSR-robustify-_load_vdi_info-in-cleanup.py.patch b/SOURCES/0137-fix-LinstorSR-robustify-_load_vdi_info-in-cleanup.py.patch index e6446d0..a4594e2 100644 --- a/SOURCES/0137-fix-LinstorSR-robustify-_load_vdi_info-in-cleanup.py.patch +++ b/SOURCES/0137-fix-LinstorSR-robustify-_load_vdi_info-in-cleanup.py.patch @@ -1,7 +1,7 @@ From 995c6b7cf9ecb9baee34e05586320ccb4339651b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 11 Oct 2023 12:39:56 +0200 -Subject: [PATCH 137/177] fix(LinstorSR): robustify _load_vdi_info in +Subject: [PATCH 137/178] fix(LinstorSR): robustify _load_vdi_info in cleanup.py After a failed snapshot like that: diff --git a/SOURCES/0138-fix-LinstorSR-ensure-detach-never-fails-on-plugin-fa.patch b/SOURCES/0138-fix-LinstorSR-ensure-detach-never-fails-on-plugin-fa.patch index 51f0ecb..cdae4a2 100644 --- a/SOURCES/0138-fix-LinstorSR-ensure-detach-never-fails-on-plugin-fa.patch +++ b/SOURCES/0138-fix-LinstorSR-ensure-detach-never-fails-on-plugin-fa.patch @@ -1,7 +1,7 @@ From 64d36a80ff1e19ee7b4a8816f537b1e90ccda32f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 23 Oct 2023 14:31:27 +0200 -Subject: [PATCH 138/177] fix(LinstorSR): ensure detach never fails on plugin +Subject: [PATCH 138/178] fix(LinstorSR): ensure detach never fails on plugin failure Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0139-fix-LinstorSR-ensure-we-coalesce-only-volumes-with-a.patch b/SOURCES/0139-fix-LinstorSR-ensure-we-coalesce-only-volumes-with-a.patch index b7211db..e9995f4 100644 --- a/SOURCES/0139-fix-LinstorSR-ensure-we-coalesce-only-volumes-with-a.patch +++ b/SOURCES/0139-fix-LinstorSR-ensure-we-coalesce-only-volumes-with-a.patch @@ -1,7 +1,7 @@ From c9ab4bc2198754e8eacc2fe4699eb5e6e5e4728e Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 23 Oct 2023 15:52:23 +0200 -Subject: [PATCH 139/177] fix(LinstorSR): ensure we coalesce only volumes with +Subject: [PATCH 139/178] fix(LinstorSR): ensure we coalesce only volumes with a valid size --- diff --git a/SOURCES/0140-fix-LinstorSR-don-t-try-to-repair-persistent-volumes.patch b/SOURCES/0140-fix-LinstorSR-don-t-try-to-repair-persistent-volumes.patch index d58554b..52b1419 100644 --- a/SOURCES/0140-fix-LinstorSR-don-t-try-to-repair-persistent-volumes.patch +++ b/SOURCES/0140-fix-LinstorSR-don-t-try-to-repair-persistent-volumes.patch @@ -1,7 +1,7 @@ From e615d0cc2f5dad974bec0de819fa3bf0a4b5d07a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 24 Oct 2023 11:57:40 +0200 -Subject: [PATCH 140/177] fix(LinstorSR): don't try to repair persistent +Subject: [PATCH 140/178] fix(LinstorSR): don't try to repair persistent volumes in GC Use constants to simplify maintenance. diff --git a/SOURCES/0141-fix-linstorvhdutil-format-correctly-message-if-vhd-u.patch b/SOURCES/0141-fix-linstorvhdutil-format-correctly-message-if-vhd-u.patch index edabecf..7c0ce6c 100644 --- a/SOURCES/0141-fix-linstorvhdutil-format-correctly-message-if-vhd-u.patch +++ b/SOURCES/0141-fix-linstorvhdutil-format-correctly-message-if-vhd-u.patch @@ -1,7 +1,7 @@ From ed396144e6293ac060fe8bbfde48363ed0313468 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 14 Nov 2023 18:21:53 +0100 -Subject: [PATCH 141/177] fix(linstorvhdutil): format correctly message if +Subject: [PATCH 141/178] fix(linstorvhdutil): format correctly message if vhd-util cannot be run Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0142-fix-LinstorSR-wait-during-attach-to-open-DRBD-path.patch b/SOURCES/0142-fix-LinstorSR-wait-during-attach-to-open-DRBD-path.patch index 2e92d27..dfa9e42 100644 --- a/SOURCES/0142-fix-LinstorSR-wait-during-attach-to-open-DRBD-path.patch +++ b/SOURCES/0142-fix-LinstorSR-wait-during-attach-to-open-DRBD-path.patch @@ -1,7 +1,7 @@ From 7d872f79b8857c2db490cf0c77a5c1c647af59e2 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 24 Oct 2023 23:07:23 +0200 -Subject: [PATCH 142/177] fix(LinstorSR): wait during attach to open DRBD path +Subject: [PATCH 142/178] fix(LinstorSR): wait during attach to open DRBD path ENODATA and other errors like EROFS can be raised when a new DRBD path is created on the fly. So ensure to block before tapdisk starts. diff --git a/SOURCES/0143-fix-LinstorSR-support-different-volume-sizes-in-clea.patch b/SOURCES/0143-fix-LinstorSR-support-different-volume-sizes-in-clea.patch index 4237fc8..1ff35f7 100644 --- a/SOURCES/0143-fix-LinstorSR-support-different-volume-sizes-in-clea.patch +++ b/SOURCES/0143-fix-LinstorSR-support-different-volume-sizes-in-clea.patch @@ -1,7 +1,7 @@ From d1e3ace3c5c16ba428c4151482f4065d09930621 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 14 Nov 2023 18:08:26 +0100 -Subject: [PATCH 143/177] fix(LinstorSR): support different volume sizes in +Subject: [PATCH 143/178] fix(LinstorSR): support different volume sizes in cleanup.py Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0144-fix-LinstorSR-remove-useless-IPS_XHA_CACHE-var.patch b/SOURCES/0144-fix-LinstorSR-remove-useless-IPS_XHA_CACHE-var.patch index c147a46..31231f1 100644 --- a/SOURCES/0144-fix-LinstorSR-remove-useless-IPS_XHA_CACHE-var.patch +++ b/SOURCES/0144-fix-LinstorSR-remove-useless-IPS_XHA_CACHE-var.patch @@ -1,7 +1,7 @@ From 79d4085610ef1ca85107eccd5a6e79f91d460027 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 20 Nov 2023 10:52:27 +0100 -Subject: [PATCH 144/177] fix(LinstorSR): remove useless IPS_XHA_CACHE var +Subject: [PATCH 144/178] fix(LinstorSR): remove useless IPS_XHA_CACHE var Signed-off-by: Ronan Abhamon --- diff --git a/SOURCES/0145-fix-LinstorSR-ensure-we-can-deflate-on-any-host-afte.patch b/SOURCES/0145-fix-LinstorSR-ensure-we-can-deflate-on-any-host-afte.patch index d10edce..da8c1af 100644 --- a/SOURCES/0145-fix-LinstorSR-ensure-we-can-deflate-on-any-host-afte.patch +++ b/SOURCES/0145-fix-LinstorSR-ensure-we-can-deflate-on-any-host-afte.patch @@ -1,7 +1,7 @@ From 5cd04079c9bca752f6f78532ad1ae0bf962c3902 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 21 Nov 2023 13:50:24 +0100 -Subject: [PATCH 145/177] fix(LinstorSR): ensure we can deflate on any host +Subject: [PATCH 145/178] fix(LinstorSR): ensure we can deflate on any host after a journal rollback Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0146-fix-LinstorSR-ensure-we-always-use-real-DRBD-VHD-siz.patch b/SOURCES/0146-fix-LinstorSR-ensure-we-always-use-real-DRBD-VHD-siz.patch index bfb2bb1..055a0d6 100644 --- a/SOURCES/0146-fix-LinstorSR-ensure-we-always-use-real-DRBD-VHD-siz.patch +++ b/SOURCES/0146-fix-LinstorSR-ensure-we-always-use-real-DRBD-VHD-siz.patch @@ -1,7 +1,7 @@ From f3726fc7b992ceb2d51e3e1725cc1cb6eff2dc77 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 27 Nov 2023 12:15:43 +0100 -Subject: [PATCH 146/177] fix(LinstorSR): ensure we always use real DRBD/VHD +Subject: [PATCH 146/178] fix(LinstorSR): ensure we always use real DRBD/VHD sizes in inflate/deflate GC calls --- diff --git a/SOURCES/0147-feat-linstor-kv-tool-If-no-controller-uri-option-is-.patch b/SOURCES/0147-feat-linstor-kv-tool-If-no-controller-uri-option-is-.patch index 6d24bfa..d2e5f78 100644 --- a/SOURCES/0147-feat-linstor-kv-tool-If-no-controller-uri-option-is-.patch +++ b/SOURCES/0147-feat-linstor-kv-tool-If-no-controller-uri-option-is-.patch @@ -1,7 +1,7 @@ From 95d463f76f5227f4dd4726c50695c739882f92a2 Mon Sep 17 00:00:00 2001 From: BenjiReis Date: Mon, 27 Nov 2023 14:23:57 +0100 -Subject: [PATCH 147/177] feat(linstor-kv-tool): If no controller uri option is +Subject: [PATCH 147/178] feat(linstor-kv-tool): If no controller uri option is provided fetch it (#48) Signed-off-by: BenjiReis diff --git a/SOURCES/0148-fix-linstorvolumemanager-robustify-SR-destroy-46.patch b/SOURCES/0148-fix-linstorvolumemanager-robustify-SR-destroy-46.patch index c7b6e7e..d20cd7c 100644 --- a/SOURCES/0148-fix-linstorvolumemanager-robustify-SR-destroy-46.patch +++ b/SOURCES/0148-fix-linstorvolumemanager-robustify-SR-destroy-46.patch @@ -1,7 +1,7 @@ From b8e4a29597f8dc8034e4ea307cd5e347d6a3b631 Mon Sep 17 00:00:00 2001 From: BenjiReis Date: Wed, 29 Nov 2023 15:45:32 +0100 -Subject: [PATCH 148/177] fix(linstorvolumemanager): robustify SR destroy (#46) +Subject: [PATCH 148/178] fix(linstorvolumemanager): robustify SR destroy (#46) Signed-off-by: Ronan Abhamon Co-authored-by: BenjiReis diff --git a/SOURCES/0149-feat-linstor-manager-extend-API-with-createNodeInter.patch b/SOURCES/0149-feat-linstor-manager-extend-API-with-createNodeInter.patch index 2d0c241..43464d9 100644 --- a/SOURCES/0149-feat-linstor-manager-extend-API-with-createNodeInter.patch +++ b/SOURCES/0149-feat-linstor-manager-extend-API-with-createNodeInter.patch @@ -1,7 +1,7 @@ From 9a3af8ca152d5f94314886acb12f1971892bdf22 Mon Sep 17 00:00:00 2001 From: BenjiReis Date: Wed, 29 Nov 2023 16:54:30 +0100 -Subject: [PATCH 149/177] feat(linstor-manager): extend API with +Subject: [PATCH 149/178] feat(linstor-manager): extend API with createNodeInterface and setNodePreferredInterface (#47) Signed-off-by: BenjiReis diff --git a/SOURCES/0150-fix-LinstorSR-support-VDI.resize-on-thick-volumes.patch b/SOURCES/0150-fix-LinstorSR-support-VDI.resize-on-thick-volumes.patch index e4f46fe..30378d9 100644 --- a/SOURCES/0150-fix-LinstorSR-support-VDI.resize-on-thick-volumes.patch +++ b/SOURCES/0150-fix-LinstorSR-support-VDI.resize-on-thick-volumes.patch @@ -1,7 +1,7 @@ From 36459279481994f97bb186e6522c117b9669120a Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 1 Dec 2023 11:55:12 +0100 -Subject: [PATCH 150/177] fix(LinstorSR): support VDI.resize on thick volumes +Subject: [PATCH 150/178] fix(LinstorSR): support VDI.resize on thick volumes --- drivers/LinstorSR.py | 3 +++ diff --git a/SOURCES/0151-fix-linstorvolumemanager-format-correctly-exception-.patch b/SOURCES/0151-fix-linstorvolumemanager-format-correctly-exception-.patch index 7e467ea..64c1b57 100644 --- a/SOURCES/0151-fix-linstorvolumemanager-format-correctly-exception-.patch +++ b/SOURCES/0151-fix-linstorvolumemanager-format-correctly-exception-.patch @@ -1,7 +1,7 @@ From 4119be3b2769b7c29013cb5f60e68238a439b474 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 4 Dec 2023 16:36:55 +0100 -Subject: [PATCH 151/177] fix(linstorvolumemanager): format correctly exception +Subject: [PATCH 151/178] fix(linstorvolumemanager): format correctly exception during db mount Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0152-fix-LinstorSR-ensure-we-can-skip-coalesces-if-device.patch b/SOURCES/0152-fix-LinstorSR-ensure-we-can-skip-coalesces-if-device.patch index 8646443..872baef 100644 --- a/SOURCES/0152-fix-LinstorSR-ensure-we-can-skip-coalesces-if-device.patch +++ b/SOURCES/0152-fix-LinstorSR-ensure-we-can-skip-coalesces-if-device.patch @@ -1,7 +1,7 @@ From 9f3c9d85430ad14214b25fc6d529c88e8c217985 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 4 Dec 2023 18:57:08 +0100 -Subject: [PATCH 152/177] fix(LinstorSR): ensure we can skip coalesces if +Subject: [PATCH 152/178] fix(LinstorSR): ensure we can skip coalesces if device path can't be fetched Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0153-feat-linstor-manager-add-methods-to-modify-destroy-l.patch b/SOURCES/0153-feat-linstor-manager-add-methods-to-modify-destroy-l.patch index a5c1577..d4cb22a 100644 --- a/SOURCES/0153-feat-linstor-manager-add-methods-to-modify-destroy-l.patch +++ b/SOURCES/0153-feat-linstor-manager-add-methods-to-modify-destroy-l.patch @@ -1,7 +1,7 @@ From d607e5c450a9cbe39ea5826c2a4ec7f63751f805 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 19 Dec 2023 14:49:33 +0100 -Subject: [PATCH 153/177] feat(linstor-manager): add methods to +Subject: [PATCH 153/178] feat(linstor-manager): add methods to modify/destroy/list net interfaces Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0154-fix-LinstorSR-force-a-defined-volume-prefix-if-we-ca.patch b/SOURCES/0154-fix-LinstorSR-force-a-defined-volume-prefix-if-we-ca.patch index 2a5a415..2a6bcd5 100644 --- a/SOURCES/0154-fix-LinstorSR-force-a-defined-volume-prefix-if-we-ca.patch +++ b/SOURCES/0154-fix-LinstorSR-force-a-defined-volume-prefix-if-we-ca.patch @@ -1,7 +1,7 @@ From 0fcc4fbd4814578062bf83d7e26f3975cc120cd1 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 12 Jan 2024 10:28:20 +0100 -Subject: [PATCH 154/177] fix(LinstorSR): force a defined volume prefix if we +Subject: [PATCH 154/178] fix(LinstorSR): force a defined volume prefix if we can't import libs Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0155-fix-LinstorSR-explicit-error-message-when-a-group-is.patch b/SOURCES/0155-fix-LinstorSR-explicit-error-message-when-a-group-is.patch index 9e9f9d3..3db4613 100644 --- a/SOURCES/0155-fix-LinstorSR-explicit-error-message-when-a-group-is.patch +++ b/SOURCES/0155-fix-LinstorSR-explicit-error-message-when-a-group-is.patch @@ -1,7 +1,7 @@ From c83b1aeacc1db0ec6110accaa128eed05eb36294 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 18 Jan 2024 10:24:01 +0100 -Subject: [PATCH 155/177] fix(LinstorSR): explicit error message when a group +Subject: [PATCH 155/178] fix(LinstorSR): explicit error message when a group is not unique during SR creation Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0156-fix-LinstorSR-make-sure-VDI.delete-doesn-t-throw-und.patch b/SOURCES/0156-fix-LinstorSR-make-sure-VDI.delete-doesn-t-throw-und.patch index 900be09..adb64dc 100644 --- a/SOURCES/0156-fix-LinstorSR-make-sure-VDI.delete-doesn-t-throw-und.patch +++ b/SOURCES/0156-fix-LinstorSR-make-sure-VDI.delete-doesn-t-throw-und.patch @@ -1,7 +1,7 @@ From a428724082121c6a61de9636efdeb3b0f2aead49 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 18 Jan 2024 11:18:11 +0100 -Subject: [PATCH 156/177] fix(LinstorSR): make sure VDI.delete doesn't throw +Subject: [PATCH 156/178] fix(LinstorSR): make sure VDI.delete doesn't throw under specific conditions If we can update the volume state in the KV-store, there is no reason to raise diff --git a/SOURCES/0157-fix-LinstorSR-add-drbd-in-the-blacklist-of-multipath.patch b/SOURCES/0157-fix-LinstorSR-add-drbd-in-the-blacklist-of-multipath.patch index aff4b33..f204cef 100644 --- a/SOURCES/0157-fix-LinstorSR-add-drbd-in-the-blacklist-of-multipath.patch +++ b/SOURCES/0157-fix-LinstorSR-add-drbd-in-the-blacklist-of-multipath.patch @@ -1,7 +1,7 @@ From db9f69a83b5402daf90fd1d2c44d9e65e37708c5 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 19 Jan 2024 14:39:17 +0100 -Subject: [PATCH 157/177] fix(LinstorSR): add drbd in the blacklist of +Subject: [PATCH 157/178] fix(LinstorSR): add drbd in the blacklist of multipath.conf If DRBD is installed for the first time, and if the multipathd diff --git a/SOURCES/0158-fix-linstorvolumemanager-create-cloned-volumes-on-ho.patch b/SOURCES/0158-fix-linstorvolumemanager-create-cloned-volumes-on-ho.patch index 0f3c89e..bfe071b 100644 --- a/SOURCES/0158-fix-linstorvolumemanager-create-cloned-volumes-on-ho.patch +++ b/SOURCES/0158-fix-linstorvolumemanager-create-cloned-volumes-on-ho.patch @@ -1,7 +1,7 @@ From 4dbb05941ce89601e4766452e87e75a8abfbc63c Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 22 Jan 2024 11:25:25 +0100 -Subject: [PATCH 158/177] fix(linstorvolumemanager): create cloned volumes on +Subject: [PATCH 158/178] fix(linstorvolumemanager): create cloned volumes on host selected by LINSTOR Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0159-fix-linstorvolumemanager-don-t-align-volumes-on-LVM-.patch b/SOURCES/0159-fix-linstorvolumemanager-don-t-align-volumes-on-LVM-.patch index 005dbad..6f21c36 100644 --- a/SOURCES/0159-fix-linstorvolumemanager-don-t-align-volumes-on-LVM-.patch +++ b/SOURCES/0159-fix-linstorvolumemanager-don-t-align-volumes-on-LVM-.patch @@ -1,7 +1,7 @@ From 0e86f2c9c1acdf9a669807d0db783cb58ac29499 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 26 Jan 2024 15:29:21 +0100 -Subject: [PATCH 159/177] fix(linstorvolumemanager): don't align volumes on LVM +Subject: [PATCH 159/178] fix(linstorvolumemanager): don't align volumes on LVM sector size It's the goal of the LINSTOR stack to align properly on the LVM layer. diff --git a/SOURCES/0160-fix-linstorvolumemanager-assert-with-message-after-l.patch b/SOURCES/0160-fix-linstorvolumemanager-assert-with-message-after-l.patch index c18ec16..d26b19d 100644 --- a/SOURCES/0160-fix-linstorvolumemanager-assert-with-message-after-l.patch +++ b/SOURCES/0160-fix-linstorvolumemanager-assert-with-message-after-l.patch @@ -1,7 +1,7 @@ From 67926a299d10072816286df087cb1fe3a0111717 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 5 Feb 2024 18:01:22 +0100 -Subject: [PATCH 160/177] fix(linstorvolumemanager): assert with message after +Subject: [PATCH 160/178] fix(linstorvolumemanager): assert with message after log in update_volume_uuid Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0161-fix-linstorvolumemanager-retry-resize-if-volume-is-n.patch b/SOURCES/0161-fix-linstorvolumemanager-retry-resize-if-volume-is-n.patch index ac937cb..454e156 100644 --- a/SOURCES/0161-fix-linstorvolumemanager-retry-resize-if-volume-is-n.patch +++ b/SOURCES/0161-fix-linstorvolumemanager-retry-resize-if-volume-is-n.patch @@ -1,7 +1,7 @@ From 0fc311b8ac8da92ba91f99a1ceb97ee7663c88ed Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 5 Feb 2024 23:13:06 +0100 -Subject: [PATCH 161/177] fix(linstorvolumemanager): retry resize if volume is +Subject: [PATCH 161/178] fix(linstorvolumemanager): retry resize if volume is not up to date Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0162-fix-LinstorSR-create-DRBD-diskless-if-necessary-for-.patch b/SOURCES/0162-fix-LinstorSR-create-DRBD-diskless-if-necessary-for-.patch index 3c55748..b1f404e 100644 --- a/SOURCES/0162-fix-LinstorSR-create-DRBD-diskless-if-necessary-for-.patch +++ b/SOURCES/0162-fix-LinstorSR-create-DRBD-diskless-if-necessary-for-.patch @@ -1,7 +1,7 @@ From 0d61202439fd59c9d0121d71ce63e41e5a7d7f68 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 6 Feb 2024 00:10:32 +0100 -Subject: [PATCH 162/177] fix(LinstorSR): create DRBD diskless if necessary for +Subject: [PATCH 162/178] fix(LinstorSR): create DRBD diskless if necessary for each VHD parent It's necessary to have all parents during snapshot to create a new VHD child. diff --git a/SOURCES/0163-fix-LinstorSR-fix-bad-call-to-vhdutil.inflate-bad-ex.patch b/SOURCES/0163-fix-LinstorSR-fix-bad-call-to-vhdutil.inflate-bad-ex.patch index 106c6b7..dba2e0c 100644 --- a/SOURCES/0163-fix-LinstorSR-fix-bad-call-to-vhdutil.inflate-bad-ex.patch +++ b/SOURCES/0163-fix-LinstorSR-fix-bad-call-to-vhdutil.inflate-bad-ex.patch @@ -1,7 +1,7 @@ From 574d72fc61a205b0a037cfe6a0002f2602f8e99d Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 6 Feb 2024 00:14:11 +0100 -Subject: [PATCH 163/177] fix(LinstorSR): fix bad call to vhdutil.inflate + bad +Subject: [PATCH 163/178] fix(LinstorSR): fix bad call to vhdutil.inflate + bad exception Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0164-fix-LinstorSR-activate-VG-if-attach-from-config-is-a.patch b/SOURCES/0164-fix-LinstorSR-activate-VG-if-attach-from-config-is-a.patch index ffdd7b1..f7e2f48 100644 --- a/SOURCES/0164-fix-LinstorSR-activate-VG-if-attach-from-config-is-a.patch +++ b/SOURCES/0164-fix-LinstorSR-activate-VG-if-attach-from-config-is-a.patch @@ -1,7 +1,7 @@ From fdd9b4d9038c31c1c54d31b5ea135f6cab85ac24 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 12 Feb 2024 20:54:06 +0100 -Subject: [PATCH 164/177] fix(LinstorSR): activate VG if attach from config is +Subject: [PATCH 164/178] fix(LinstorSR): activate VG if attach from config is asked Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0165-feat-LinstorSR-use-a-specific-resource-group-for-DB-.patch b/SOURCES/0165-feat-LinstorSR-use-a-specific-resource-group-for-DB-.patch index 6ad76cb..a7f2aa4 100644 --- a/SOURCES/0165-feat-LinstorSR-use-a-specific-resource-group-for-DB-.patch +++ b/SOURCES/0165-feat-LinstorSR-use-a-specific-resource-group-for-DB-.patch @@ -1,7 +1,7 @@ From 51699827c68a7674b379b44bcc9fa51c95c9b9a2 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 19 Mar 2024 23:09:54 +0100 -Subject: [PATCH 165/177] feat(LinstorSR): use a specific resource group for DB +Subject: [PATCH 165/178] feat(LinstorSR): use a specific resource group for DB and HA Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0166-feat-linstor-manager-add-getNodePreferredInterface-h.patch b/SOURCES/0166-feat-linstor-manager-add-getNodePreferredInterface-h.patch index 303d4da..504d391 100644 --- a/SOURCES/0166-feat-linstor-manager-add-getNodePreferredInterface-h.patch +++ b/SOURCES/0166-feat-linstor-manager-add-getNodePreferredInterface-h.patch @@ -1,7 +1,7 @@ From d3d377079f5153fa41220b4df9de176b733cd6a8 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 15 Apr 2024 11:22:18 +0200 -Subject: [PATCH 166/177] feat(linstor-manager): add +Subject: [PATCH 166/178] feat(linstor-manager): add `getNodePreferredInterface` helper Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0167-fix-linstorvolumemanager-blocks-deletion-of-default-.patch b/SOURCES/0167-fix-linstorvolumemanager-blocks-deletion-of-default-.patch index 92cdc3b..2d10b34 100644 --- a/SOURCES/0167-fix-linstorvolumemanager-blocks-deletion-of-default-.patch +++ b/SOURCES/0167-fix-linstorvolumemanager-blocks-deletion-of-default-.patch @@ -1,7 +1,7 @@ From 297296c0ec9c5df659267e1432e4de0ac6af5618 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 15 Apr 2024 11:26:00 +0200 -Subject: [PATCH 167/177] fix(linstorvolumemanager): blocks deletion of default +Subject: [PATCH 167/178] fix(linstorvolumemanager): blocks deletion of default network interface Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0168-feat-linstorvolumemanager-change-logic-of-get_resour.patch b/SOURCES/0168-feat-linstorvolumemanager-change-logic-of-get_resour.patch index c20b589..86be585 100644 --- a/SOURCES/0168-feat-linstorvolumemanager-change-logic-of-get_resour.patch +++ b/SOURCES/0168-feat-linstorvolumemanager-change-logic-of-get_resour.patch @@ -1,7 +1,7 @@ From 1d940461f9f408b93eef80c09156f74745d62570 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 15 Apr 2024 17:56:47 +0200 -Subject: [PATCH 168/177] feat(linstorvolumemanager): change logic of +Subject: [PATCH 168/178] feat(linstorvolumemanager): change logic of `get_resources_info`: - Add a nested level "nodes" for each resource - Add a "uuid" attr on resources - Rename LINSTOR "uuid" to "linstor-uuid" - Optimize code diff --git a/SOURCES/0169-feat-linstor-manager-add-error-codes-to-healthCheck-.patch b/SOURCES/0169-feat-linstor-manager-add-error-codes-to-healthCheck-.patch index 2d2f456..d4749ab 100644 --- a/SOURCES/0169-feat-linstor-manager-add-error-codes-to-healthCheck-.patch +++ b/SOURCES/0169-feat-linstor-manager-add-error-codes-to-healthCheck-.patch @@ -1,7 +1,7 @@ From c377cf900ae07d3b6de4004dd3a65df9086c30b3 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 18 Apr 2024 13:57:37 +0200 -Subject: [PATCH 169/177] feat(linstor-manager): add error codes to healthCheck +Subject: [PATCH 169/178] feat(linstor-manager): add error codes to healthCheck helper Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0170-fix-LinstorSR-fix-bad-exception-reference-during-sna.patch b/SOURCES/0170-fix-LinstorSR-fix-bad-exception-reference-during-sna.patch index 0618e2e..ecb7a59 100644 --- a/SOURCES/0170-fix-LinstorSR-fix-bad-exception-reference-during-sna.patch +++ b/SOURCES/0170-fix-LinstorSR-fix-bad-exception-reference-during-sna.patch @@ -1,7 +1,7 @@ From 84e236ff9a967f5df25535213f89e377d51d4b5f Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 24 Apr 2024 15:10:49 +0200 -Subject: [PATCH 170/177] fix(LinstorSR): fix bad exception reference during +Subject: [PATCH 170/178] fix(LinstorSR): fix bad exception reference during snapshot Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0171-fix-tapdisk-pause-ensure-LINSTOR-VHD-chain-is-availa.patch b/SOURCES/0171-fix-tapdisk-pause-ensure-LINSTOR-VHD-chain-is-availa.patch index d0b342a..d8d7029 100644 --- a/SOURCES/0171-fix-tapdisk-pause-ensure-LINSTOR-VHD-chain-is-availa.patch +++ b/SOURCES/0171-fix-tapdisk-pause-ensure-LINSTOR-VHD-chain-is-availa.patch @@ -1,7 +1,7 @@ From 66ec66a863f3d5c8c95e5310dd2e9c77335faab5 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 24 Apr 2024 17:29:26 +0200 -Subject: [PATCH 171/177] fix(tapdisk-pause): ensure LINSTOR VHD chain is +Subject: [PATCH 171/178] fix(tapdisk-pause): ensure LINSTOR VHD chain is available Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0172-fix-linstorvhdutil-retry-check-on-another-machine-in.patch b/SOURCES/0172-fix-linstorvhdutil-retry-check-on-another-machine-in.patch index 61b2053..462dc90 100644 --- a/SOURCES/0172-fix-linstorvhdutil-retry-check-on-another-machine-in.patch +++ b/SOURCES/0172-fix-linstorvhdutil-retry-check-on-another-machine-in.patch @@ -1,7 +1,7 @@ From 5a48b3ddc8683c3f6217c1bcce17d4f064efaee9 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 6 May 2024 18:15:00 +0200 -Subject: [PATCH 172/177] fix(linstorvhdutil): retry check on another machine +Subject: [PATCH 172/178] fix(linstorvhdutil): retry check on another machine in case of failure (#54) Signed-off-by: Ronan Abhamon diff --git a/SOURCES/0173-fix-LinstorSR-explicit-errors-when-database-path-is-.patch b/SOURCES/0173-fix-LinstorSR-explicit-errors-when-database-path-is-.patch index c24d52c..ecdd55d 100644 --- a/SOURCES/0173-fix-LinstorSR-explicit-errors-when-database-path-is-.patch +++ b/SOURCES/0173-fix-LinstorSR-explicit-errors-when-database-path-is-.patch @@ -1,7 +1,7 @@ From 13ff45ec98437db8d85e3d9c52d6bb353f8f9656 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 6 May 2024 21:35:36 +0200 -Subject: [PATCH 173/177] fix(LinstorSR): explicit errors when database path is +Subject: [PATCH 173/178] fix(LinstorSR): explicit errors when database path is fetched --- diff --git a/SOURCES/0174-fix-LinstorSR-Misc-fixes-on-destroy.patch b/SOURCES/0174-fix-LinstorSR-Misc-fixes-on-destroy.patch index c381a90..10b5351 100644 --- a/SOURCES/0174-fix-LinstorSR-Misc-fixes-on-destroy.patch +++ b/SOURCES/0174-fix-LinstorSR-Misc-fixes-on-destroy.patch @@ -1,7 +1,7 @@ From 34e414b5d11363ebcce4c0f3a98d9e8de6c90432 Mon Sep 17 00:00:00 2001 From: Damien Thenot Date: Tue, 30 Apr 2024 15:38:34 +0200 -Subject: [PATCH 174/177] fix(LinstorSR): Misc fixes on destroy +Subject: [PATCH 174/178] fix(LinstorSR): Misc fixes on destroy linstor-manager: - fix on get_drbd_volumes diff --git a/SOURCES/0175-fix-LinstorSR-open-non-leaf-volumes-in-RO-mode-creat.patch b/SOURCES/0175-fix-LinstorSR-open-non-leaf-volumes-in-RO-mode-creat.patch index b7d09f1..c504d85 100644 --- a/SOURCES/0175-fix-LinstorSR-open-non-leaf-volumes-in-RO-mode-creat.patch +++ b/SOURCES/0175-fix-LinstorSR-open-non-leaf-volumes-in-RO-mode-creat.patch @@ -1,7 +1,7 @@ From 383d6484765a0b316402f1899bc9a2ec2cf81521 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 20 Jun 2024 22:37:40 +0200 -Subject: [PATCH 175/177] fix(LinstorSR): open non-leaf volumes in RO mode +Subject: [PATCH 175/178] fix(LinstorSR): open non-leaf volumes in RO mode (create_chain_paths) We must never open non-leaf volumes with the write option. diff --git a/SOURCES/0176-fix-LinstorSR-ensure-_is_master-is-always-set.patch b/SOURCES/0176-fix-LinstorSR-ensure-_is_master-is-always-set.patch index 88b2e98..19a68cb 100644 --- a/SOURCES/0176-fix-LinstorSR-ensure-_is_master-is-always-set.patch +++ b/SOURCES/0176-fix-LinstorSR-ensure-_is_master-is-always-set.patch @@ -1,7 +1,7 @@ From 0cbabd180b8fc5ecaf2ca8ff066f37bd18706b68 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Fri, 26 Jul 2024 11:32:20 +0200 -Subject: [PATCH 176/177] fix(LinstorSR): ensure `_is_master` is always set +Subject: [PATCH 176/178] fix(LinstorSR): ensure `_is_master` is always set `_is_master` is not always initialized, and more precisely in the case of detach where LinstorSR.load method is not called. diff --git a/SOURCES/0177-fix-linstor-check-if-resource-is-tiebreaker-62.patch b/SOURCES/0177-fix-linstor-check-if-resource-is-tiebreaker-62.patch index 6c577c2..7ea653b 100644 --- a/SOURCES/0177-fix-linstor-check-if-resource-is-tiebreaker-62.patch +++ b/SOURCES/0177-fix-linstor-check-if-resource-is-tiebreaker-62.patch @@ -1,7 +1,7 @@ From 8d6cfc70d30e13cdf6a8ea2be3a534bace9fb936 Mon Sep 17 00:00:00 2001 From: Damien Thenot Date: Fri, 26 Jul 2024 14:13:05 +0200 -Subject: [PATCH 177/177] fix(linstor): check if resource is tiebreaker (#62) +Subject: [PATCH 177/178] fix(linstor): check if resource is tiebreaker (#62) We check if a resource is already a tiebreaker before trying to delete the resource. diff --git a/SOURCES/0178-fix-LinstorSR-sync-fork-load-daemon-with-http-nbd-tr.patch b/SOURCES/0178-fix-LinstorSR-sync-fork-load-daemon-with-http-nbd-tr.patch new file mode 100644 index 0000000..8b51f9e --- /dev/null +++ b/SOURCES/0178-fix-LinstorSR-sync-fork-load-daemon-with-http-nbd-tr.patch @@ -0,0 +1,36 @@ +From c72a3c34546ebee818f6c2ca0f74b01e75219508 Mon Sep 17 00:00:00 2001 +From: Ronan Abhamon +Date: Tue, 19 Nov 2024 00:14:16 +0100 +Subject: [PATCH 178/178] fix(LinstorSR): sync fork-load-daemon with + http-nbd-transfer (v1.5.0) + +Signed-off-by: Ronan Abhamon +--- + scripts/fork-log-daemon | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/scripts/fork-log-daemon b/scripts/fork-log-daemon +index 665a60ba..debbc893 100755 +--- a/scripts/fork-log-daemon ++++ b/scripts/fork-log-daemon +@@ -1,5 +1,6 @@ + #!/usr/bin/env python + ++import os + import select + import signal + import subprocess +@@ -7,7 +8,12 @@ import sys + import syslog + + def main(): +- process = subprocess.Popen(sys.argv[1:], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) ++ process = subprocess.Popen( ++ sys.argv[1:], ++ stdout=subprocess.PIPE, ++ stderr=subprocess.STDOUT, ++ env=dict(os.environ, PYTHONUNBUFFERED='1') ++ ) + signal.signal(signal.SIGTERM, signal.SIG_IGN) + write_to_stdout = True + diff --git a/SPECS/sm.spec b/SPECS/sm.spec index 39f848c..c282818 100644 --- a/SPECS/sm.spec +++ b/SPECS/sm.spec @@ -11,7 +11,7 @@ Summary: sm - XCP storage managers Name: sm Version: 2.30.8 -Release: %{?xsrel}.1.0.linstor.1%{?dist} +Release: %{?xsrel}.1.0.linstor.2%{?dist} Group: System/Hypervisor License: LGPL URL: https://github.com/xapi-project/sm @@ -279,6 +279,7 @@ Patch1174: 0174-fix-LinstorSR-Misc-fixes-on-destroy.patch Patch1175: 0175-fix-LinstorSR-open-non-leaf-volumes-in-RO-mode-creat.patch Patch1176: 0176-fix-LinstorSR-ensure-_is_master-is-always-set.patch Patch1177: 0177-fix-linstor-check-if-resource-is-tiebreaker-62.patch +Patch1178: 0178-fix-LinstorSR-sync-fork-load-daemon-with-http-nbd-tr.patch %description This package contains storage backends used in XCP @@ -696,6 +697,9 @@ cp -r htmlcov %{buildroot}/htmlcov %{_unitdir}/linstor-monitor.service %changelog +* Tue Nov 19 2024 Ronan Abhamon - 2.30.8-13.1.0.linstor.2 +- Sync fork-load-daemon script with http-nbd-transfer (v1.5.0) + * Thu Oct 03 2024 Ronan Abhamon - 2.30.8-13.1.0.linstor.1 - Add "Provides": sm-linstor (necessary for the "Requires" of xcp-ng-linstor) - Add LINSTOR patches