Commit Graph

5602 Commits

Author SHA1 Message Date
Ramana Raja
f0134a3db5 tasks/cephfs: test recovery of partial auth update
... in ceph_volume_client.

Signed-off-by: Ramana Raja <rraja@redhat.com>

Update test_volume_client.py
2016-09-06 17:59:22 +05:30
Loic Dachary
b7652e430d Merge pull request #1165 from tchaikov/wip-16157
rados/singleton-nomsgr/all/11429: wait until clean before checking log

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-09-06 12:22:07 +02:00
Kefu Chai
3ad90bfbdb rados/singleton-nomsgr/all/11429: wait until clean before checking log
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>
2016-09-06 17:50:30 +08:00
Loic Dachary
27666e08bc Merge pull request #1162 from SUSE/wip-make-rpm-os-release
buildpackages/make-rpm.sh: use /etc/os-release

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-09-05 21:50:03 +02:00
Nathan Cutler
67de197ce5 buildpackages/make-rpm.sh: adjust Source0 spec file line on SUSE
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-09-05 21:42:53 +02:00
Nathan Cutler
29671063f9 buildpackages: use unadulterated make-dist
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-09-05 21:33:21 +02:00
Nathan Cutler
44d9acb677 buildpackages/make-rpm.sh: use /etc/os-release
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>
2016-09-05 21:33:21 +02:00
Loic Dachary
64bd3f2d85 Merge pull request #1161 from ceph/wip-unmap-separate-client
krbd/unmap: put client.0 on a separate remote

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-09-05 11:55:35 +02:00
Orit Wasserman
2042f96b66 Merge pull request #1132 from ceph/wip-rgw-remove-btrfs
rgw: we don't support btrfs any more
2016-09-04 11:15:55 +02:00
Ilya Dryomov
311a450163 krbd/unmap: put client.0 on a separate remote
Otherwise a pre-single-major kernel override is a headache,
particularly with non-standard yaml configs.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-09-03 21:21:45 +02:00
vasukulkarni
cda292c9d6 Merge pull request #1158 from ceph/wip-fio-unmap-devices
tasks/rbd_fio: unmap rbd devices on cleanup
2016-09-01 10:00:23 -07:00
Ilya Dryomov
15be2d29be tasks/rbd_fio: unmap rbd devices on cleanup
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>
2016-09-01 18:13:55 +02:00
Ilya Dryomov
ec97445740 tasks/rbd_fio: don't use sudo unnecessarily
Creating and cloning images doesn't require sudo.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-09-01 15:51:07 +02:00
Loic Dachary
2525fedc3d Merge pull request #1155 from SUSE/wip-suse-ceph-test
buildpackages: fix make-rpm.sh for SUSE

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-09-01 12:04:27 +02:00
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
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
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
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
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
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
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