Commit Graph

5850 Commits

Author SHA1 Message Date
Ricardo Dias
494b623602 buildpackages: fix RPM generation script to support opensuse spec file
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 4692f995ba6967796d5dd2f5fd85fde8705a1ccc)
2016-09-01 10:32:10 +02:00
Gregory Farnum
c2efbd39c1 Merge pull request #1112 from jcsp/wip-16909
tasks/cephfs: test standby replay teardown on rank stop

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-08-31 14:03:24 -07:00
John Spray
c444db12d4 tasks/ceph: construct CephManager earlier
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>
2016-08-31 15:32:33 +01:00
Josh Durgin
66a5e4e002 Merge pull request #1149 from ceph/wip-krbd-unmap-fixes
krbd/unmap: assorted pre-single-major fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-30 15:10:12 -07:00
Orit Wasserman
54d311a991 rgw: add sleep to let the sync agent to init
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-08-30 15:28:24 +02:00
Ilya Dryomov
02460f2156 krbd/unmap: override client.0 only
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>
2016-08-30 12:52:13 +02:00
Ilya Dryomov
39883e9d9f krbd/unmap: set tunables to bobtail
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>
2016-08-30 12:52:13 +02:00
Ilya Dryomov
f3bc869522 krbd/unmap: assert that pre-single-major kernel is installed
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>
2016-08-30 12:52:13 +02:00
Nathan Cutler
cc54f86984 Merge pull request #1146 from dachary/wip-17152-openstack
openstack: add disks where necessary

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-08-29 10:41:47 +02:00
Loic Dachary
52017e6707 openstack: add disks where necessary
Ref: http://tracker.ceph.com/issues/17152

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-08-29 10:33:55 +02:00
Loic Dachary
b4bb54e5df Merge pull request #1141 from rjfd/wip-test-buildpackages
buildpackages: make make-{deb,rpm}.sh aware of cmake

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.cz>
2016-08-26 09:23:14 +02:00
Josh Durgin
f28f881bda ceph_manager: test offline split via ceph-objectstore-tool
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>
2016-08-26 00:28:32 +00:00
Loic Dachary
cac9f845a0 Merge pull request #1142 from dachary/wip-17116-workunit
workunit: allow parallel git clone

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
2016-08-25 23:01:46 +02:00
Loic Dachary
b9813e490e workunit: allow parallel git clone
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>
2016-08-25 11:34:46 +02:00
Dan Mick
da94b0da58 Merge pull request #1137 from ceph/wip-fix-console
Fix console handling in tasks

Reviewed-by: Dan Mick <dmick@redhat.com>
2016-08-24 16:04:18 -07:00
Zack Cerza
bf797f0b1f Update console checking, and DRY
Signed-off-by: Zack Cerza <zack@redhat.com>
2016-08-24 11:13:32 -06:00
Zack Cerza
821cf2caa6 Drop unnecessary console handling code
Remote.console is provided by teuthology now
http://tracker.ceph.com/issues/17124
Fixes: 17124

Signed-off-by: Zack Cerza <zack@redhat.com>
2016-08-24 11:11:25 -06:00
Nathan Cutler
65590aa039
buildpackages: make make-{deb,rpm}.sh aware of cmake
Fixes: http://tracker.ceph.com/issues/16819
Signed-off-by: Ricardo Dias <rdias@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-24 14:38:17 +01:00
Orit Wasserman
ad5a2a2f19 rgw: add debug info when comparing bucket metadata
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-08-24 13:22:34 +02:00
Zack Cerza
0c12a05967 Merge pull request #1133 from SUSE/wip-17075
Revert "packages.yaml: reflect python-ceph package split"
2016-08-23 14:21:00 -06:00
Zack Cerza
d59b75ea60 Merge pull request #1135 from athanatos/wip-stdout
ceph_manager: do not use StringIO instance as default argument
2016-08-23 12:09:41 -06:00
Samuel Just
6394a9e52f ceph_manager: do not use StringIO instance as default argument
Otherwise, all invokations share the *same* StringIO instance
leading to some very silly bugs.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-08-23 09:53:39 -07:00
Nathan Cutler
caaca04eb4 Revert "packages.yaml: reflect python-ceph package split"
This reverts commit 0216330568.

Fixes: http://tracker.ceph.com/issues/17075
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-23 18:36:23 +02:00
Orit Wasserman
abd683456c rgw: we don't support btrfs any more
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-08-23 11:59:39 +02:00
Kefu Chai
eb2cfc6e4f Merge pull request #1128 from ceph/wip-16805
ceph_manager: lower mon_reweight_min_bytes_per_osd to 10

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-23 10:07:05 +08:00
Kefu Chai
5c4aeb10c4 ceph_manager: lower mon_reweight_min_bytes_per_osd to 10
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>
2016-08-23 02:18:35 +08:00
Samuel Just
3052452e64 Merge pull request #1122 from ceph/wip-fixbiglogs
Fix big logs in rados thrash runs

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-19 07:52:53 -07:00
Ryne Li
8c0d814d68 add test case for envlibrados
Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
2016-08-19 08:56:20 -04:00
Mykola Golub
46dec2e3a6 Merge pull request #1116 from ceph/wip-16529
suites/upgrade: point-to-point Jewel upgrade workaround

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-19 14:00:02 +03:00
David Zafman
9d52d10898 revive_osd: Suppress output used to wait for OSD to be fully started
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-08-18 21:10:54 -07:00
David Zafman
d762fa563e Thrashosds: Turn off output when doing dump_ops testing
Needed to add stdout option to pass down to run()

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-08-18 09:02:14 -07:00
Jason Dillaman
adb261476a suites/upgrade: point-to-point Jewel upgrade workaround
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>
2016-08-16 09:04:58 -04:00
Josh Durgin
db0164d5bc Merge pull request #1117 from ceph/wip-16975
jewel-x: use jewel-compatible librados tests for upgraded clients

Reviewed-by: Yuri Weinstein <yuri.weinstein@gmail.com>
2016-08-15 08:42:34 -07:00
Casey Bodley
171eadd6a3 Merge pull request #1119 from ceph/wip-rgw-17025
rgw: data_extra_pool is unique per zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-15 09:38:10 -04:00
Orit Wasserman
c6cdd0905f rgw: data_extra_pool is unique per zone
Fixes: http://tracker.ceph.com/issues/17025
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-08-15 14:52:56 +02:00
Josh Durgin
c5f7ee3f69 jewel-x: use jewel-compatible librados tests for upgraded clients
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-08-11 20:43:52 -07:00
Dan Mick
e9de4075c8 Merge pull request #1115 from ceph/wip_add_sterr
Added stderr to the log file in addition to stdout

Reviewed-by: Dan Mick <dmick@redhat.com>
2016-08-10 14:05:35 -07:00
Yuri Weinstein
704d06e9b4 Added stderr to the log file in addition to stdout
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2016-08-10 13:15:00 -07:00
John Spray
c28c84cb3d Merge pull request #1110 from fullerdj/wip-djf-20160808
cephfs/vstart_runner: add -w option to ps

Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-10 12:22:59 +01:00
John Spray
f23e15c9fa tasks/cephfs: test standby replay teardown on rank stop
Fixes: http://tracker.ceph.com/issues/16909
Signed-off-by: John Spray <john.spray@redhat.com>
2016-08-09 14:29:13 +01:00
Douglas Fuller
e01ff2e3c1 cephfs/vstart_runner: add -ww option to ps
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>
2016-08-09 06:19:14 -07:00
Patrick Donnelly
3ec94d2055
fs: fuse_default_permissions = 0 for kernel build test
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>
2016-08-07 22:57:15 -04:00
John Spray
a2c2c83220 Merge pull request #1107 from ceph/wip-16879
suites/fs: fix log whitelist for inotable repair

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2016-08-02 16:31:33 +01:00
John Spray
09c8cd0fbc Merge pull request #1084 from ceph/wip-16640
task/packages: install libcephfs1-dev
2016-08-02 12:16:58 +01:00
John Spray
ed1e7f15ed suites/fs: fix log whitelist for inotable repair
Fixes: http://tracker.ceph.com/issues/16879
Signed-off-by: John Spray <john.spray@redhat.com>
2016-08-02 12:12:37 +01:00
John Spray
53a01d3d02 task/packages: install libcephfs-dev
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>
2016-07-29 14:46:29 +01:00
John Spray
d974dc11f5 Merge pull request #1082 from ceph/wip-mds-minor
tasks/cephfs: check cache size health warning
2016-07-29 13:51:06 +01:00
John Spray
05a6c839e0 tasks/cephfs: check cache size health warning
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>
2016-07-29 12:42:30 +01:00
Samuel Just
31d781958e Merge pull request #1106 from ceph/wip-flake8
fix flake8 errors

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-07-28 14:53:15 -07:00
Josh Durgin
cee7a24183 cephfs/filesystem: remove unused var
flake8 passes now

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-07-28 14:45:25 -07:00