From 552a404197b2402bc6f20b230be497e4869b2949 Mon Sep 17 00:00:00 2001 From: Ryan Ronnander Date: Fri, 6 Jun 2025 14:31:15 -0400 Subject: [PATCH] Allow cloned crypt primitives When using DRBD (a cloned resource) on top of encrypted luks volumes, there is a need to have the underlying luks crypt resources cloned as well. --- heartbeat/crypt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/heartbeat/crypt b/heartbeat/crypt index 1dbf8c33f..eafa9ba36 100755 --- a/heartbeat/crypt +++ b/heartbeat/crypt @@ -164,10 +164,6 @@ force_stop="${OCF_RESKEY_force_stop}" use_clevis="${OCF_RESKEY_use_clevis}" crypt_validate_all() { - if ocf_is_clone; then - ocf_exit_reason "crypt cannot run as a cloned resource" - return $OCF_ERR_CONFIGURED - fi if ! have_binary cryptsetup; then ocf_exit_reason "Please install cryptsetup(8)" return $OCF_ERR_INSTALLED