Fix wa_cve for luminous ceph
Change-Id: I9dd10a92e354660491341867ad8a8c53c5c3732c
diff --git a/tcp_tests/tests/system/test_mcp_update.py b/tcp_tests/tests/system/test_mcp_update.py
index 641edcc..b617528 100644
--- a/tcp_tests/tests/system/test_mcp_update.py
+++ b/tcp_tests/tests/system/test_mcp_update.py
@@ -132,6 +132,11 @@
if not reclass_actions.check_existence(
'parameters.ceph.common.config.mon.'
+ 'auth_allow_insecure_global_id_reclaim'):
+ if salt_actions.get_single_pillar(
+ "I@ceph:mgr and *01.*",
+ "_param.ceph_version") == 'luminous':
+ LOG.info('Skip reclaim set')
+ return
reclass_actions.add_bool_key(
'parameters.ceph.common.config.mon.'
+ 'auth_allow_insecure_global_id_reclaim', "False", context_file)