Commit Graph

4130 Commits

Author SHA1 Message Date
Andrew Schoen
8cb28ddb8e Revert "ceph: be less weird about passing -f to mkfs" 2015-04-02 15:08:13 -05:00
Yuri Weinstein
720f4c78bd Fixed #11306 Whitelist WRN "failed to encode map"
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 9b9d27b25e)
2015-04-01 16:04:06 -07:00
Sage Weil
b6184a3924 Merge pull request #388 from athanatos/wip-wrongly
rados_python: whitelist wrongly marked me down
2015-03-31 10:06:41 -07:00
Sage Weil
5381115be3 Merge pull request #387 from athanatos/wip-scrub-repair-test
(scrub|rados)_test: tolerate best guess digest errors as well
2015-03-31 10:06:10 -07:00
Sage Weil
3a85be7049 Merge pull request #386 from athanatos/wip-11156
rados/thrash*: make scrubs happen a lot
2015-03-31 10:05:37 -07:00
Andrew Schoen
855d3a7623 Merge pull request #385 from ceph/wip-mkfs
ceph: be less weird about passing -f to mkfs
2015-03-31 11:03:00 -05:00
Sage Weil
182cb63034 ceph: fix mkfs -f bug
Pass -f by default to btrfs instead of first trying without and *then*
trying with.

Among other things, this avoids a confusing failure where we try mkfs.ext4
device (no -f), fail for some reason, and then try again with -f and get
a usage error (-f does not mean force for mke2fs).

Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-31 07:56:53 -07:00
Samuel Just
90393886fc rados_python: whitelist wrongly marked me down
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-30 13:47:05 -07:00
Samuel Just
9175f88943 (scrub|rados)_test: tolerate best guess digest errors as well
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-30 08:28:23 -07:00
Samuel Just
4d8bc2127f rados/thrash*: make scrubs happen a lot
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-30 08:21:11 -07:00
Yuri Weinstein
581fcf192f Merge pull request #380 from ceph/wip-11204
Make sure that ulimits are adjusted for ceph-objectstore-tool
2015-03-27 12:23:37 -07:00
Andrew Schoen
25db1f64ab Merge pull request #382 from dmick/master
calamari_setup: der.  Use dict.update() correctly
2015-03-26 18:03:50 -07:00
Dan Mick
58174f05e9 calamari_setup: der. Use dict.update() correctly
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-26 17:54:36 -07:00
Andrew Schoen
85e7be5a48 Merge pull request #381 from dmick/master
calamari_setup fixes
2015-03-26 17:21:18 -07:00
Sage Weil
dcb5e8da9d Merge remote-tracking branch 'gh/hammer'
Conflicts:
	.gitignore
2015-03-26 17:09:33 -07:00
Dan Mick
e3ec2fc7c4 calamari_setup: Require test_image to be set
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-26 17:01:48 -07:00
Dan Mick
dee010163b calamari_setup: centralize config defaults
Make a DEFAULTS dict that is updated by any user parms, so that
defaults are documented centrally and so config.get(key, defval) is
no longer necessary everywhere.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-26 17:01:48 -07:00
Dan Mick
3a69c3f494 calamari_setup: remove "build test image" code; add 'test_image' cfgvar
Stop trying to build test images inside this test; presume the test
image is available built externally (in a file path or an http URL).
Config vars ice_tool_dir, ice_version, iceball_location, and
ice_git_location go away in favor of 'test_image', the path to the
testable image (which can still be a tar.gz or an .iso).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-26 17:01:48 -07:00
Dan Mick
5644bb5a8d calamari_setup: mounting iso on older distros requires -o loop
Ubuntu's mount/kernel support "mount <file> <mntpnt>" directly;
apparently Centos 6 (and presumably RHEL6) require specifying at
least '-o loop' (a /dev/loopN will be dynamically allocated and removed
on unmount).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-26 17:01:48 -07:00
Andrew Schoen
55cb0a5e05 Merge pull request #379 from ceph/wip-wn
fix watch-notify test
2015-03-26 17:00:46 -07:00
Sage Weil
bafe87a8e5 tasks/watch_notify_same_primary: wait for watch before notify
Make sure watch is done registering and ready before sending the
notifies.

Fixes: #10634
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-26 16:51:56 -07:00
David Zafman
e6ce90fdb1 Make sure that ulimits are adjusted for ceph-objectstore-tool
Fixes: #11204

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-03-26 15:18:47 -07:00
Yuri Weinstein
aa3ff92587 Merge pull request #378 from dachary/wip-11221-erasure-code-not-parallel
erasure-code: enable ec-rados-default.yaml
2015-03-25 16:35:09 -07:00
Loic Dachary
1dddc118d3 erasure-code: enable ec-rados-default.yaml
The ec-rados-default.yaml started with:

  workload:
    sequential:

which is only suitable for suites/upgrade/giant-x/parallel/2-workload/sequential_run/ec-rados-default.yaml

because suites/upgrade/giant-x/parallel/1-giant-install/giant.yaml has

   - parallel:
      - workload
      - upgrade-sequence

The same file was included in contexts where the parallel task was not
used and the workload did not run:

  ./suites/upgrade/firefly-x/stress-split-erasure-code/5-workload/ec-rados-default.yaml
  ./suites/upgrade/giant-x/stress-split-erasure-code/5-workload/ec-rados-default.yaml
  ./suites/upgrade/giant-x/stress-split-erasure-code-x86_64/5-workload/ec-rados-default.yaml

The ec-rados-default.yaml is modified to be a task instead of a
sequential task in a parallel tasks. The ec-rados-sequential.yaml is
added and is linked in
suites/upgrade/giant-x/parallel/2-workload/sequential_run instead of ec-rados-default.yaml.

http://tracker.ceph.com/issues/11221 Fixes: #11221

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-03-25 17:33:31 +01:00
Loic Dachary
fc39550933 ensure summary is looked for the user we need (part 2)
Move the get_user_summary(out, user) logic to util.rgw so that it can be
shared between radosgw_admin_rest.py and radosgw_admin.py and modify
them accordingly.

http://tracker.ceph.com/issues/11180 Fixes: #11180

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 97e6d808f0)
2015-03-24 13:37:41 -04:00
Josh Durgin
fde3075f6f Merge pull request #377 from ceph/wip-11166
Fixes #11166, whitelisted 'Missing health data for MDS'

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-23 11:25:34 -07:00
Yuri Weinstein
e0ff0864e3 Fixes #11166, whitelisted 'Missing health data for MDS'
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-03-23 11:17:27 -07:00
Loic Dachary
cfc0d0784b Merge pull request #375 from dachary/wip-rgw-regional-summary
ensure summary is looked for the user we need (part 2)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-23 01:17:07 +01:00
Loic Dachary
97e6d808f0 ensure summary is looked for the user we need (part 2)
Move the get_user_summary(out, user) logic to util.rgw so that it can be
shared between radosgw_admin_rest.py and radosgw_admin.py and modify
them accordingly.

http://tracker.ceph.com/issues/11180 Fixes: #11180

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-03-22 21:07:51 +01:00
Yuri Weinstein
5b38484c07 Merge pull request #374 from ceph/wip-11139
ceph_manager: Check for exit status 11 from ceph-objectstore-tool import
2015-03-21 14:40:19 -07:00
David Zafman
6c5300552d ceph_manager: Check for exit status 11 from ceph-objectstore-tool import
Fixes: #11139

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-03-20 21:25:41 -07:00
Gregory Farnum
d1c415f287 Merge pull request #373 from ceph/wip-10861
fs: fix up dd testing again

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
2015-03-20 17:44:03 -07:00
Gregory Meno
798f31d836 Merge pull request #371 from ceph/wip-iso-style
Add support for ISOs to tasks/calamari_setup
2015-03-20 20:33:53 -04:00
Greg Farnum
8aeacaa59f fs: fix up dd testing again
We need to change into the directory during the same shell session as we actually
run the dd...

Fixes: #10861

Backport: hammer, giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-03-20 17:33:10 -07:00
Dan Mick
c571e65671 calamari_setup: oops: ice-tools is still where it was on github.com
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-20 17:28:10 -07:00
Alfredo Deza
b6c2e978d6 ensure summary is looked for the user we need
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f7ea0a424a)
2015-03-20 13:23:02 -04:00
Andrew Schoen
dfea7dd46c Merge pull request #372 from ceph/wip-11180
ensure summary is looked for the user we need
2015-03-20 09:33:13 -05:00
Alfredo Deza
f7ea0a424a ensure summary is looked for the user we need
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2015-03-20 09:27:05 -04:00
Gregory Meno
81c493c99f calamari_setup: add -y to yum localinstall icesetup
also fix a few flake8 things

Signed-off-by: Ubuntu <ubuntu@vpm047.front.sepia.ceph.com>
2015-03-19 20:14:52 +00:00
Dan Mick
93c0b8a0bd calamari_setup: handle iso, preserving support for tar.gz
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-18 18:03:21 -07:00
Dan Mick
da668abb92 calamari_setup: small comment/logmsg fixes, correct git user path
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-18 18:03:18 -07:00
Dan Mick
9087b7da12 calamari_setup: make iceball fetch/creators return path to iceball
Also, widen the concept of "iceball" to include both iso and tar.gz

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-03-18 17:16:53 -07:00
Dan Mick
34e7544e12 calamari_setup: Refactor/simplify in preparation for iso support
Signed-off-by: Gregory Meno <gmeno@redhat.com>
2015-03-18 17:16:41 -07:00
Yuri Weinstein
056dd6d595 Implemented "exclude_packages" feature #11043
Fixed per Josh's comment

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 4250e22dde)
2015-03-06 12:40:12 -08:00
Josh Durgin
62f1d8d5db Merge pull request #364 from ceph/wip-11043
Implemented "exclude_packages" feature #11043
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-06 11:34:42 -08:00
Gregory Farnum
92ccc9e96e Merge pull request #363 from ceph/hammer-backports-hadoop
hadoop: fixup for new replication test

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-06 09:29:06 -08:00
Yuri Weinstein
4250e22dde Implemented "exclude_packages" feature #11043
Fixed per Josh's comment

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-03-05 16:47:58 -08:00
Yuri Weinstein
2539a48e20 Implemented "exclude_packages" feature #11043
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-03-05 16:19:48 -08:00
John Spray
c1bff2ea9e Merge pull request #357 from ceph/wip-10949
tasks/cephfs: clean up core on deliberate crash

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-03-04 19:14:43 +00:00
John Spray
7ad8ac63fc tasks/cephfs: clean up core on deliberate crash
To avoid internal.coredump task synthesizing a failure
during teardown from the core we left behind.

Fixes: #10949
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-04 19:13:43 +00:00