]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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>
11 years agoRevert "ceph.conf: filestore sloppy crc = true"
Sage Weil [Wed, 2 Oct 2013 20:21:14 +0000 (13:21 -0700)]
Revert "ceph.conf: filestore sloppy crc = true"

This reverts commit 631476b9796f817e5f1654affb6b2a5aacfe9a80.

This fails on ext4 because of xattr size limits.

11 years agonuke: s/run_name/name/
Sage Weil [Wed, 2 Oct 2013 03:57:53 +0000 (20:57 -0700)]
nuke: s/run_name/name/

This matches an existing argument (with the same meaning) and
avoids an error like

2013-10-01T17:20:35.395 CRITICAL:root:  File "/var/lib/teuthworker/teuthology-master/virtualenv/bin/teuthology", line 9, in <module>
    load_entry_point('teuthology==0.0.1', 'console_scripts', 'teuthology')()
  File "/home/teuthworker/teuthology-master/teuthology/run.py", line 235, in main
    nuke(ctx, log, ctx.lock)
  File "/home/teuthworker/teuthology-master/teuthology/nuke.py", line 391, in nuke
    if ctx.run_name:

2013-10-01T17:20:35.395 CRITICAL:root:AttributeError: 'Namespace' object has no attribute 'run_name'

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #118 from ceph/wip-nukeskip
Zack Cerza [Tue, 1 Oct 2013 23:40:44 +0000 (16:40 -0700)]
Merge pull request #118 from ceph/wip-nukeskip

Check description of machines before nuking when -a is passed

11 years agoMerge pull request #95 from ceph/wip-empty
Zack Cerza [Tue, 1 Oct 2013 23:39:35 +0000 (16:39 -0700)]
Merge pull request #95 from ceph/wip-empty

don't summarize an empty run

11 years agoCheck description of machines before nuking when -a is passed
Sandon Van Ness [Tue, 17 Sep 2013 21:11:58 +0000 (14:11 -0700)]
Check description of machines before nuking when -a is passed

When teuthology-nuke is passed with --archive/-a to kill and nuke
machines from an archive folder it blindly will nuke all the
targets it grabs from the config.yaml in the archive dir. This
change will check the description of locked machines and make sure
the run name is in the description. if not it removes the target
from the list passed to nuke().

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agosuite: don't schedule follow-on summary job for an empty run
Sage Weil [Fri, 13 Sep 2013 15:39:30 +0000 (08:39 -0700)]
suite: don't schedule follow-on summary job for an empty run

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agosuite: fix num_jobs count
Sage Weil [Tue, 17 Sep 2013 18:19:01 +0000 (11:19 -0700)]
suite: fix num_jobs count

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #116 from ceph/wip-sudoers-sync
Josh Durgin [Tue, 1 Oct 2013 23:08:05 +0000 (16:08 -0700)]
Merge pull request #116 from ceph/wip-sudoers-sync

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoMerge pull request #115 from ceph/wip-priority
Zack Cerza [Tue, 1 Oct 2013 16:59:53 +0000 (09:59 -0700)]
Merge pull request #115 from ceph/wip-priority

add priorities to scheduling

11 years agonuke: make half-hearted attempt to sync before reboot
Sage Weil [Tue, 1 Oct 2013 16:57:34 +0000 (09:57 -0700)]
nuke: make half-hearted attempt to sync before reboot

We don't want to block on sync for fear of a hung kernel
mount.  However, we can give it a try and wait a few seconds
to get what we can.

This fixes a problem where our recent modifications to the
sudoers file are lost, with a 0 byte file left in its place,
because the task fails and we do a reboot -f -n.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #117 from ceph/wip-tests
Alfredo Deza [Tue, 1 Oct 2013 14:11:44 +0000 (07:11 -0700)]
Merge pull request #117 from ceph/wip-tests

Port tests to py.test; add a couple tests

11 years agoFix test
Zack Cerza [Mon, 30 Sep 2013 20:26:01 +0000 (15:26 -0500)]
Fix test

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd test for skipping host key verification
Zack Cerza [Mon, 30 Sep 2013 19:21:15 +0000 (14:21 -0500)]
Add test for skipping host key verification

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoPort from nosetests to py.test
Zack Cerza [Mon, 30 Sep 2013 18:30:28 +0000 (13:30 -0500)]
Port from nosetests to py.test

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd another config test
Zack Cerza [Mon, 30 Sep 2013 19:21:43 +0000 (14:21 -0500)]
Add another config test

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't use properties
Zack Cerza [Mon, 30 Sep 2013 19:18:59 +0000 (14:18 -0500)]
Don't use properties

They're quite inconvenient for this use-case.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoceph.conf: filestore sloppy crc = true
Sage Weil [Mon, 30 Sep 2013 23:22:19 +0000 (16:22 -0700)]
ceph.conf: filestore sloppy crc = true

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoschedule: show priority on -s
Sage Weil [Fri, 27 Sep 2013 19:02:37 +0000 (12:02 -0700)]
schedule: show priority on -s

Make output a bit nicer too.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoschedule: priority option
Sage Weil [Fri, 27 Sep 2013 18:57:55 +0000 (11:57 -0700)]
schedule: priority option

Default to 1000.  Note that beanstalk priority is 2^31, so this
won't mix well with older code scheduling things at the
beanstalk default priority.

Signed-off-by: Sage Weil <sage@inktank.com>