Commit Graph

1119 Commits

Author SHA1 Message Date
Zack Cerza
10e12c2d5c Add skeleton devstack task
Currently only installs devstack on one node, and creates some pools on
the ceph cluster.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:05 -06:00
Warren Usui
b4ce61cc3d Add back in print in ceph_manager that the last checkin accidentally removed 2014-02-20 14:51:23 -08:00
Warren Usui
30f8938ea3 Fix formatting and add docstrings to ceph_manager.py
Fixes: 6531
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-20 14:51:23 -08:00
Alfredo Deza
31c27e139f Merge pull request #186 from ceph/wip-7369
Fix #7369: "sed expression must be raw string"
2014-02-19 16:40:17 -05:00
Zack Cerza
a70e93fcab Merge pull request #199 from ceph/wip-6540-wusui
Add docstrings.  Fix formatting issues for rgw.py
2014-02-19 15:26:31 -06:00
Zack Cerza
cc3d013e96 Merge pull request #196 from ceph/wip-6541-wusui
Fix docstrings in radosgw-admin-rest.py
2014-02-19 15:26:14 -06:00
Zack Cerza
8d85b21cae Merge pull request #197 from ceph/wip-6535-wusui
Fix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrashe...
2014-02-19 15:26:06 -06:00
Zack Cerza
f18dcf5bac Merge pull request #198 from ceph/wip-6539-wusui
Fix docstrings and minor formatting in task/ssh_keys.py
2014-02-19 15:25:33 -06:00
Zack Cerza
9f953d42e6 Merge pull request #200 from ceph/wip-6532-wusui
Fixed task/args.py docstrings.
2014-02-19 15:23:37 -06:00
Samuel Just
2718dbc3b5 radosbench: simplify pool creation and add ec_pool support
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-18 13:19:52 -08:00
Samuel Just
e371565251 task/: add ec_pool and append to rados.py
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-18 13:19:52 -08:00
Sage Weil
c93f14f24b filestore_idempotent: filestore -> objectstore path change
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-18 04:54:12 -08:00
Sage Weil
3d0ce6936d thrashosds: allow primary-affinity thrashing to be disabled
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-17 13:16:42 -08:00
Sage Weil
63ad9aaba0 thrashosds: randomly adjust primary_affinity
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-15 20:01:51 -08:00
Warren Usui
64ff4ab0cb Fixed task/args.py docstrings. 2014-02-14 17:28:38 -08:00
Warren Usui
c631190a76 Add docstrings. Fix formatting issues for rgw.py
Fix s3tests calls for rgw-logsocket.py.

Fixes: 6540
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-14 17:08:28 -08:00
Warren Usui
6df622b353 Fix docstrings and minor formatting in task/ssh_keys.py
Fixes: 6539
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-14 15:48:38 -08:00
Warren Usui
0af08071ac Fix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrasher.py and
recovery_bench.py.

Fixes: 6535
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-14 15:13:01 -08:00
Warren Usui
ef97f0cda4 Fix docstrings in radosgw-admin-rest.py
Fixes: 6541
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-14 13:57:03 -08:00
Zack Cerza
4015d61491 Merge pull request #188 from ceph/wip-calamari-onefile
Add Calamari test tasks, test script
2014-02-14 14:59:04 -06:00
Dan Mick
a6eee01fa0 Review: switch to selecting remotes by roles in the 'normal' way
This buys us, also, the ability to select remotes by rule, i.e.
"any osd or mon gets calamari-agent installed"

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-14 11:28:08 -08:00
Dan Mick
006428c5ce Review: refactor packaging routines to common file
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-14 11:28:01 -08:00
Zack Cerza
67e670b260 Merge pull request #192 from ceph/wip-6537-wusui
Readjust the indentation of mon_clock_skew_check.py and mon_thrash.py.
2014-02-14 11:50:55 -06:00
Zack Cerza
e8e7cc22a6 Merge pull request #194 from ceph/wip-6534-wusui
Add docstrings to internal.py
2014-02-14 11:45:51 -06:00
Zack Cerza
a3fbb6c5bd Merge pull request #193 from ceph/wip-6538-wusui
Add doc strings to Swift tests
2014-02-14 11:45:19 -06:00
Zack Cerza
1da78c0643 Merge pull request #187 from ceph/wip-better-debug
Debug output improvements
2014-02-14 11:43:15 -06:00
Warren Usui
6810610291 Add docstrings to internal.py
Fixes: 6534
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-13 22:37:51 -08:00
Warren Usui
5c36a5cebd Add doc strings to Swift tests
Fixes: 6538
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-13 21:11:34 -08:00
Warren Usui
567961b727 Readjust the indentation of mon_clock_skew_check.py and mon_thrash.py.
Added docstrings.

Fixes: 6537
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-13 20:36:08 -08:00
Dan Mick
12b79044f4 Review: Rename calamari_testdir/ to calamari/ 2014-02-13 20:00:50 -08:00
Dan Mick
f06551097e Fix flake8 failures
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-12 13:25:54 -08:00
John Spray
d53a5b65c9 Spelling
Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-12 17:29:09 +00:00
Warren Usui
cee713ff6a Add docstrings to s3 related tasks.
Fixes: 6536
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-11 20:21:06 -08:00
Dan Mick
e26bb35649 Add calamari setup/test tasks
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-02-11 13:34:31 -08:00
Zack Cerza
51957433db Merge pull request #184 from ceph/wip-pg-scrub-from-ceph-wusui
Scrub osds when ceph task finishes
2014-02-10 18:25:14 -06:00
Zack Cerza
ad6d412ee8 Fix #7369: "sed expression must be raw string"
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-10 15:40:44 -06:00
Warren Usui
ceffee40d4 Make sure osd_scrub_pgs gets called if healthy call fails.
Fixes: 7198
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-10 09:28:39 -08:00
Warren Usui
69f29d17f0 Move osd_scrub_pgs call to finally block of ceph main task.
Fixes: 7198
Signed-off-bye: Warren Usui <warren.usui@inktank.com>
2014-02-07 14:54:23 -08:00
Sage Weil
c2bd8464d8 valgrind: fix msync suppression
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-05 11:26:41 -08:00
Warren Usui
2bcc60061c Implement the rest of the checks for automatic pg scrubbing.
osd_scrub_pgs now:
1.) Insures that all pgs are clean and active.
2.) Performs the scrub of all OSDs.
3.) Waits until all pgs have been scrubbed or no progress in scrubbing has
    been made for two minutes.

These changes have been made on top of a previous check-in that was incomplete

Fixes: 7198
Signed-off-bye: Warren Usui <warren.usui@inktank.com>
2014-02-03 22:18:38 -08:00
Sage Weil
be3ea71cdb valgrind: another tcmalloc suppression
With this I can run a simple job with a normal build (not
notcmalloc) and valgrind does not complain.  Fingers crossed!

Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-01 22:05:14 -08:00
Warren Usui
e8717163a6 Scrub osds when ceph task finishes
Fixes: 7198
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-01-31 15:29:02 -08:00
Zack Cerza
c1bc7fcc7f Merge pull request #180 from ceph/wip-7278
install.py: look for 'local' in config directly, don't warn if not found
2014-01-31 13:41:56 -08:00
Zack Cerza
8213ebbdca Merge pull request #183 from ceph/wip-enhance
Wip enhance
2014-01-31 13:41:21 -08:00
Dan Mick
1845a5ab68 interactive.py: add handy "pp" for prettyprinting at the prompt
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-01-31 13:07:51 -08:00
Dan Mick
77ec431105 internal.py: add global config key 'unlock_on_failure'
When testing new tasks, it's a drag to have to keep manually unlocking
the targets.  Default behavior is to keep them locked for any failure;
this allows overriding that choice for the case where the failure is
in debugging the task, where the state of the targets isn't important.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-01-31 13:07:45 -08:00
John Spray
aaf9b51c60 Fix MDS wait when get_mds_status returns None 2014-01-31 20:49:13 +00:00
Dan Mick
c489e4408b install.py: look for 'local' in config directly, don't warn if not found
Fixes: #7278
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-01-30 23:47:03 -08:00
Alfredo Deza
cc3956adf4 fix indentation level for task
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
(cherry picked from commit 1397d29963b2135998ccaaa9a89c83e0bb9710f4)
2014-01-28 16:04:46 -05:00
Alfredo Deza
bdafbc0c56 make sure we are using a dict
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
(cherry picked from commit fe4c97dc4f5f893df526f8694d4b9fafb064f9d3)
2014-01-28 16:04:25 -05:00