Commit Graph

5579 Commits

Author SHA1 Message Date
Nathan Cutler
0b10284caa buildpackages: force ceph-test build on SUSE
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>
2016-09-01 10:33:17 +02:00
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
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
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
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
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
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
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
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
Josh Durgin
50f32756a4 tox.ini: exclude .tox dir from flake8
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-07-28 14:44:54 -07:00
Josh Durgin
e49218b8ef Merge pull request #1105 from athanatos/wip-ec-pg-log
update diverge priors tests - this is handled by persisting the missing set now

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-07-28 14:40:19 -07:00
John Spray
41e51eb500 suites: fix asok_dump_tree.yaml
This had an extra ceph and install task.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-07-28 11:36:16 +01:00
Douglas Fuller
c669f1ecd5 cephfs: add test for dump tree admin socket command
Add test_dump_tree to validate the MDS admin socket command
dump tree. Add a parameter for path_to_ino to enable the use of
lstat() instead of stat()

See: http://tracker.ceph.com/issues/11171
See: https://github.com/ceph/ceph/pull/9925
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2016-07-28 11:35:56 +01:00
John Spray
60dc96884a suites/fs: log whitelist for inotable repair
Signed-off-by: John Spray <john.spray@redhat.com>
2016-07-28 11:31:55 +01:00
Vishal Kanaujia
ce99bcac2c cephfs: Added a inotable repair case to the test 2016-07-28 11:31:55 +01:00
vasukulkarni
b4923510c5 Merge pull request #1099 from ceph/wip-fix-bad-check
Fix rechecking of health in loop
2016-07-27 09:57:40 -07:00
John Spray
3faecc2d99 Merge pull request #1098 from smithfarm/wip-16808
packages/packages.yaml: drop ceph-fs-common-dbg

Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-27 10:05:15 +01:00
Vasu Kulkarni
597534150b Fix rechecking of health in loop
Use the newer stdout value for checking
ceph health again.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-07-25 15:29:53 -07:00
Nathan Cutler
0324f57329 packages/packages.yaml: drop ceph-fs-common-dbg
Meant to be merged together with https://github.com/ceph/ceph/pull/10433

Fixes: http://tracker.ceph.com/issues/16808
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-07-25 22:08:02 +02:00
Josh Durgin
f369d9ccb6 Merge pull request #1094 from ceph/wip_reduce_rados
Reduce number of jobs for hammer branch

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-07-25 10:37:45 -07:00
Zack Cerza
8ed7d0c062 Merge pull request #1074 from SUSE/wip-python-split
packages.yaml: reflect python-ceph package split
2016-07-25 10:38:34 -06:00
Yuri Weinstein
dac1d31c40 Reduce number of jobs for hammer branch
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2016-07-25 08:53:29 -07:00
Josh Durgin
c12b3513a7 Merge pull request #1003 from athanatos/wip-15655
ceph_manager: test [test-]reweight-by-(utilization|pg)

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-07-22 14:46:21 -07:00