import logging
+import json
from tasks.mgr.mgr_test_case import MgrTestCase
timeout=10
)
+ # Both daemons should have fully populated metadata
+ # (regression test for http://tracker.ceph.com/issues/21260)
+ meta = json.loads(self.mgr_cluster.mon_manager.raw_cluster_cmd(
+ "mgr", "metadata"))
+ id_to_meta = dict([(i['id'], i) for i in meta])
+ for i in [original_active] + original_standbys:
+ self.assertIn(i, id_to_meta)
+ self.assertIn('ceph_version', id_to_meta[i])
+
# We should be able to fail back over again: the exercises
# our re-initialization of the python runtime within
# a single process lifetime.