From df4183bcb1567179df301c168533d89d4f2e5b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Przybysz=20Gon=C3=A7alves=20J=C3=BAnior?= Date: Wed, 27 Aug 2025 09:14:42 -0300 Subject: [PATCH] Fix race condition during dc-vault mount MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When controller-0 is deployed and the dc-vault is configured, if dc-vault was already mounted (by systemd/fstab automount) while only controller-0 is being deployed, Puppet attempts to mount dc-vault again due to the automount flag. This causes Puppet to return an error indicating that the filesystem is already mounted. To resolve this, the automount option for dc-vault was disabled in the Puppet configuration. Test plan: STD and DX (DC) - PASS: run bootstrap and perform unlock on controler-0 - PASS: after unlock controller-0, before installing the hosts, perform 3 reboots - PASS: complete the installation and run a DOR test Closes-bug: 2121539 Change-Id: I3def039f8c4eb2175ecfb0ddfc4412e7da19ffc1 Signed-off-by: Gabriel Przybysz Gonçalves Júnior --- puppet-manifests/src/modules/platform/manifests/drbd.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet-manifests/src/modules/platform/manifests/drbd.pp b/puppet-manifests/src/modules/platform/manifests/drbd.pp index 9a93f9f05..a28326c8f 100644 --- a/puppet-manifests/src/modules/platform/manifests/drbd.pp +++ b/puppet-manifests/src/modules/platform/manifests/drbd.pp @@ -308,7 +308,7 @@ class platform::drbd::dc_vault ( if str2bool($::is_standalone_controller) { $drbd_primary = true $drbd_initial = true - $drbd_automount = true + $drbd_automount = undef $drbd_manage = true } else { $drbd_primary = undef