From 3b113db3ca0fd4cb1db8102630ea65d371371ed9 Mon Sep 17 00:00:00 2001 From: Bohdan Dobrelia Date: Fri, 6 Mar 2026 11:38:09 +0100 Subject: [PATCH] utils: emit disableCertificateVerification for idrac driver The disableCertificateVerification field in install-config.yaml is only emitted when driver_prefix was "redfish". The idrac driver sets driver_prefix to "drac", so the block was skipped entirely, causing Ironic to verify the BMC's self-signed certificate and fail with SSL: CERTIFICATE_VERIFY_FAILED. Extend the condition to also cover the "drac" prefix so that redfish_verify_ca from the nodes JSON is honoured for Dell iDRAC hardware. Generated-By: Cursor (claude-4.6-opus-high) Signed-off-by: Bohdan Dobrelia --- utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.sh b/utils.sh index 5550bdb9b..3d56907b2 100755 --- a/utils.sh +++ b/utils.sh @@ -267,7 +267,7 @@ function node_map_to_install_config_hosts() { password: ${password} EOF - if [[ "$driver_prefix" == "redfish" ]]; then + if [[ "$driver_prefix" == "redfish" ]] || [[ "$driver_prefix" == "drac" ]]; then # Set disableCertificateVerification on older versions if is_lower_version "$(openshift_version $OCP_DIR)" "4.22"; then # Heads up, "verify ca" in ironic driver config, and "disableCertificateVerification" in BMH have opposite meaning