From f4c16f05b51fa4b2ff0095f331f7d2a4e1e3ca68 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Thu, 6 May 2021 10:30:02 +1000 Subject: [PATCH] doc/cephadm: rewrite "monitoring the upgrade" This PR adds correctly-formatted prompts and makes slight alterations to the readability of the text. Signed-off-by: Zac Dover --- doc/cephadm/upgrade.rst | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/doc/cephadm/upgrade.rst b/doc/cephadm/upgrade.rst index 64ba6dadbb5..886759d62a4 100644 --- a/doc/cephadm/upgrade.rst +++ b/doc/cephadm/upgrade.rst @@ -39,22 +39,31 @@ Monitoring the upgrade ====================== Determine whether an upgrade is in process and what version the cluster is -upgrading to with:: +upgrading to with: - # ceph orch upgrade status +.. prompt:: bash # + + ceph orch upgrade status While the upgrade is underway, you will see a progress bar in the ceph -status output. For example:: +status output. For example: + +.. prompt:: bash # + + ceph -s + +Expected output:: - # ceph -s [...] progress: Upgrade to docker.io/ceph/ceph:v15.2.1 (00h 20m 12s) [=======.....................] (time remaining: 01h 43m 31s) -You can also watch the cephadm log with:: +You can also watch the cephadm log by running the following command: - # ceph -W cephadm +.. prompt:: bash # + + ceph -W cephadm Canceling an upgrade