]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: ceph osd map shows NONE when an osd is missing 5376/head
authorShylesh Kumar <shmohan@redhat.com>
Wed, 22 Jul 2015 13:17:20 +0000 (18:47 +0530)
committerLoic Dachary <ldachary@redhat.com>
Tue, 28 Jul 2015 13:17:08 +0000 (15:17 +0200)
Signed-off-by: Shylesh Kumar <shmohan@redhat.com>
(cherry picked from commit 4d030302ea3709eb021710e873f1ebe62f951cec)

src/mon/OSDMonitor.cc

index 436035649077ad1c2ca336ddac953535f1fe542d..ec429d118c76d97d5006066bc8e4b5860b933047 100644 (file)
@@ -2872,8 +2872,8 @@ bool OSDMonitor::preprocess_command(MMonCommand *m)
         << " pool '" << poolstr << "' (" << pool << ")"
         << " object '" << fullobjname << "' ->"
         << " pg " << pgid << " (" << mpgid << ")"
-        << " -> up (" << up << ", p" << up_p << ") acting ("
-        << acting << ", p" << acting_p << ")";
+        << " -> up (" << pg_vector_string(up) << ", p" << up_p << ") acting ("
+        << pg_vector_string(acting) << ", p" << acting_p << ")";
       rdata.append(ds);
     }
   } else if ((prefix == "osd scrub" ||