]> git.proxmox.com Git - pve-manager.git/commitdiff
5to6: improve ceph warning on non OK state
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jul 2019 11:14:05 +0000 (13:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jul 2019 11:14:05 +0000 (13:14 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pve5to6.pm

index 83c715e44db053fb033f99497e63488da4e07028..c167ebcac2c57a83b83afcec649a61f21ca37d37 100644 (file)
@@ -361,7 +361,8 @@ sub check_ceph {
        } elsif ($ceph_health eq 'HEALTH_WARN' && $noout && (keys %{$ceph_status->{health}->{checks}} == 1)) {
                log_pass("Ceph health reported as 'HEALTH_WARN' with a single failing check and 'noout' flag set.");
        } else {
-               log_warn("Ceph health reported as '$ceph_health'");
+               log_warn("Ceph health reported as '$ceph_health'.\n      Use the PVE ".
+                 "dashboard or 'ceph -s' to determine the specific issues and try to resolve them.");
        }
     }