]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: make host add failure message more friendly 38667/head
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 21 Dec 2020 04:36:46 +0000 (17:36 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Mon, 21 Dec 2020 04:36:46 +0000 (17:36 +1300)
commit138700e59bcd877b912692506f24af417562b715
tree8c92cd4b76a7dfd1153021742b8e105d68a40eb4
parent684785d9585ac60000a5b0b82d65f7fc587d5382
cephadm: make host add failure message more friendly

When a host add fails, the output was showing passed
and failed checks. This patch uses an ERROR prefix for
all failed checks, and then filters on them when showing
the result, so the admin sees only the failed items. The
text has also been tidied up to remove the [] within a
[] syntax

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/cephadm/cephadm
src/pybind/mgr/cephadm/module.py