]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
cephadm-adopt: fix ssl condition in rgw placement task mergify/bp/stable-7.0/pr-7637 7642/head
authorTeoman ONAY <tonay@ibm.com>
Fri, 24 Jan 2025 12:56:41 +0000 (13:56 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 27 Jan 2025 14:05:48 +0000 (14:05 +0000)
rgw daemons fail to start as they were looking for
ssl certificates while none were available.

Signed-off-by: Teoman ONAY <tonay@ibm.com>
(cherry picked from commit bf76bded4c3760a6610284cc477f642c8635f06d)

infrastructure-playbooks/cephadm-adopt.yml

index 5b48952961d0bc5c6f8fdee48fc16e23542c4a15..26371114afddc9f1ba8f264a456ed33f919e3c5e 100644 (file)
           {% 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: