]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix 'inspect' and 'pull' 39715/head
authorSage Weil <sage@newdream.net>
Mon, 25 Jan 2021 22:32:45 +0000 (16:32 -0600)
committerMichael Fritch <mfritch@suse.com>
Sat, 27 Feb 2021 04:55:00 +0000 (21:55 -0700)
commit984e8fc64d30ed2c2ca88f2f56c46de1fd39e8da
tree062be12796bb637d5ad382877e1f94ccc6e16c06
parent60dbe1f5c05404e38652ffcbd63767d6d515295c
cephadm: fix 'inspect' and 'pull'

With podman 2.2.1 I would get

ERRO[0000] Error printing inspect output: template: all inspect:1: function "json" not defined

Removing the 'json' portion of the query resolves it.

Fixes: https://tracker.ceph.com/issues/49522
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit d31bed79411ca493ec48eeed4e9cbb7ad92295c3)

Conflicts:
src/cephadm/cephadm
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py