From ed96fa14653a12624bf3128ce7a76f3a1f2ef92f Mon Sep 17 00:00:00 2001 From: Seena Fallah Date: Sat, 16 Mar 2024 16:43:28 +0100 Subject: [PATCH] ceph_ec_profile: make int params str Ceph return them as string so in comparision it would always fail Signed-off-by: Seena Fallah (cherry picked from commit f0b4cc3f0d6c82ec6433935bfd443367422c76a5) --- library/ceph_ec_profile.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/ceph_ec_profile.py b/library/ceph_ec_profile.py index 0b84724095..778a7a7287 100644 --- a/library/ceph_ec_profile.py +++ b/library/ceph_ec_profile.py @@ -174,11 +174,11 @@ def run_module(): choices=['present', 'absent'], default='present'), stripe_unit=dict(type='str', required=False), plugin=dict(type='str', required=False, default='jerasure'), - k=dict(type='int', required=False), - m=dict(type='int', required=False), - d=dict(type='int', required=False), - l=dict(type='int', required=False), - c=dict(type='int', required=False), + k=dict(type='str', required=False), + m=dict(type='str', required=False), + d=dict(type='str', required=False), + l=dict(type='str', required=False), + c=dict(type='str', required=False), scalar_mds=dict(type='str', required=False), technique=dict(type='str', required=False), crush_root=dict(type='str', required=False),