]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
site: report ceph -s status at the end of the deployment
authorSébastien Han <seb@redhat.com>
Wed, 25 Jul 2018 14:39:35 +0000 (16:39 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 27 Jul 2018 14:49:42 +0000 (14:49 +0000)
commit1f341e69d1f01023caf0985f4d46d8127d4753b7
tree093b2c40b1b048119ba3422299f237e69350961d
parent578aa5c2d54a680912e4e015b6fb3dbbc94d4fd0
site: report ceph -s status at the end of the deployment

We now show the output of 'ceph -s'. Example output below:

TASK [display post install message] **********************************************************************************************************************************************************************************************************
ok: [localhost] => {
    "msg": [
        "  cluster:",
        "    id:     753212df-f32a-4cc9-a097-2db6fe89a251",
        "    health: HEALTH_OK",
        " ",
        "  services:",
        "    mon: 1 daemons, quorum ceph-nano-lul-faa32aebf00b",
        "    mgr: ceph-nano-lul-faa32aebf00b(active)",
        "    osd: 1 osds: 1 up, 1 in",
        " ",
        "  data:",
        "    pools:   4 pools, 32 pgs",
        "    objects: 224 objects, 2546 bytes",
        "    usage:   1027 MB used, 9212 MB / 10240 MB avail",
        "    pgs:     32 active+clean",
        " "
    ]
}

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1602910
Signed-off-by: Sébastien Han <seb@redhat.com>
site-docker.yml.sample
site.yml.sample