Added rbd_stats to the exception list for enabling ceph pool options.
Related-Prod: PROD-35524
Change-Id: I4d24f102fae08464c2e26bc0b2a1836bea078c29
diff --git a/ceph/setup/pool.sls b/ceph/setup/pool.sls
index 7a15f11..b21b13b 100644
--- a/ceph/setup/pool.sls
+++ b/ceph/setup/pool.sls
@@ -26,7 +26,7 @@
- name: ceph -c /etc/ceph/{{ common.get('cluster_name', 'ceph') }}.conf osd pool {{ option_name }} enable {{ pool_name }} {{ option_value }}
- unless: "ceph -c /etc/ceph/{{ common.get('cluster_name', 'ceph') }}.conf osd pool {{ option_name }} get {{ pool_name }} | grep '{{ option_value }}'"
-{%- elif option_name not in ['type', 'pg_num', 'application', 'crush_rule', 'crush_ruleset_name', 'expected_num_objects'] %}
+{%- elif option_name not in ['type', 'pg_num', 'application', 'crush_rule', 'crush_ruleset_name', 'expected_num_objects', 'rbd_stats'] %}
ceph_pool_option_{{ pool_name }}_{{ option_name }}:
cmd.run: