]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph-helpers.sh do not hardcode id a in run_mon
authorLoic Dachary <ldachary@redhat.com>
Sat, 16 May 2015 13:32:20 +0000 (15:32 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sun, 17 May 2015 10:33:05 +0000 (12:33 +0200)
commitea61c8ab5a13de317727fba6515c33c04fd29a9b
tree379ed375ab2dbde3048e950ec0126881486f70ca
parentb9447bce9ab761e1d2e31fc4f2952fe2c5b62aaf
tests: ceph-helpers.sh do not hardcode id a in run_mon

Fix hardcoding of id a in the run_mon function. The directory
in which the mon data is stored must be a sub-directory of the
directory given in argument.

If mon_initial_members is set, the rbd pool cannot be redefined, which
is ok because this is rare and it's only an optimization to reduce the
number of PG.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-helpers.sh