]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: ceph osd map shows NONE when an osd is missing 5316/head
authorShylesh Kumar <shmohan@redhat.com>
Wed, 22 Jul 2015 13:17:20 +0000 (18:47 +0530)
committerShylesh Kumar <shmohan@redhat.com>
Wed, 22 Jul 2015 14:49:26 +0000 (20:19 +0530)
Signed-off-by: Shylesh Kumar <shmohan@redhat.com>
src/mon/OSDMonitor.cc

index 6d35f97fc533caa00f9d684f2c5ff6e3864aaf05..374236fe934d27f82aa7166fcb61ce8fd438f8fa 100644 (file)
@@ -3127,8 +3127,8 @@ bool OSDMonitor::preprocess_command(MonOpRequestRef op)
         << " 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" ||