]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/rebuild_mondb: use monmap to properly name the mons 25886/head
authorSage Weil <sage@redhat.com>
Wed, 9 Jan 2019 22:05:40 +0000 (16:05 -0600)
committerSage Weil <sage@redhat.com>
Fri, 11 Jan 2019 22:10:14 +0000 (16:10 -0600)
commitc18a5d2e1cfd2912e6b5c32b12f25cf028d9ef4e
tree0195450a8262219ffdec2c2d446be0bd3200331f
parentb6b7ef8af414527cfa391ee129db98661fdaed26
qa/tasks/rebuild_mondb: use monmap to properly name the mons

We used to rely on the monmap bootstrap code to magically create a valid
monmap with named mons because our old-style ceph.conf had mon_addr
values in each mon.foo section.  Instead, just feed it a real monmap
from pre-destruction.

In practice, a user can manually generate this monmap, or rename the
mons after the fact with --inject-monmap, or whatever.  Out of scope
for this test, so we just do the simplest thing to make the rebuild test
work.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/suites/rados/singleton/all/rebuild-mondb.yaml
qa/tasks/rebuild_mondb.py