Browse Source

Render crush-initial-weight option if set to 0

Fixes the conditional in the ceph.conf template so it renders the
crush-initial-weight config option if set to 0.

Change-Id: Iaecbdf52bd3731effa3132e61364918407116dbe
Closes-Bug: 1764077
changes/56/561456/2
Sandor Zeestraten 3 years ago
parent
commit
5ea1973062
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/ceph.conf

+ 1
- 1
templates/ceph.conf View File

@ -33,7 +33,7 @@ crush location = {{crush_location}}
{%- if upgrade_in_progress %}
setuser match path = /var/lib/ceph/$type/$cluster-$id
{%- endif %}
{%- if crush_initial_weight %}
{%- if crush_initial_weight is not none %}
osd crush initial weight = {{ crush_initial_weight }}
{%- endif %}
{% if global -%}


Loading…
Cancel
Save