]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: use json-pretty for ceph-volume calls
authorAdam King <adking@redhat.com>
Wed, 29 Sep 2021 02:10:07 +0000 (22:10 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 2 Nov 2021 09:01:21 +0000 (10:01 +0100)
commit813d2e34d84a0545ac6a3b82773adba44a5156ee
tree38e129a593c10c3e53a024d0173b3d48818f2cb5
parent18f2496eab8bff3b83d7997f2377168a35ddec3e
mgr/cephadm: use json-pretty for ceph-volume calls

To avoid a single line json string that is too long
and causes a chunk longer than limit error

Fixes: https://tracker.ceph.com/issues/52745
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit b20637714e366b44ec604a76bab9095d5f4a1ef2)
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/tests/test_cephadm.py