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>
When multiple client run in parallel on the same machine and they
try to get workunits from a repository that is not github, they must
git clone in a directory that is suffixed as srcdir. Otherwise they
will conflict with each other.
Fixes: http://tracker.ceph.com/issues/17116
Signed-off-by: Loic Dachary <loic@dachary.org>
otherwise monitor could reject the command:
```
Refusing to reweight: we only used 588084 kb used across all osds!
```
if the average used space is smaller than
`mon_reweight_min_bytes_per_osd`.
Fixes: http://tracker.ceph.com/issues/16805
Signed-off-by: Kefu Chai <kchai@redhat.com>
The v10.2.x cls_rbd test case will not pass against a v10.2.0
OSD. Disable the offending test.
Fixes: http://tracker.ceph.com/issues/16529
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
vstart_runner can't find arguments to ceph daemons to identify them with
ps -x because commands are cut off at terminal width. Add -ww for wide
output.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
Ported from Zheng's #22: 2e283ce6d7
"This can reduce the test time becuase it avoids sending getattr request
whenever the kernel checks inode permission."
This is part of an effort to eliminate unnecessary differences between
multimds and fs suites.
Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
The way we currently build the cephfs java
bindings depends on the unversioned .so file
which is in the -dev package, not the
main one.
Fixes: http://tracker.ceph.com/issues/16640
Signed-off-by: John Spray <john.spray@redhat.com>
Fortunately we already have a test that creates the condition,
so just tweak it to exceed the 150% threshold for the health warning,
and check that the health message appears.
Signed-off-by: John Spray <john.spray@redhat.com>