Do not exclude the ceph-test package otherwise the ceph-coverage
executable is not installed.
Fixes: http://tracker.ceph.com/issues/16506
Signed-off-by: Loic Dachary <loic@dachary.org>
* tasks/rebuild_mondb.py: this task
1. removes all store.db on all monitors
2. rebuild the store.db for the first mon
3. start the first mon
4. run mkfs on other mon
5. and revive them
* suites/rados/singleton/all/rebuild-mon-db.yaml
1. run rados/test.sh
2. run rebuild_mondb task
Fixes: http://tracker.ceph.com/issues/17179
Signed-off-by: Kefu Chai <kchai@redhat.com>
rebuild_mondb task is not able to offer OSD with any monitor alive. so
self.manager.revive_osd() will always timeout after calling cot.
Signed-off-by: Kefu Chai <kchai@redhat.com>
to make sure that load_pgs() is finished before checking its output
Fixes: http://tracker.ceph.com/issues/16157
Signed-off-by: Kefu Chai <kchai@redhat.com>
The lsb_release binary is deprecated and requires installation of packages.
The /etc/os-release file is guaranteed to be present.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Otherwise a pre-single-major kernel override is a headache,
particularly with non-standard yaml configs.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Not doing so leads to issues and can interfere with subsequent jobs.
One example is the invocation of vgs(8) during the inital test setup:
it will issue a read to the left-behind rbd device(s) whose backing
cluster is long gone, locking up the job.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
The ceph-test package is required for teuthology. It is disabled to speed up
the build in OBS, but here we need it enabled unconditionally.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Previously, if errors occurred during healthy(), then
the finally block would invoke osd_scrub_pgs, which relies
on CephManager being constructed, and it would die, hiding
the original exception.
Signed-off-by: John Spray <john.spray@redhat.com>
The unmap test uses one remote, so the end result is the same.
However, overriding the most specific role is nicer and allows
scheduling with
kernel:
client:
branch: testing
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kernel 3.13, which is used in pre-single-major.yaml test, doesn't
support firefly tunables (default in jewel, up from bobtail tunables).
This went unnoticed for a while because of a kernel task regression -
the pre-single-major override was ignored.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Similarly to how single-major-off.yaml and single-major-on.yaml check
the value of /sys/module/rbd/parameters/single_major, assert that it's
not there for pre-single-major.yaml.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
When killing an osd, split all pools with a low threshold.
This will slow down tests, but should not impact correctness.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>