[Backport release-1.2] [linstor] Preserve TCP ports during toggle-disk operations by github-actions[bot] · Pull Request #2299 · cozystack/cozystack

Update fix-duplicate-tcp-ports patch to preserve existing TCP ports when
DrbdRscData is recreated during toggle-disk operations. Without this,
removeLayerData() frees ports and ensureStackDataExists() may allocate
different ones, causing port mismatches between controller and satellites
if the satellite misses the update.

Also add dh_strip_nondeterminism override in Dockerfile to fix build
failures on some JAR files.

Upstream: LINBIT/linstor-server#476 (comment)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit 812d413)

@dosubot dosubot bot added the size:L

This PR changes 100-499 lines, ignoring generated files.

label

Mar 30, 2026

@kvaps kvaps deleted the backport-2292-to-release-1.2 branch

March 30, 2026 18:08