]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Zack Cerza [Mon, 16 Jun 2014 18:26:50 +0000 (12:26 -0600)]
Split prepare_and_schedule() out of main()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:48:18 +0000 (14:48 -0500)]
Use the return value of schedule_suite()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:37:25 +0000 (14:37 -0500)]
Organize arguments into logical sections
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 19:05:53 +0000 (14:05 -0500)]
Tweak usage formatting
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:50:41 +0000 (12:50 -0500)]
Don't reread the entire yaml file...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:48:46 +0000 (12:48 -0500)]
Remove unused functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:45:22 +0000 (12:45 -0500)]
'and' is a thing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:43:49 +0000 (12:43 -0500)]
Take machine_type instead of worker
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 17:30:34 +0000 (12:30 -0500)]
Add functions for querying gitbuilder repos
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:47:28 +0000 (11:47 -0500)]
Silence connection pool logging
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:30:12 +0000 (11:30 -0500)]
Remove 'template' feature
Neither Sage nor I could find anything that used it
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 16:25:30 +0000 (11:25 -0500)]
Only allow scheduling one suite per call.
Also remove all traces of the extra and confusing term 'collection'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 11 Jun 2014 20:13:45 +0000 (15:13 -0500)]
Port to docopt
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 10 Jun 2014 20:50:59 +0000 (15:50 -0500)]
Refactor collection scheduling out of main()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 24 Jun 2014 17:07:02 +0000 (11:07 -0600)]
If archive_base is None, use config's
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Mon, 23 Jun 2014 15:09:01 +0000 (11:09 -0400)]
Merge pull request #272 from ceph/release
Create a python package for teuthology
Zack Cerza [Thu, 24 Apr 2014 19:45:13 +0000 (14:45 -0500)]
Update setup.py
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 20 Jun 2014 15:36:55 +0000 (11:36 -0400)]
Allow killing jobs by passing a 'jobspec'.
See teuthology-kill --help
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 19 Jun 2014 18:11:56 +0000 (14:11 -0400)]
Add a couple tests for teuthology.schedule
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 16 Jun 2014 16:19:54 +0000 (10:19 -0600)]
Make conf_file optional
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 13 Jun 2014 18:47:56 +0000 (13:47 -0500)]
Add .ropeproject to .gitignore
I use a vim plugin that creates lots of directories with that name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 12 Jun 2014 18:23:19 +0000 (13:23 -0500)]
Add [--] to usage statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 10 Jun 2014 19:40:37 +0000 (14:40 -0500)]
Automatically watch 'multi' tube if tube_name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Tue, 10 Jun 2014 12:18:23 +0000 (08:18 -0400)]
Merge pull request #270 from ceph/wip-schedule-suite
Refactor teuthology.schedule...
Zack Cerza [Mon, 9 Jun 2014 18:31:11 +0000 (13:31 -0500)]
Refactor teuthology.schedule...
... to separate the assembling of the job config from the scheduling of
the job. Also port its argument parsing to docopt.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 17:42:34 +0000 (12:42 -0500)]
Remote 'delete' and 'show' features
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 23:30:37 +0000 (18:30 -0500)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 21:41:10 +0000 (16:41 -0500)]
Merge pull request #268 from ceph/wip-5400
Support installing ceph kernels from gitbuilder on rpm machines.
Sandon Van Ness [Mon, 9 Jun 2014 20:43:45 +0000 (13:43 -0700)]
Better variable names.
As suggested by review.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 16:46:19 +0000 (11:46 -0500)]
Disable "fix" for corrupt repo detection
It's causing more problems than it's solving at this point
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 9 Jun 2014 14:22:21 +0000 (09:22 -0500)]
Use correct cwd
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Sat, 7 Jun 2014 14:48:44 +0000 (09:48 -0500)]
Merge pull request #269 from ceph/wip-radosfix
rados: Add hit_set_list missing from possible op weights
Zack Cerza [Sat, 7 Jun 2014 14:45:50 +0000 (09:45 -0500)]
Update to reflect relocated get_jobs()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
David Zafman [Fri, 6 Jun 2014 01:26:47 +0000 (18:26 -0700)]
rados: Add hit_set_list missing from possible op weights
For the future help keep in sync with test/osd/TestRados.cc by listing
in order of op_types in that code.
Signed-off-by: David Zafman <david.zafman@inktank.com>
Zack Cerza [Fri, 6 Jun 2014 21:12:35 +0000 (16:12 -0500)]
Move teuthology-ls's implementation to ls.py
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 6 Jun 2014 17:01:33 +0000 (12:01 -0500)]
Fix corrupt repo detection
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sandon Van Ness [Thu, 5 Jun 2014 19:07:47 +0000 (12:07 -0700)]
Added requested comment.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Thu, 5 Jun 2014 19:04:49 +0000 (12:04 -0700)]
Remove unused variables and functions.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Wed, 4 Jun 2014 21:29:11 +0000 (16:29 -0500)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 4 Jun 2014 17:42:43 +0000 (12:42 -0500)]
Update --help output
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sandon Van Ness [Wed, 4 Jun 2014 01:36:40 +0000 (18:36 -0700)]
Support installing ceph kernels from gitbuilder on rpm machines.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Josh Durgin [Tue, 3 Jun 2014 22:56:44 +0000 (15:56 -0700)]
Merge pull request #267 from ceph/wip-runxfstests
wip-runxfstests
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Zack Cerza [Tue, 3 Jun 2014 17:39:38 +0000 (12:39 -0500)]
Add a timeout for unmounting
Ten minutes seems like it might be longer than necessary, but I doubt
it's too short.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Tue, 3 Jun 2014 13:12:21 +0000 (09:12 -0400)]
Merge pull request #265 from ceph/wip-orchestra
Refactor teuthology.orchestra.run
Zack Cerza [Mon, 2 Jun 2014 23:29:55 +0000 (18:29 -0500)]
Remove some duplicate code.
Well, not exactly duplicate, but functionally compatible. No sense in
maintaining two "walk the filesystem to assemble job information"
utilities.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 2 Jun 2014 14:18:31 +0000 (09:18 -0500)]
Try a different approach to zombie prevention
The previous method I had committed had the unfortunate side-effect of
preventing teuthology job processes from giving their returncode to the
worker process. This method shouldn't do that.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Yehuda Sadeh [Fri, 30 May 2014 20:31:38 +0000 (13:31 -0700)]
radosgw-admin: adjust bucket link interface
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Ilya Dryomov [Thu, 29 May 2014 13:55:09 +0000 (17:55 +0400)]
rbd: change test_script to run_xfstests_krbd.sh
Invoke run_xfstests.sh through a wrapper, which supplies an exclusion
list, in order to skip tests we don't want to run.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Ilya Dryomov [Thu, 29 May 2014 13:55:08 +0000 (17:55 +0400)]
rbd: recognize 'randomize' parameter
randomize (default: false) randomizes xfstests test order.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Sage Weil [Fri, 30 May 2014 23:28:40 +0000 (16:28 -0700)]
Merge pull request #266 from ceph/wip-8489
Give daemons a five-minute timeout for stopping
Reviewed-by: Sage Weil <sage@inktank.com>
Zack Cerza [Fri, 30 May 2014 21:23:49 +0000 (16:23 -0500)]
Give daemons a five-minute timeout for stopping
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 21:36:03 +0000 (16:36 -0500)]
Add RemoteProcess.__repr__()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 19:32:38 +0000 (14:32 -0500)]
Update users of the teuthology.orchestra.run APIs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 16:59:09 +0000 (11:59 -0500)]
Refactor teuthology.orchestra.run
RemoteProcess behaves more like subprocess.Popen, with some important
differences.
A summary of the API changes:
* RemoteProcess.exitstatus is either an int or None; it is never a callable
nor a gevent.AsyncResult.
* New method: RemoteProcess.execute()
* New method: RemoteProcess.poll()
* New method: RemoteProcess.wait()
* New attribute: RemoteProcess.returncode - alias to exitstatus
* New property: RemoteProcess.finished - added because returncode can be None
if the connection was interrupted
* run.execute() is removed.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 14:59:36 +0000 (09:59 -0500)]
Avoid piles of zombies
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 30 May 2014 14:56:27 +0000 (09:56 -0500)]
Add comment explaining 'preexec_fn=os.setpgrp'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 29 May 2014 18:23:23 +0000 (13:23 -0500)]
Check for broken repos before updating
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 29 May 2014 05:37:27 +0000 (00:37 -0500)]
More verbose logging for daemon restarts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 29 May 2014 04:40:48 +0000 (23:40 -0500)]
Bump log level to info
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 28 May 2014 19:56:59 +0000 (14:56 -0500)]
Don't block on teuthology-results processes
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 28 May 2014 16:43:20 +0000 (11:43 -0500)]
Correct logging when running teuthology-results
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 28 May 2014 14:34:47 +0000 (09:34 -0500)]
Merge pull request #263 from qakapil/patch-two
updated the get_system_type function
ksharma [Fri, 23 May 2014 13:57:07 +0000 (15:57 +0200)]
updated the get_system_type function
updated the get_system_type function
to add the rpm condition for SUSE.
Signed-off-by: ksharma@suse.com
John Spray [Wed, 28 May 2014 13:43:34 +0000 (14:43 +0100)]
Merge pull request #259 from ceph/wip-journal-tool
mds_journal_migration task
John Spray [Mon, 12 May 2014 13:26:01 +0000 (14:26 +0100)]
tasks/mds_journal_migration: create.
This is for testing the changes to CephFS
journal format, especially the migration
of journals from old to new format.
This is a teuthology task rather than being
a workunit script, because it involves
manipulating services and config during the
procedure.
Signed-off-by: John Spray <john.spray@inktank.com>
John Spray [Mon, 12 May 2014 13:25:26 +0000 (14:25 +0100)]
task/ceph: separate ceph.conf into function
This is so that other tasks can modify ceph.conf
as needed.
Signed-off-by: John Spray <john.spray@inktank.com>
John Spray [Mon, 12 May 2014 09:55:58 +0000 (10:55 +0100)]
tasks: Use '_' instead of '-' in names
Python modules are not allowed to contain hyphens
in the name. Using hyphens only works here because
we're using low level __import__.
Change run_tasks to replace '-' with '_' when reading
configs, and rename the task modules to have valid
python module names.
Aside from general hygiene, the motivation to do this
is to allow one task to build on code in another
task by importing it.
Signed-off-by: John Spray <john.spray@inktank.com>
Zack Cerza [Thu, 22 May 2014 17:26:50 +0000 (12:26 -0500)]
Don't crash when an invalid branch is passed
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 22 May 2014 13:49:26 +0000 (08:49 -0500)]
Set results_server by default
So that queued jobs get pushed to paddles
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 21 May 2014 20:58:27 +0000 (15:58 -0500)]
Process queued jobs synchronously
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Warren Usui [Wed, 21 May 2014 17:24:56 +0000 (10:24 -0700)]
Merge pull request #260 from ceph/wip-8422
Add exception hook to teuthology-worker
Zack Cerza [Wed, 21 May 2014 16:34:11 +0000 (11:34 -0500)]
Add exception hook to teuthology-worker
Workers processes are dying occasionally, and this should cause the
exceptions to be logged.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 19 May 2014 23:33:22 +0000 (18:33 -0500)]
Merge pull request #258 from ceph/wip-fix-format-samba
Fixed formatting and added a better variable for time out
Yuri Weinstein [Mon, 19 May 2014 23:18:48 +0000 (16:18 -0700)]
Fixed broken quotations
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
Yuri Weinstein [Mon, 19 May 2014 23:03:30 +0000 (16:03 -0700)]
Fixed formatting and added a better variable for time out
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
Samuel Just [Mon, 19 May 2014 22:04:54 +0000 (15:04 -0700)]
task/: add populate_rbd_pool for quickly spinning up a pool with rbd stuff
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Mon, 19 May 2014 21:09:51 +0000 (14:09 -0700)]
ceph_manager: reset timeout if we are making progress in wait_for_recovery
Signed-off-by: Samuel Just <sam.just@inktank.com>
Zack Cerza [Mon, 19 May 2014 16:05:05 +0000 (11:05 -0500)]
Avoid calling yaml.safe_load() twice on each job
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 19 May 2014 15:49:24 +0000 (10:49 -0500)]
Split progress indicator out to separate functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Yuri Weinstein [Mon, 19 May 2014 15:11:20 +0000 (08:11 -0700)]
increased sleep to 100 as 90 seemed insufficient
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
Yuri Weinstein [Sat, 17 May 2014 17:15:57 +0000 (10:15 -0700)]
Added more logging
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
Yuri Weinstein [Sat, 17 May 2014 17:07:52 +0000 (10:07 -0700)]
Added sleep log info line
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
Zack Cerza [Thu, 15 May 2014 16:48:29 +0000 (11:48 -0500)]
Merge pull request #257 from ceph/wip-samba-fix
increased time wait to 90 sec so tests does not fail
Yuri Weinstein [Thu, 15 May 2014 16:33:44 +0000 (09:33 -0700)]
increased time wait to 90 sec so tests does not fail
Zack Cerza [Thu, 15 May 2014 16:08:10 +0000 (11:08 -0500)]
Add Pulpito links to teuthology emails
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 15 May 2014 03:43:29 +0000 (22:43 -0500)]
Downgrade paramiko to work around an SFTP bug
See http://tracker.ceph.com/issues/8327
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 13 May 2014 21:26:12 +0000 (16:26 -0500)]
Merge pull request #256 from ceph/wip-6542-wusui
Add missng docstrings to repair_test.py
Warren Usui [Tue, 13 May 2014 17:45:09 +0000 (10:45 -0700)]
Add missng docstrings to repair_test.py
Fixes: 6542
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Zack Cerza [Tue, 13 May 2014 18:09:04 +0000 (13:09 -0500)]
Fix unit tests under Jenkins
os.getlogin() was throwing:
OSError: [Errno 25] Inappropriate ioctl for device
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 13 May 2014 15:21:18 +0000 (10:21 -0500)]
Use VersionNotFoundError packages are missing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 21:25:31 +0000 (16:25 -0500)]
Use config.archive_base if one isn't passed
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 21:06:40 +0000 (16:06 -0500)]
Add retries to orchestra.connection.connect()
This is an attempt to fix: http://tracker.ceph.com/issues/8314
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 20:29:10 +0000 (15:29 -0500)]
Fix typo
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 14:30:21 +0000 (09:30 -0500)]
Better logging
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 14:18:34 +0000 (09:18 -0500)]
Use try_mark_run_dead()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 14:16:59 +0000 (09:16 -0500)]
Add try_mark_run_dead()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 14:11:04 +0000 (09:11 -0500)]
Move list of exceptions to catch
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 14:02:27 +0000 (09:02 -0500)]
Move "no results server" warning
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 17:57:21 +0000 (12:57 -0500)]
Fix name parsing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 12 May 2014 17:50:56 +0000 (12:50 -0500)]
Merge pull request #255 from ceph/wip-6921-wusui
Allow .teuthology.yaml to set downburst path