From bf76bded4c3760a6610284cc477f642c8635f06d Mon Sep 17 00:00:00 2001 From: Teoman ONAY Date: Fri, 24 Jan 2025 13:56:41 +0100 Subject: [PATCH] cephadm-adopt: fix ssl condition in rgw placement task rgw daemons fail to start as they were looking for ssl certificates while none were available. Signed-off-by: Teoman ONAY --- infrastructure-playbooks/cephadm-adopt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index 9a52f31dc2..e542dcdd7c 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -954,7 +954,7 @@ {% endif %} spec: rgw_frontend_port: {{ radosgw_frontend_port }} - {% if radosgw_frontend_ssl_certificate is defined %} + {% if radosgw_frontend_ssl_certificate | length > 0 %} {{ "ssl: true" }} {% endif %} extra_container_args: