]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Fri, 25 Jul 2014 03:41:30 +0000 (20:41 -0700)]
valgrind: ignore ec plugin factory leaks
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
7c3fc404d6a84c6601400e364bd98ea89df13922 )
Sage Weil [Thu, 31 Jul 2014 04:34:30 +0000 (21:34 -0700)]
ceph_manager: increase osd revival timeout from 75 -> 150 seconds
Saw this fail on a firefly run just bc of valgrind slowness. Make the
timeout higher!
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
f84458bd93b74873687f0099850ef5cb1e3de1b5 )
Sage Weil [Tue, 22 Jul 2014 17:55:10 +0000 (10:55 -0700)]
ceph_deploy: use new ship_utilities location
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
828bb2a6ea934b8788570ca3f9871a637dbd3c70 )
Sage Weil [Sat, 19 Jul 2014 16:22:27 +0000 (09:22 -0700)]
move ship_utilities to install task (from ceph test)
No need to install ceph just to get daemon-helper, adjust-ulimits, etc..
These utilities are used by lots of tasks, not just ceph.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
2dad906f4ac4658381f3984a8fe99f696f710fac )
Yehuda Sadeh [Tue, 15 Jul 2014 19:43:15 +0000 (12:43 -0700)]
rgw: set data extra pool correctly
When configuring multiregion zone, set the data extra pool
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit
63fb271b7ecd9c1ae16d6fff3a1630df2dd09e08 )
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>
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>
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>
(cherry picked from commit
79dfe2cbefbbf14b69ae10c44a89a4fe45fedbe5 )
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
Conflicts:
teuthology/task/samba.py
Zack Cerza [Tue, 6 May 2014 16:34:04 +0000 (11:34 -0500)]
Merge pull request #251 from ceph/wip-8295
rgw: fix indentation for cache_pools
Sage Weil [Tue, 6 May 2014 16:22:49 +0000 (09:22 -0700)]
rgw: fix indentation for cache_pools
Fixes: #8295
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Tue, 6 May 2014 00:20:19 +0000 (17:20 -0700)]
Merge pull request #250 from ceph/wip-fix-thrasher
ceph_manager: reset osd weights to 1 when waiting for clean
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Tue, 6 May 2014 00:05:10 +0000 (17:05 -0700)]
ceph_manager: reset osd weights to 1 when waiting for clean
If we leave the weights adjusted, we can get PGs stuck in a remapped state
because we are probabilistically rejecting placement. Avoid this by
setting on in osds to 1.0 before waiting for clean.
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Mon, 5 May 2014 18:10:42 +0000 (13:10 -0500)]
Restrict paramiko to old versions for now
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 5 May 2014 15:03:29 +0000 (10:03 -0500)]
Revert "Handle raw data I/O."
This reverts commit
257e1459fa064701d789f0ad54384bb80b45e6d9 .
Zack Cerza [Mon, 5 May 2014 15:03:18 +0000 (10:03 -0500)]
Revert "Clean up remote.py and misc.py changes."
This reverts commit
74eff43ee1a2b73159277370cfa9d194e42bf49c .
Sage Weil [Sat, 3 May 2014 14:24:32 +0000 (07:24 -0700)]
ceph_manager: fix float stringification
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 3 May 2014 04:06:48 +0000 (21:06 -0700)]
ceph_manager: fix typo
From
ce7fa1839f4b3e3db675b2d68a2bb57849f58c1e . Tested this time.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Sat, 3 May 2014 00:06:54 +0000 (17:06 -0700)]
Merge pull request #248 from ceph/wip-thrash-osd-weights
ceph_manager: randomly reweight in osds
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Fri, 2 May 2014 23:32:53 +0000 (16:32 -0700)]
ceph_manager: randomly reweight in osds
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Fri, 2 May 2014 16:48:08 +0000 (11:48 -0500)]
Bump paramiko to 1.12.0
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Thu, 1 May 2014 21:36:08 +0000 (14:36 -0700)]
rgw: option to create a cache pool
64mb for now!
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Alfredo Deza [Thu, 1 May 2014 17:17:00 +0000 (13:17 -0400)]
Merge pull request #247 from ceph/requests-sessions
Use a requests.Session object for retries instead of safe_while
Zack Cerza [Thu, 1 May 2014 16:48:54 +0000 (11:48 -0500)]
Add branch name to job config
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 1 May 2014 16:21:08 +0000 (11:21 -0500)]
Add suite name to job config
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 1 May 2014 16:25:19 +0000 (11:25 -0500)]
Add /build and /*.yaml to gitignore
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 29 Apr 2014 16:30:50 +0000 (11:30 -0500)]
Calculate a timeout to use based on queue size
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 29 Apr 2014 16:26:39 +0000 (11:26 -0500)]
Add --runs, to print only run names
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 28 Apr 2014 19:35:35 +0000 (14:35 -0500)]
Refactor teuthology.beanstalk
This architecture will make it easier to add new functionality.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 29 Apr 2014 21:12:49 +0000 (16:12 -0500)]
Drop usage of safe_while
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 29 Apr 2014 21:10:51 +0000 (16:10 -0500)]
Use the new ResultsReporter.session object
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 29 Apr 2014 21:07:59 +0000 (16:07 -0500)]
Add a requests.Session object to ResultsReporter
By default it is set up to retry requests 10 times
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 29 Apr 2014 21:02:08 +0000 (16:02 -0500)]
Remove unused timeout arg to ResultsReporter init
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 29 Apr 2014 21:16:27 +0000 (16:16 -0500)]
Merge pull request #243 from ceph/wip-8116-wusui
Wip 8116 wusui
Warren Usui [Thu, 24 Apr 2014 22:56:41 +0000 (15:56 -0700)]
Clean up remote.py and misc.py changes.
Fixed method names to be non-redundant (remote_mktemp in remote is
now just mktemp, for example), and made some parameters be more
self descriptive. Added some docstrings. Fixed sudo setting in
get_file method.
Made chmod independent of the actual sftp file getting.
Do not do extra file copy if non-sudo read is needed.
Fixed some parameter names. Made sure temp files are removed.
Warren Usui [Tue, 22 Apr 2014 18:14:51 +0000 (11:14 -0700)]
Handle raw data I/O.
Paramiko 1.13.0 checks data in the Channel and fails if
invalid UTF-8 characters are sent. The teuthology/misc.py
functions that piped cat output (get_file) and piped tar
output (pull_directory and pull_directory_tarball) formerly
did not work for Paramiko 1.13.0.
Code was changed to use SFTPClient to copy raw data. The
remote_mktemp and function was changed to be a method of the
remote object. Remote object methods to copy files and write
tar files were also added.
In misc.py, get_file() was changed to be a wrapper around the
remote object call. Pull_directory() and pull_directory_tarball
were changed to use the remote object methods as well.
The remote methods used to send the data makes use of the
SFTPClient interface in Paramiko.
The remote_mktemp function was also modified slightly to insure
that new-lines do not appear in temp file names.
Fixes: 8116
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Zack Cerza [Tue, 29 Apr 2014 19:52:31 +0000 (14:52 -0500)]
When deleting all of a run's jobs, delete the run
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Gregory Meno [Tue, 29 Apr 2014 17:44:27 +0000 (10:44 -0700)]
Changes so these are not installed and still removed
Gregory Meno [Tue, 29 Apr 2014 11:20:51 +0000 (04:20 -0700)]
Changes invocation of serialize_remote_roles to internal task to avoid being run during nuke
Gregory Meno [Thu, 24 Apr 2014 20:18:59 +0000 (13:18 -0700)]
Moves node: remote mapping to the internal task.
Gregory Meno [Mon, 14 Apr 2014 11:21:57 +0000 (04:21 -0700)]
These will likely go somewhere better before merge
Gregory Meno [Wed, 9 Apr 2014 18:54:33 +0000 (11:54 -0700)]
Fixes #8050 Adds a cluster.yaml that is written by interactive task
Sage Weil [Mon, 28 Apr 2014 22:56:57 +0000 (15:56 -0700)]
valgrind: fix tcmalloc suppression for trusty
Fixes: #8225
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 28 Apr 2014 21:04:28 +0000 (14:04 -0700)]
Revert "valgrind.supp: be less picky about library versions"
This reverts commit
f895d16c9e2fd59aab446254e53480cdb91092a1 .
wusui [Mon, 28 Apr 2014 18:02:07 +0000 (11:02 -0700)]
Merge pull request #244 from ceph/wip-7199-wusui
Wip 7199 wusui
Warren Usui [Tue, 22 Apr 2014 17:59:53 +0000 (10:59 -0700)]
Allow scrubbing while thrashing
Added ability to implement scrubbing while thrashing
(scrub_interval in config can be set to an interval
similar to how clean_interval is set). Defaults to 0,
which indicates that no scrubbing will take place.
Add scrub_interval description to thrashosds docstring.
Fixes: 7199
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Zack Cerza [Mon, 28 Apr 2014 16:12:29 +0000 (11:12 -0500)]
Only attempt to use sudo if necessary
Zack Cerza [Fri, 25 Apr 2014 20:22:30 +0000 (15:22 -0500)]
Post last_in_suite jobs, but delete when run
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 25 Apr 2014 20:01:41 +0000 (15:01 -0500)]
Update unit test for Cluster.__repr__()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 25 Apr 2014 16:36:43 +0000 (11:36 -0500)]
Fix Cluster.__repr__()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 24 Apr 2014 15:46:11 +0000 (10:46 -0500)]
Don't push last_in_suite jobs to paddles
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Samuel Just [Wed, 23 Apr 2014 00:38:12 +0000 (17:38 -0700)]
task/: add tests for ec and rep mark_unfound_lost delete
Signed-off-by: Samuel Just <sam.just@inktank.com>
Zack Cerza [Tue, 22 Apr 2014 22:46:02 +0000 (17:46 -0500)]
Bump psutil version requirement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sandon Van Ness [Tue, 22 Apr 2014 19:35:11 +0000 (12:35 -0700)]
Fix for #8115
Increase boot disk size per #8115 where monitors shut down due to
/ being full on vm machines.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Mon, 21 Apr 2014 15:11:15 +0000 (10:11 -0500)]
Work around #8166
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 18 Apr 2014 15:49:51 +0000 (10:49 -0500)]
Require requests >= 1.0
Zack Cerza [Thu, 17 Apr 2014 21:04:39 +0000 (16:04 -0500)]
watch_tube() belongs to the beanstalk module
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 17 Apr 2014 20:33:26 +0000 (15:33 -0500)]
Update requests version
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 17 Apr 2014 20:03:37 +0000 (15:03 -0500)]
s/wait-for-package/wait_for_package/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Thu, 17 Apr 2014 19:40:59 +0000 (15:40 -0400)]
Merge pull request #242 from ceph/wip-7773
Mirror beanstalkd queue in paddles
Zack Cerza [Thu, 17 Apr 2014 16:17:22 +0000 (11:17 -0500)]
Refactor try_delete_jobs()
Also tweak its error message
Zack Cerza [Thu, 17 Apr 2014 15:47:17 +0000 (10:47 -0500)]
Be slightly less verbose about logging
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 16 Apr 2014 19:31:28 +0000 (14:31 -0500)]
Look for archive_base in config
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 15:40:39 +0000 (10:40 -0500)]
When deleting jobs, also delete them from paddles
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 00:46:07 +0000 (19:46 -0500)]
Submit queued jobs to paddles
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 00:39:13 +0000 (19:39 -0500)]
Rename teuthology.queue to teuthology.worker
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 00:28:54 +0000 (19:28 -0500)]
Use shared methods to connect to beanstalkd
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 14 Apr 2014 20:38:51 +0000 (15:38 -0500)]
When killing a run, delete paddles jobs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 14 Apr 2014 20:38:36 +0000 (15:38 -0500)]
Add methods for querying and deleting jobs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 17 Apr 2014 16:08:36 +0000 (11:08 -0500)]
safe_while: Don't sleep() on the first attempt
This was causing unnecessary delays in several places
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 17 Apr 2014 14:43:07 +0000 (09:43 -0500)]
Pass -D flag to teuthology report
Fixes an issue where tests run on old teuthology branches that died for
uncommon reasons were not being marked as dead
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 16 Apr 2014 20:19:01 +0000 (15:19 -0500)]
Update to use psutil 2.x API
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 16 Apr 2014 14:35:04 +0000 (09:35 -0500)]
Generate subtasks instead of copy/pasting them
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 22:02:33 +0000 (17:02 -0500)]
Don't run apache functions if not using apache
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 19:49:03 +0000 (14:49 -0500)]
Optionally use civetweb instead of apache
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 19:28:04 +0000 (14:28 -0500)]
Don't pass apache's config to radosgw
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 18:12:00 +0000 (13:12 -0500)]
Rename some functions and variables
This is to make the refactoring a little smoother and easier to read.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Apr 2014 15:50:07 +0000 (10:50 -0500)]
Fix all but one of the PEP-8 issues
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Warren Usui [Tue, 15 Apr 2014 00:04:52 +0000 (17:04 -0700)]
Improve unlock error messages.
Added messages if the hostname is invalid, and if
the user is not the owner of the lock.
Fixes: 6295
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Warren Usui [Fri, 28 Mar 2014 23:04:05 +0000 (16:04 -0700)]
Fix kvm issues for Trusty
Change kvm reference to qemu-system-x86_64 and use raw format
in kvm/qemu command. Tested on both Trusty and Precise.
Fixes: 7825
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Dan Mick [Thu, 10 Apr 2014 21:53:10 +0000 (14:53 -0700)]
Change status to _status everywhere (fix regression)
0550dd119150acf8f7b7da2f32b3938c910c3c99 didn't add '_' to 'status'
everywhere it was needed.
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Sage Weil [Thu, 10 Apr 2014 20:24:27 +0000 (13:24 -0700)]
ceph.conf: longer client_moutn_timeout (which also applies to librados)
Signed-off-by: Sage Weil <sage@inktank.com>
GregMeno [Wed, 9 Apr 2014 20:59:28 +0000 (16:59 -0400)]
Merge pull request #238 from ceph/wip-pep8
Wip pep8
Alfredo Deza [Wed, 9 Apr 2014 20:56:19 +0000 (16:56 -0400)]
more statuses redefinition fixes
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 9 Apr 2014 20:36:18 +0000 (16:36 -0400)]
rename variable to avoid collision
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 9 Apr 2014 20:27:25 +0000 (16:27 -0400)]
remove unused import
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 9 Apr 2014 20:26:47 +0000 (16:26 -0400)]
fix redefinition of region
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Josh Durgin [Wed, 9 Apr 2014 01:25:14 +0000 (18:25 -0700)]
Merge pull request #236 from ceph/wip-fix-mon-warn-corrected
changed mon data avail warn to avoid monitor storage warnings
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Yuri Weinstein [Wed, 9 Apr 2014 01:04:35 +0000 (18:04 -0700)]
changed mon data avail warn to avoid monitor storage warnings
Sage Weil [Mon, 7 Apr 2014 23:02:33 +0000 (16:02 -0700)]
ceph.conf: don't force lockdep on mds
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Tue, 1 Apr 2014 02:57:53 +0000 (21:57 -0500)]
Report job updated time
When reading job information from archive files, use the mtime of
teuthology.log as the job updated time
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Apr 2014 02:07:24 +0000 (21:07 -0500)]
Handle jobs with no targets
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 31 Mar 2014 22:46:27 +0000 (17:46 -0500)]
When ignoring a raised exception, at least log it
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 31 Mar 2014 14:57:19 +0000 (09:57 -0500)]
Provide real error messages for unfound (sub)tasks
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Sat, 29 Mar 2014 16:38:31 +0000 (09:38 -0700)]
valgrind.supp: be less picky about library versions
...so that this works on trusty
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Fri, 28 Mar 2014 00:20:54 +0000 (17:20 -0700)]
radosgw-agent: coerce max-entries config to a string
This is necessary to pass it as a command line argument.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Zack Cerza [Thu, 27 Mar 2014 18:09:09 +0000 (13:09 -0500)]
Merge pull request #234 from ceph/wip-priority
schedule_suite: ugly hack to set priority when scheduling
Yehuda Sadeh [Wed, 26 Mar 2014 23:06:29 +0000 (16:06 -0700)]
rgw: idle timeout config moves to the external server line
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Sage Weil [Thu, 27 Mar 2014 15:06:16 +0000 (08:06 -0700)]
schedule_suite: ugly hack to set priority when scheduling
I don't want to add another arg at the end of the very long list of
optional args, so I'll use an environment variable. Ugly! But this whole
script needs to be replace anyway.
Signed-off-by: Sage Weil <sage@inktank.com>