Joao Eduardo Luis
5c4616e100
qa/workunits: cephtool: set +e for the tcmalloc tests
...
Avoids failing the tests when tcmalloc is not present
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 01:00:36 +01:00
Joao Eduardo Luis
6725543515
qa/workunits: cephtool: delete unnecessary function calls
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 01:00:36 +01:00
Joao Eduardo Luis
946bd0dad4
qa/workunits: cephtool: disable bash debug when not running tests
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 01:00:35 +01:00
Joao Eduardo Luis
5d26575ef2
qa/workunits: cephtool: allow running individual tests
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 01:00:35 +01:00
Joao Eduardo Luis
f4184086d0
qa/workunits: cephtool: cleanup state after erasure-code-profile test
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 01:00:35 +01:00
Joao Eduardo Luis
780424df3a
qa/workunits: cephtool: add/remove comments
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 00:57:14 +01:00
Joao Eduardo Luis
3d14a96f4b
qa/workunits: cephtool: split into properly indented functions
...
The test was a big sequence of commands being run and it has been growing
organically for a while, even though it has maintained a sense of
locality with regard to the portions being tested.
This patch intends to split the commands into functions, allowing for a
better semantic context and easier expansion. On the other hand, this
will also allow us to implement mechanisms to run specific portions of
the test instead of always having to run the whole thing just to test a
couple of lines down at the bottom (or have to creatively edit the test).
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 00:55:46 +01:00
Joao Eduardo Luis
04658b7b2b
qa/workunits: cephtool: move test line to where it's more appropriate
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 00:52:44 +01:00
Joao Eduardo Luis
db6cc133ba
qa/workunits: cephtool: split into functions
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-26 00:51:05 +01:00
Samuel Just
4e68ac34ec
Merge pull request #2001 from dachary/wip-tiermsg
...
mon: test that pools used in tiers cannot be removed
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-06-25 13:39:48 -07:00
Sage Weil
394d51233d
Merge pull request #1958 from jdurgin/wip-rbd-ro
...
qa: add script to test krbd setting ro/rw ioctl
Reviewed-by: Sage Weil <sage@redhat.com>
2014-06-25 11:14:58 -07:00
John Spray
e5c565d3c1
Merge remote-tracking branch 'origin/next'
2014-06-24 16:00:28 -07:00
Joao Eduardo Luis
378b5add22
qa/workunit: cephtool: test mds newfs and add_data_pool with ec pools
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-24 00:48:43 +01:00
Loic Dachary
39a4b78177
mon: test that pools used in tiers cannot be removed
...
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 09:52:31 +02:00
John Spray
0d63cf24a4
qa: extend cephfs_journal_tool_smoke
...
To provide coverage for the 'import' command
resulting in the same contents as before an
export/import cycle.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-06-13 11:39:56 +01:00
John Spray
acd6ebb09b
qa: set +x on cephfs_journal_tool_smoke
...
Signed-off-by: John Spray <john.spray@redhat.com>
2014-06-13 11:39:56 +01:00
John Spray
ee487b422b
tools/cephfs: Purge trailing objects during import
...
Reviewed-by: Gregory Farnum <greg@inktank.com>
Signed-off-by: John Spray <john.spray@inktank.com>
2014-06-13 11:39:17 +01:00
Josh Durgin
40c48bcae0
qa: add script to test krbd setting ro/rw ioctl
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-06-11 17:31:01 -07:00
Greg Farnum
29c33f0c05
qa: add an fsx run which turns on kernel debugging
...
Signed-off-by: Greg Farnum <greg@inktank.com>
2014-06-11 13:40:48 -07:00
Sage Weil
47028874e2
Merge pull request #1872 from ceph/wip-reweight-tree
...
mon: add 'osd crush reweight-tree ...'
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-09 05:29:20 -07:00
Sage Weil
4951244726
Merge remote-tracking branch 'gh/next'
2014-06-02 22:24:48 -07:00
Joao Eduardo Luis
38405d3554
qa/workunits/cephtool: test setting options using SI units
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-30 22:09:23 +01:00
Sage Weil
576315ac15
mon/OSDMonitor: add 'osd crush reweight-subtree ...'
...
Reweight all items within a subtree. For example, you might reweigh tall
OSDs within a rack to a new value.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-27 15:42:08 -07:00
Samuel Just
e5a172124a
Merge pull request #1873 from dachary/wip-8440
...
mon: fix set cache_target_full_ratio
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-27 15:00:39 -07:00
Loic Dachary
c2225f874d
mon: fix set cache_target_full_ratio
...
It was a noop because it was incorrectly using the variable n. Add a
test to protect against regression.
http://tracker.ceph.com/issues/8440 Fixes : #8440
Reported-by: Geoffrey Hartz <hartz.geoffrey@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-27 10:24:18 +02:00
John Spray
3bef125fe4
qa: Add smoke test for cephfs-journal-tool
...
Signed-off-by: John Spray <john.spray@inktank.com>
2014-05-20 14:43:54 +01:00
Greg Farnum
405063b16e
workunits: provide some output in the dirfrag.sh test
...
Signed-off-by: Greg Farnum <greg@inktank.com>
2014-05-14 14:20:19 -07:00
Joao Eduardo Luis
fd970bbc95
mon: OSDMonitor: disallow nonsensical cache-mode transitions
...
Fixes: 8155
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-03 03:42:19 +01:00
Warren Usui
9e3b8609cb
Fix s3 tests in the rgw workunit.
...
Make it possible to set RGW_PORT with ENV variable.
Fixes: 7500
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-04-28 13:56:29 -07:00
Loic Dachary
9b37398d65
Merge pull request #1717 from dachary/wip-auid
...
mon: add ceph osd pool set <pool> auid
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-04-24 22:42:09 +02:00
Warren Usui
ddf37d903f
Use new git mirror for qemu-iotests
...
Fixes: 8191
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-04-24 12:55:26 -07:00
Loic Dachary
aae16ab355
mon: add ceph osd pool set <pool> auid
...
When a pool is created with ceph osd pool create, the auid is not
inferred from the session auid and is set to zero. Add the
ceph osd pool set <pool> auid <int>
command to set it after it is created, and the matching get:
ceph osd pool get <pool> auid
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-04-23 22:20:42 +02:00
Warren Usui
606e725eb5
Support latest qemu iotest code
...
Modified qemu-iotests workunit script to check for versions
that use the latest qemu (currently only Trusty). Limit the
tests to those that are applicable to rbd.
Fixes: 7882
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-04-23 13:20:14 -07:00
Sage Weil
009e874686
qa/workunits/rbd/copy.sh: skip some tests when tiering is enabled
...
The rados ls bit doesn't work.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-04-22 11:59:26 -07:00
Sage Weil
c0bff439f5
qa/workunits/rbd/copy.sh: fix test
...
I broke this in commit 9d64ac6608
.
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-04-22 11:59:23 -07:00
Sage Weil
a80e66f932
qa/workunit/rbd/import_export.sh: skip list-objects tests with tiering
...
Listing objects isn't reliable with cache pools; skip that part of the
test if we see that rbd has tiering enabled.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-21 16:47:10 -07:00
Sage Weil
9d64ac6608
qa/workunit/rbd/copy.sh: do not delete/recreate rbd pool
...
Among other things, it breaks when tiering is enabled.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-21 16:26:23 -07:00
Sage Weil
2cb0bac697
qa/workunits/cephtool/test.sh: make set pg_num test non-racy
...
Loop while the pool is creating.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
2014-04-21 14:18:21 -07:00
Greg Farnum
82edda23aa
test: handle the create-pg delay when testing cache split syntax
...
Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-04-18 13:41:00 -07:00
Sage Weil
015df934af
mon/OSDMonitor: require force argument to split a cache pool
...
There are several perils when splitting a cache pool:
- split invalidstes pg stats, which disables the agent
- a scrub must be manually triggered post-split to rebuild stats
- the pool may fill the OSDs during that period.
- or, the pool may end up beyond the 'full' mark and once scrub does
complete and the agent activate we may block IO for a long time while
we catch up with flush/evict
Make it a bit harder for users to shoot themselves in the foot.
Fixes : #8043
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-15 13:57:21 -07:00
Joao Eduardo Luis
e213ee1573
qa: workunits: mon: auth_caps.sh: test 'auth' caps requirements
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-04-07 18:30:56 +01:00
Ilya Dryomov
d323634024
qa: test_alloc_hint: set ec ruleset-failure-domain to osd
...
Create a custom profile with ruleset-failure-domain=osd. (The default
ruleset-failure-domain=host won't do because this script assumes and
works only if all osds are on the same host.) While at it, set k and m
explicitly to avoid troubles in the future.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-04-03 21:16:14 +04:00
Sage Weil
e44f85ce18
qa/workunits/cephtool/test.sh: test 'osd pg-temp ...'
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-31 14:12:51 -07:00
Sage Weil
8c761c4797
mon: make 'ceph osd erasure-code-profile set ...' idempotent
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-31 10:01:43 -07:00
Sage Weil
7d321d8aa6
qa/workunits/rados/test_alloc_hint: fix erasure syntax
...
This changed recently.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-31 09:14:36 -07:00
Sage Weil
4f9f7f8789
qa/workunits/fs/misc/layout_vxattrs: ceph.file.layout is not listed
...
As of 08a3d6bd42
. A similar change was made
in the kernel.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-29 14:23:21 -07:00
Sage Weil
7cb1d3a43d
qa/workunits/mon/pool_ops.sh: fix test
...
The pool create command doesn't take k/v pairs any more.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-27 12:57:40 -07:00
Sage Weil
233801c622
qa/workunits/mon/pool_ops.sh: use expect_false
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-27 12:56:44 -07:00
Warren Usui
2779e2ab03
Make sure s3_utilities are found.
...
Add FindBin code to rgw/s3 tests to include s3_utilites.pm properly.
Fixes: 7863
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-03-25 16:30:03 -07:00
David Zafman
01b99668ab
qa: Add ceph_multi_stress_watch for rep and ec
...
Fixes : #7438
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-03-24 14:04:48 -07:00