]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MonMap: no noname- mon name prefix when for_mkfs
authorSage Weil <sage@redhat.com>
Thu, 20 Dec 2018 16:57:44 +0000 (10:57 -0600)
committerSage Weil <sage@redhat.com>
Thu, 3 Jan 2019 17:17:31 +0000 (11:17 -0600)
commitc078c810313ece647db6d9056c0eca5256a91a34
tree2a5ad1f27ff2c21c10bc7a404d752c0bf75ba821
parentc29b1d7246dbe529b8138e394967e4397216ba1b
mon/MonMap: no noname- mon name prefix when for_mkfs

Teuthology no longer puts mon addr in ceph.conf, and instead sets the
mon_host option globally.  That means a different path for
ceph-monstore-tool rebuild to regenerate the monmap, and the generated
map's names need to match teuthologies.

This change fixes the teuthology rebuild test because that tests's mon
names happen to also be 'a', 'b', 'c'.  It's fragile, but it works.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonMap.cc