]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agorbd_fsx: do not exceed 250GB for fsx image
Sage Weil [Thu, 24 Oct 2013 02:24:06 +0000 (19:24 -0700)]
rbd_fsx: do not exceed 250GB for fsx image

This breaks on 32-bit architectures because fsx can't allocate the
in-memory buffer or hit some other limit.  500MG also seems to run out of
memory (tho it at least does not segfault).

Fixes: #6576
Signed-off-by: Sage Weil <sage@inktank.com>
11 years agorgw: revert to -X for apache2
Sage Weil [Tue, 22 Oct 2013 21:36:35 +0000 (14:36 -0700)]
rgw: revert to -X for apache2

-DNO_DETACH doesn't seem to work.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agovalgrind: fix libleveldb suppression on dynamically linked leveldb
Sage Weil [Fri, 18 Oct 2013 23:26:35 +0000 (16:26 -0700)]
valgrind: fix libleveldb suppression on dynamically linked leveldb

(The function names don't show up here)

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #142 from ceph/wip-6342
SandonV [Thu, 17 Oct 2013 19:03:13 +0000 (12:03 -0700)]
Merge pull request #142 from ceph/wip-6342

More robust machine_type and pid detection

11 years agoMore robust machine_type and pid detection
Zack Cerza [Thu, 17 Oct 2013 18:02:30 +0000 (13:02 -0500)]
More robust machine_type and pid detection

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #139 from ceph/wip-6342
Alfredo Deza [Thu, 17 Oct 2013 16:43:12 +0000 (09:43 -0700)]
Merge pull request #139 from ceph/wip-6342

Add teuthology-kill

11 years agoMerge pull request #141 from ceph/wip-nuke
Zack Cerza [Thu, 17 Oct 2013 16:26:16 +0000 (09:26 -0700)]
Merge pull request #141 from ceph/wip-nuke

fix nuke

11 years agonuke: remove old log arg to nuke_one call
Sage Weil [Thu, 17 Oct 2013 16:20:51 +0000 (09:20 -0700)]
nuke: remove old log arg to nuke_one call

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoRewrite portions of teuthology.kill
Zack Cerza [Thu, 17 Oct 2013 14:42:02 +0000 (09:42 -0500)]
Rewrite portions of teuthology.kill

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoreplacing -X option with -DNO_DETACH to ensure the
tamil [Thu, 17 Oct 2013 00:14:49 +0000 (17:14 -0700)]
replacing -X option with -DNO_DETACH to ensure the
apache process is detached at the end of run.

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
11 years agoMerge pull request #138 from ceph/wip-refactor-scripts
Alfredo Deza [Wed, 16 Oct 2013 22:12:16 +0000 (15:12 -0700)]
Merge pull request #138 from ceph/wip-refactor-scripts

Cleanup

11 years agoRemove needless arg from list_locks()
Zack Cerza [Mon, 14 Oct 2013 20:03:08 +0000 (15:03 -0500)]
Remove needless arg from list_locks()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake nuke use its own logger
Zack Cerza [Mon, 14 Oct 2013 19:33:41 +0000 (14:33 -0500)]
Make nuke use its own logger

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd teuthology-kill
Zack Cerza [Wed, 16 Oct 2013 19:31:26 +0000 (14:31 -0500)]
Add teuthology-kill

Currently implements killing suites-runs.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #137 from ceph/wip-upgrade
Zack Cerza [Wed, 16 Oct 2013 20:40:37 +0000 (13:40 -0700)]
Merge pull request #137 from ceph/wip-upgrade

install: allow use of overrides for upgrade version

11 years agoMerge pull request #136 from ceph/wip-nuke
Zack Cerza [Wed, 16 Oct 2013 20:34:43 +0000 (13:34 -0700)]
Merge pull request #136 from ceph/wip-nuke

nuke: fix import

11 years agonuke: fix import
Sage Weil [Wed, 16 Oct 2013 20:32:45 +0000 (13:32 -0700)]
nuke: fix import

I think broken by f28a7ebc2c3662a8a9b8eebf09c47b6c710e4d26

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoinstall: allow use of overrides for upgrade version
Sage Weil [Wed, 16 Oct 2013 20:24:01 +0000 (13:24 -0700)]
install: allow use of overrides for upgrade version

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoFix broken logic in running_jobs_for_run()
Zack Cerza [Wed, 16 Oct 2013 18:43:05 +0000 (13:43 -0500)]
Fix broken logic in running_jobs_for_run()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix typo
Zack Cerza [Wed, 16 Oct 2013 17:11:47 +0000 (12:11 -0500)]
Fix typo

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #134 from ceph/wip-6546
Alfredo Deza [Tue, 15 Oct 2013 15:25:53 +0000 (08:25 -0700)]
Merge pull request #134 from ceph/wip-6546

Fix race condition between tests starting and teuthology-results being run

11 years agoMake check for running jobs part of the loop
Zack Cerza [Mon, 14 Oct 2013 21:35:51 +0000 (16:35 -0500)]
Make check for running jobs part of the loop

Use a new, tested implementation to check for running jobs.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoResultsSerializer.running_jobs_for_run() and test
Zack Cerza [Mon, 14 Oct 2013 21:34:45 +0000 (16:34 -0500)]
ResultsSerializer.running_jobs_for_run() and test

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #133 from ceph/wip-store-results
Alfredo Deza [Mon, 14 Oct 2013 16:22:42 +0000 (09:22 -0700)]
Merge pull request #133 from ceph/wip-store-results

Fixes for reporting and verbosity

11 years agoPut machine_type in config.yaml
Zack Cerza [Fri, 11 Oct 2013 22:41:22 +0000 (17:41 -0500)]
Put machine_type in config.yaml

Reason being, if --worker is passed to teuthology-schedule, we are
already placing the job in the tube for that machine type. If the job
config doesn't specify a machine_type, it will later be assigned to
'plana' by teuthology-run without actually modifying the config. This
can result in jobs running on hardware other than what was requested.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake verbosity propagate correctly to modules
Zack Cerza [Fri, 11 Oct 2013 22:10:57 +0000 (17:10 -0500)]
Make verbosity propagate correctly to modules

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDebug output for all http requests
Zack Cerza [Fri, 11 Oct 2013 21:29:42 +0000 (16:29 -0500)]
Debug output for all http requests

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix broken lambda
Zack Cerza [Fri, 11 Oct 2013 20:10:54 +0000 (15:10 -0500)]
Fix broken lambda

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoBe more verbose when waiting for free machines
Zack Cerza [Fri, 11 Oct 2013 20:03:40 +0000 (15:03 -0500)]
Be more verbose when waiting for free machines

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoGive reporting a verbose flag
Zack Cerza [Fri, 11 Oct 2013 19:39:45 +0000 (14:39 -0500)]
Give reporting a verbose flag

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoLack of a job_id should be a warning
Zack Cerza [Fri, 11 Oct 2013 19:32:21 +0000 (14:32 -0500)]
Lack of a job_id should be a warning

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #132 from ceph/wip-refactor-scripts
SandonV [Fri, 11 Oct 2013 18:39:02 +0000 (11:39 -0700)]
Merge pull request #132 from ceph/wip-refactor-scripts

Fix imports; fix keyscan_check()

11 years agoExempt teuthology-updatekeys from test_invalid
Zack Cerza [Fri, 11 Oct 2013 18:28:21 +0000 (13:28 -0500)]
Exempt teuthology-updatekeys from test_invalid

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoIgnore the exit code of ssh-keyscan
Zack Cerza [Fri, 11 Oct 2013 17:48:31 +0000 (12:48 -0500)]
Ignore the exit code of ssh-keyscan

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix a circular import
Zack Cerza [Fri, 11 Oct 2013 17:09:40 +0000 (12:09 -0500)]
Fix a circular import

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove imports to top-level
Zack Cerza [Fri, 11 Oct 2013 16:38:35 +0000 (11:38 -0500)]
Move imports to top-level

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #131 from ceph/wip-store-results
Alfredo Deza [Fri, 11 Oct 2013 16:22:59 +0000 (09:22 -0700)]
Merge pull request #131 from ceph/wip-store-results

Reporting tweakage

11 years agoMove part of report_all_runs() into report_runs()
Zack Cerza [Fri, 11 Oct 2013 15:48:02 +0000 (10:48 -0500)]
Move part of report_all_runs() into report_runs()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoSet a default timeout of 20s for HTTP connections
Zack Cerza [Fri, 11 Oct 2013 15:23:00 +0000 (10:23 -0500)]
Set a default timeout of 20s for HTTP connections

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove monkey patching to __init__.py
Zack Cerza [Fri, 11 Oct 2013 00:13:55 +0000 (19:13 -0500)]
Move monkey patching to __init__.py

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't attempt to report if there's no job_id
Zack Cerza [Thu, 10 Oct 2013 19:17:51 +0000 (14:17 -0500)]
Don't attempt to report if there's no job_id

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd basic tests for scripts
Zack Cerza [Wed, 9 Oct 2013 21:56:49 +0000 (16:56 -0500)]
Add basic tests for scripts

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoProperly express conflicting options
Zack Cerza [Wed, 9 Oct 2013 21:55:03 +0000 (16:55 -0500)]
Properly express conflicting options

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology's arg parsing to scripts/
Zack Cerza [Wed, 9 Oct 2013 18:19:10 +0000 (13:19 -0500)]
Move teuthology's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPEP-8
Zack Cerza [Wed, 9 Oct 2013 18:11:15 +0000 (13:11 -0500)]
PEP-8

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPEP-8
Zack Cerza [Wed, 9 Oct 2013 17:54:50 +0000 (12:54 -0500)]
PEP-8

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-coverage's arg parsing to scripts/
Zack Cerza [Wed, 9 Oct 2013 17:15:33 +0000 (12:15 -0500)]
Move teuthology-coverage's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPEP-8
Zack Cerza [Wed, 9 Oct 2013 15:04:52 +0000 (10:04 -0500)]
PEP-8

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-results' arg parsing to scripts/
Zack Cerza [Wed, 9 Oct 2013 15:03:38 +0000 (10:03 -0500)]
Move teuthology-results' arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPEP-8
Zack Cerza [Tue, 8 Oct 2013 22:10:01 +0000 (17:10 -0500)]
PEP-8

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-report's arg parsing to scripts/
Zack Cerza [Tue, 8 Oct 2013 22:07:01 +0000 (17:07 -0500)]
Move teuthology-report's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-updatekeys' arg parsing to scripts/
Zack Cerza [Tue, 8 Oct 2013 22:02:47 +0000 (17:02 -0500)]
Move teuthology-updatekeys' arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove schedule() to new schedule module
Zack Cerza [Wed, 9 Oct 2013 20:13:01 +0000 (15:13 -0500)]
Move schedule() to new schedule module

11 years agoMove teuthology-schedule's arg parsing to scripts/
Zack Cerza [Tue, 8 Oct 2013 21:59:17 +0000 (16:59 -0500)]
Move teuthology-schedule's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPEP-8
Zack Cerza [Tue, 8 Oct 2013 21:55:40 +0000 (16:55 -0500)]
PEP-8

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-lock's arg parsing to scripts/
Zack Cerza [Tue, 8 Oct 2013 19:58:31 +0000 (14:58 -0500)]
Move teuthology-lock's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPEP-8
Zack Cerza [Tue, 8 Oct 2013 19:50:57 +0000 (14:50 -0500)]
PEP-8

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-worker's arg parsing to scripts/
Zack Cerza [Tue, 8 Oct 2013 19:21:23 +0000 (14:21 -0500)]
Move teuthology-worker's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-ls's arg parsing to scripts/
Zack Cerza [Tue, 8 Oct 2013 16:54:41 +0000 (11:54 -0500)]
Move teuthology-ls's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMore PEP-8 cleanup
Zack Cerza [Tue, 8 Oct 2013 16:40:28 +0000 (11:40 -0500)]
More PEP-8 cleanup

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-suite's arg parsing to scripts/
Zack Cerza [Tue, 8 Oct 2013 16:34:09 +0000 (11:34 -0500)]
Move teuthology-suite's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology-nuke's arg parsing to scripts/
Zack Cerza [Mon, 30 Sep 2013 21:31:44 +0000 (16:31 -0500)]
Move teuthology-nuke's arg parsing to scripts/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd scripts/ module
Zack Cerza [Wed, 9 Oct 2013 20:13:58 +0000 (15:13 -0500)]
Add scripts/ module

11 years agoPEP-8 cleanup
Zack Cerza [Mon, 30 Sep 2013 21:18:39 +0000 (16:18 -0500)]
PEP-8 cleanup

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoignoring -X option in apache as it was causing s3test failures on the rpms.
tamil [Thu, 10 Oct 2013 00:12:16 +0000 (17:12 -0700)]
ignoring -X option in apache as it was causing s3test failures on the rpms.

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
11 years agoMerge pull request #126 from ceph/wip-store-results
Alfredo Deza [Mon, 7 Oct 2013 16:02:08 +0000 (09:02 -0700)]
Merge pull request #126 from ceph/wip-store-results

Reflect paddles API change: jobs in jobs/

11 years agoReflect paddles API change: jobs in jobs/
Zack Cerza [Mon, 7 Oct 2013 15:00:03 +0000 (10:00 -0500)]
Reflect paddles API change: jobs in jobs/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #125 from ceph/wip-store-results
Alfredo Deza [Fri, 4 Oct 2013 20:34:53 +0000 (13:34 -0700)]
Merge pull request #125 from ceph/wip-store-results

Add more tests for ReportSerializer

11 years agoAdd more tests for ReportSerializer
Zack Cerza [Thu, 3 Oct 2013 21:23:15 +0000 (16:23 -0500)]
Add more tests for ReportSerializer

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #124 from ceph/wip-store-results
Alfredo Deza [Fri, 4 Oct 2013 20:08:55 +0000 (13:08 -0700)]
Merge pull request #124 from ceph/wip-store-results

Various fixes related to reporting

11 years agoTweak logic of try_push_job_info()
Zack Cerza [Fri, 4 Oct 2013 19:04:43 +0000 (14:04 -0500)]
Tweak logic of try_push_job_info()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake most of lock_machines() PEP-8 clean.
Zack Cerza [Fri, 4 Oct 2013 18:42:57 +0000 (13:42 -0500)]
Make most of lock_machines() PEP-8 clean.

Also, use some better variable names.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake teuthology-schedule also print the job's name
Zack Cerza [Fri, 4 Oct 2013 17:41:02 +0000 (12:41 -0500)]
Make teuthology-schedule also print the job's name

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoStore the job_id as a str, not an int.
Zack Cerza [Fri, 4 Oct 2013 17:35:03 +0000 (12:35 -0500)]
Store the job_id as a str, not an int.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove teuthology.report import; add large warning
Zack Cerza [Fri, 4 Oct 2013 17:05:42 +0000 (12:05 -0500)]
Move teuthology.report import; add large warning

Because of the monkey patching, if we get the import order wrong bad
things happen.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #123 from ceph/wip-store-results
Alfredo Deza [Fri, 4 Oct 2013 16:22:10 +0000 (09:22 -0700)]
Merge pull request #123 from ceph/wip-store-results

Fix issue with monkey patching

11 years agoAdd (and use) try_push_job_info() for easy pushin'
Zack Cerza [Fri, 4 Oct 2013 15:25:07 +0000 (10:25 -0500)]
Add (and use) try_push_job_info() for easy pushin'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove new imports to inside main()
Zack Cerza [Fri, 4 Oct 2013 13:44:09 +0000 (08:44 -0500)]
Move new imports to inside main()

The monkey patch stuff was causing problems again.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoschedule_suite.sh: include default machine type in job name
Sage Weil [Thu, 3 Oct 2013 23:34:09 +0000 (16:34 -0700)]
schedule_suite.sh: include default machine type in job name

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #121 from ceph/wip-store-results
Alfredo Deza [Thu, 3 Oct 2013 21:14:01 +0000 (14:14 -0700)]
Merge pull request #121 from ceph/wip-store-results

Submit teuthology results to a paddles instance

11 years agoAdd test for test_all_runs
Zack Cerza [Thu, 3 Oct 2013 20:51:11 +0000 (15:51 -0500)]
Add test for test_all_runs

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoClarify job vs. run
Zack Cerza [Thu, 3 Oct 2013 20:32:02 +0000 (15:32 -0500)]
Clarify job vs. run

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoCreate a FakeArchive class to forge test results
Zack Cerza [Thu, 3 Oct 2013 20:11:08 +0000 (15:11 -0500)]
Create a FakeArchive class to forge test results

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoEscape reserved characters in URIs
Zack Cerza [Thu, 3 Oct 2013 16:44:47 +0000 (11:44 -0500)]
Escape reserved characters in URIs

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoReport results synchronously.
Zack Cerza [Wed, 2 Oct 2013 23:27:09 +0000 (18:27 -0500)]
Report results synchronously.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd more documentation.
Zack Cerza [Wed, 2 Oct 2013 23:09:43 +0000 (18:09 -0500)]
Add more documentation.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd create_run() and push_job_info() with docs.
Zack Cerza [Wed, 2 Oct 2013 22:57:07 +0000 (17:57 -0500)]
Add create_run() and push_job_info() with docs.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agos/submit_/report_/g
Zack Cerza [Wed, 2 Oct 2013 21:28:08 +0000 (16:28 -0500)]
s/submit_/report_/g

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRename ResultsPoster to ResultsReporter
Zack Cerza [Wed, 2 Oct 2013 21:26:48 +0000 (16:26 -0500)]
Rename ResultsPoster to ResultsReporter

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd create_run; allow passing json to submit_job
Zack Cerza [Wed, 2 Oct 2013 21:24:13 +0000 (16:24 -0500)]
Add create_run; allow passing json to submit_job

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoOverhaul posting logic to avoid some corner cases
Zack Cerza [Wed, 2 Oct 2013 21:09:31 +0000 (16:09 -0500)]
Overhaul posting logic to avoid some corner cases

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd flag for refreshing already-pushed runs
Zack Cerza [Wed, 2 Oct 2013 17:45:25 +0000 (12:45 -0500)]
Add flag for refreshing already-pushed runs

Also tweak implementation of save_last_run

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRemove old method used for testing
Zack Cerza [Wed, 2 Oct 2013 17:18:42 +0000 (12:18 -0500)]
Remove old method used for testing

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd --server flag
Zack Cerza [Wed, 2 Oct 2013 17:13:30 +0000 (12:13 -0500)]
Add --server flag

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoReuse connection objects.
Zack Cerza [Wed, 2 Oct 2013 16:26:07 +0000 (11:26 -0500)]
Reuse connection objects.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd argument parsing to make this a proper script.
Zack Cerza [Wed, 2 Oct 2013 15:57:11 +0000 (10:57 -0500)]
Add argument parsing to make this a proper script.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoA first pass at integration with paddles
Zack Cerza [Tue, 1 Oct 2013 23:41:46 +0000 (18:41 -0500)]
A first pass at integration with paddles

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #120 from ceph/wip-6243
Zack Cerza [Wed, 2 Oct 2013 22:01:57 +0000 (15:01 -0700)]
Merge pull request #120 from ceph/wip-6243

Wip 6243

11 years agorest-api.py: test that ceph-rest-api is up and servicing requests
Dan Mick [Wed, 2 Oct 2013 21:25:03 +0000 (14:25 -0700)]
rest-api.py: test that ceph-rest-api is up and servicing requests

Wait for the daemon to actually be ready before continuing with other
tasks.  Loop 12 times, waiting 5s, before deciding something's wrong.

Fixes: #6243
Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agorest-api.py: fix up client identification
Dan Mick [Wed, 2 Oct 2013 21:23:45 +0000 (14:23 -0700)]
rest-api.py: fix up client identification

The code to extract which clients to start the API on was confused;
fix it up.  Also, strip off 'client.' instead of 'clients' (since it
was done with len(), the result was the same, but confusing)

Signed-off-by: Dan Mick <dan.mick@inktank.com>