forked from rook/rook
Value returned by ceph config get can contains some trailing space which leads to issues when running other ceph command. For ex.: 2020-04-06 15:32:43.543050 I | exec: Running command: ceph osd pool set test-1.rgw.control pg_num_min 8 --connect-timeout=15 --cluster=rook-ceph --conf=/var/lib/rook/rook-ceph/rook-ceph.config --keyring=/var/lib/rook/rook-ceph/client.admin.keyring --format json --out-file /tmp/249563089 2020-04-06 15:32:44.005018 I | exec: Error EINVAL: error parsing int value '8 Signed-off-by: n.fraison <n.fraison@criteo.com>