ceph/patches
Friedrich Weber e45d466e43 fix #5213: ceph-osd postinst: add patch to avoid connection freezes
Assume there is an open TCP connection to a VM, and ceph-osd is
installed/upgraded on the host on which the PVE firewall is active.
Currently, ceph-osd postinst reloads all sysctl settings. Thus,
installing/upgrading ceph-osd will set the sysctl setting
`net.bridge.bridge-nf-call-iptables` to 0. The PVE firewall will flip
the setting back to 1 in its next iteration (in <10 seconds). But
while the setting is 0, conntrack will not see packets of the existing
TCP connection. When the setting is flipped back to 1, conntrack will
see packets again, but may consider the seq/ack numbers of new packets
out-of-window, mark them as invalid and drop them. This will freeze
the TCP connection.

To avoid this, add a patch that modifies the ceph-osd postinst to only
apply settings from the sysctl settings file shipped with ceph-osd,
and only apply them on fresh install. As the ceph-osd sysctl settings
do not set `net.bridge.bridge-nf-call-iptables`, this will avoid the
temporary flip to 0 when installing/upgrading ceph-osd.

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
2024-02-15 14:01:02 +01:00
..
0001-cmake-disable-version-from-git.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0002-debian-control-add-break-libpvestorage-perl.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0003-d-rules-fix-instaldoc-override-and-ship-upstream-cha.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0004-remove-legacy-pve-ceph-osd-activation-script-in-post.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0005-remove-legacy-init.d-ceph-script.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0006-ceph-mgr-only-suggest-mgr-plugins.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0007-Remove-failing-actions-from-prerm.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0008-fix-service-ordering-avoid-Before-remote-fs-pre.targ.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0009-fix-4759-run-ceph-crash-daemon-with-www-data-group-f.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0010-debian-add-missing-bcrypt-to-manager-.requires.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0011-fix-compatibility-with-CPUs-not-supporting-SSE-4.1-i.patch refresh patches and drop ones applied upstream 2023-12-19 17:12:38 +01:00
0012-backport-mgr-dashboard-simplify-authentication-proto.patch mgr/dashboard: add backport that allows the dashboard to work again 2024-01-15 16:48:12 +01:00
0013-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch patch: fix ceph dashboard subcommand becoming unavailable on crash 2024-02-02 19:10:20 +01:00
0014-rocksb-inherit-parent-cmake-cxx-flags.patch drop superfluous build-type patch and re-order other one 2024-01-15 16:50:29 +01:00
0015-ceph-osd-postinst-avoid-reloading-all-sysctl-setting.patch fix #5213: ceph-osd postinst: add patch to avoid connection freezes 2024-02-15 14:01:02 +01:00
series fix #5213: ceph-osd postinst: add patch to avoid connection freezes 2024-02-15 14:01:02 +01:00