Danny Al-Gaaf
eb3350e4b0
test_mon_config_key.py: fix some more naming of local vars
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 16:02:20 +02:00
Danny Al-Gaaf
7436542937
test_mon_config_key.py: fix naming of local variable opLOG
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 16:02:02 +02:00
Danny Al-Gaaf
9d3b4fd788
test_mon_config_key.py: fix naming of local variable
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 16:01:16 +02:00
Danny Al-Gaaf
04075722bc
fix "Instance of 'list' has no 'split' member"
...
Cast with str() to fix issue.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 16:00:09 +02:00
Danny Al-Gaaf
c792ea6707
test_mon_config_key.py: fix naming of local variable
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 15:57:20 +02:00
Danny Al-Gaaf
912bb82c72
test_mon_config_key.py: fix naming of global variables/constants
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 15:56:30 +02:00
Danny Al-Gaaf
1464169a26
test_mon_config_key.py: add missing space after comma
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 15:56:19 +02:00
Danny Al-Gaaf
16c565068b
test_mon_config_key.py: remove unnecessary semicolon
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 15:56:14 +02:00
Danny Al-Gaaf
f601eb9053
test_mon_config_key.py: fix bad indentation
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-04-25 15:55:19 +02:00
Sage Weil
29f9db1980
mon: fix crush unit tests for idempotency
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-04-03 15:45:34 -07:00
Dan Mick
cfd32fff7c
test_mon_config_key.py: fix 'del' to clean up correctly internally
2013-04-02 15:09:43 -07:00
Joao Eduardo Luis
677867d088
qa: workunits: mon: test 'config-key' store
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-04-01 16:11:01 +01:00
Sage Weil
3f2e71169a
mon: fix crush_ops.sh tests
...
Make it work. Also, make note that these aren't handled idempotently by
the mon currently. Doh!
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-26 22:47:37 -07:00
Sage Weil
eae1532ca1
mon, crush: add some tests to build a DAG via the cli
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-22 15:15:38 -07:00
Sage Weil
473beb53c5
qa: mon/pool_ops.sh: fix last test
...
Got this one backwards, bah!
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 08:44:03 -08:00
Sage Weil
96e153aeef
qa: mon/pool_ops.sh: test pool set size
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-19 15:54:52 -08:00
Sage Weil
7bd49d02ad
qa: mon/pool_ops.sh: fix pool tests
...
The '! command' doesn't fail properly, even with -e, in bash (wtf!).
Also, the last pool deletion command succeeds because the pool
'--yes-i-really-really-mean-it' doesn't exist. So drop that test.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-19 15:54:07 -08:00
Sage Weil
6d338591b7
qa: mon/workloadgen.sh: drop TEST_CEPH_CONF code
...
The binaries already pick up on CEPH_CONF, which will be set as needed.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-19 09:02:14 -08:00
Sage Weil
670a14827a
qa: fix mon/osd.sh
...
It needs to be a valid osd id that we try to remove (that doesn't exist).
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-13 08:30:09 -08:00
Danny Al-Gaaf
7b89ee666b
ceph-test: give binaries from ceph-test package useful names
...
The files from the ceph-test subpackage are installed to /usr/bin,
give them more useful names to make sure that the user know they
belong to ceph. add a 'ceph_' prefix and change some test* binaries
to ceph_test_*.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-02-10 18:33:56 +01:00
Sage Weil
b79067a863
qa: add workunits/mon/crush_ops.sh
...
Test creating, listing, removing crush rules via the mon.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-05 14:31:13 -08:00
Josh Durgin
1a6197a75b
qa: fix mon pool_ops workunit
...
Use ! for clarity when commands are supposed to fail.
Check a few other cases that should fail, and correct deleting
non-existent pools.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-01-28 15:25:13 -08:00
Sage Weil
bbb86ec794
mon: safety interlock for pool deletion
...
Require that the pool name be passed twice along with an force option
before we irreversibly delete an entire pool of objects.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-01-26 13:45:12 -08:00
Joao Eduardo Luis
2a681052b2
qa: workunits: mon: add workloadgen's workunit
...
Uses test/mon/test_osd_workloadgen to generate a bunch of map
changes
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-11-27 20:00:44 +00:00
Sage Weil
efa03cef5e
mon: require pgnum in 'ceph osd pool create <poolname> <pgnum> [<pgp_num>]' command
...
The default of 8 is virtually never the right answer. Require the initial
pg count to be explicitly provided.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-12 12:01:07 -08:00
Sage Weil
640e5fdebc
qa: simple tests for 'ceph osd create|rm' commands
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-27 10:43:26 -07:00
Sage Weil
4788567e0f
qa: simple test for pool create/delete commands
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-27 10:43:26 -07:00