]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agoAdd a new subtask: smoke()
Zack Cerza [Fri, 14 Feb 2014 20:54:10 +0000 (14:54 -0600)]
Add a new subtask: smoke()

Currently it creates a volume, then verifies that the volume exists in
Ceph - as opposed to some other place. This is intended to verify that
we've configured DevStack at least somewhat correctly.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoForget about saving the exercise.sh log, for now
Zack Cerza [Fri, 14 Feb 2014 17:36:20 +0000 (11:36 -0600)]
Forget about saving the exercise.sh log, for now

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAllow using different devstack branches
Zack Cerza [Fri, 14 Feb 2014 17:32:37 +0000 (11:32 -0600)]
Allow using different devstack branches

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd devstack.exercise subtask
Zack Cerza [Thu, 13 Feb 2014 16:54:19 +0000 (10:54 -0600)]
Add devstack.exercise subtask

The subtask runs devstack/exercise.sh

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake reconnect() use Remote.reconnect()
Zack Cerza [Wed, 12 Feb 2014 17:08:25 +0000 (11:08 -0600)]
Make reconnect() use Remote.reconnect()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove reboot() to teuthology.misc
Zack Cerza [Wed, 12 Feb 2014 17:01:37 +0000 (11:01 -0600)]
Move reboot() to teuthology.misc

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd documentation to reboot()
Zack Cerza [Wed, 12 Feb 2014 16:53:01 +0000 (10:53 -0600)]
Add documentation to reboot()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd note about memory requirements
Zack Cerza [Wed, 12 Feb 2014 16:48:11 +0000 (10:48 -0600)]
Add note about memory requirements

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoSimplify create_if_vm's downburst config logic
Zack Cerza [Tue, 11 Feb 2014 19:52:23 +0000 (13:52 -0600)]
Simplify create_if_vm's downburst config logic

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove restart_apache() to after the reboot
Zack Cerza [Tue, 11 Feb 2014 03:04:53 +0000 (21:04 -0600)]
Move restart_apache() to after the reboot

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake rejoin-stack.sh start screen in detached mode
Zack Cerza [Tue, 11 Feb 2014 01:22:57 +0000 (19:22 -0600)]
Make rejoin-stack.sh start screen in detached mode

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoActually call Remote.reconnect()
Zack Cerza [Mon, 10 Feb 2014 23:27:06 +0000 (17:27 -0600)]
Actually call Remote.reconnect()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoTweaks to is_online and reconnect()
Zack Cerza [Mon, 10 Feb 2014 23:26:51 +0000 (17:26 -0600)]
Tweaks to is_online and reconnect()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd logging calls to each helper function
Zack Cerza [Mon, 10 Feb 2014 20:16:53 +0000 (14:16 -0600)]
Add logging calls to each helper function

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoSet apache ServerName, reboot, restart devstack
Zack Cerza [Mon, 10 Feb 2014 20:12:06 +0000 (14:12 -0600)]
Set apache ServerName, reboot, restart devstack

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd Remote.reconnect()
Zack Cerza [Mon, 10 Feb 2014 20:08:10 +0000 (14:08 -0600)]
Add Remote.reconnect()

Also rename Remote._connect() to Remote.connect() and change its
semantics to match Remote.reconnect()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse new init parameters for Remote
Zack Cerza [Mon, 10 Feb 2014 20:03:17 +0000 (14:03 -0600)]
Use new init parameters for Remote

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake Remote.is_online more accurate
Zack Cerza [Mon, 10 Feb 2014 19:59:25 +0000 (13:59 -0600)]
Make Remote.is_online more accurate

To really know if the connection is active, we need to read something
from the remote host.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRemote instances can now establish SSH connections
Zack Cerza [Mon, 10 Feb 2014 19:57:53 +0000 (13:57 -0600)]
Remote instances can now establish SSH connections

Previously, they required an active ssh connection object to be passed
to them. That behavior is still functional.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd Remote.is_online property
Zack Cerza [Mon, 10 Feb 2014 19:15:09 +0000 (13:15 -0600)]
Add Remote.is_online property

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd Remote.hostname property
Zack Cerza [Mon, 10 Feb 2014 16:42:25 +0000 (10:42 -0600)]
Add Remote.hostname property

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoget_file() returns a str, not a StringIO...
Zack Cerza [Fri, 7 Feb 2014 20:05:08 +0000 (14:05 -0600)]
get_file() returns a str, not a StringIO...

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse ConfigParser.set() instead of update()
Zack Cerza [Fri, 7 Feb 2014 18:49:45 +0000 (12:49 -0600)]
Use ConfigParser.set() instead of update()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoWork around a bug in ConfigParser
Zack Cerza [Fri, 7 Feb 2014 17:37:15 +0000 (11:37 -0600)]
Work around a bug in ConfigParser

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoCall seek(0) on StringIO objects before reading
Zack Cerza [Fri, 7 Feb 2014 17:05:13 +0000 (11:05 -0600)]
Call seek(0) on StringIO objects before reading

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix typoed virsh call
Zack Cerza [Fri, 7 Feb 2014 16:34:47 +0000 (10:34 -0600)]
Fix typoed virsh call

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't pass owner to copy_key()
Zack Cerza [Fri, 7 Feb 2014 00:17:17 +0000 (18:17 -0600)]
Don't pass owner to copy_key()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse get_file() and sudo_write_file()
Zack Cerza [Thu, 6 Feb 2014 22:42:35 +0000 (16:42 -0600)]
Use get_file() and sudo_write_file()

... instead of copy_file()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoSplit out key generation
Zack Cerza [Thu, 6 Feb 2014 22:39:10 +0000 (16:39 -0600)]
Split out key generation

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd update_devstack_config_files()
Zack Cerza [Thu, 6 Feb 2014 19:20:35 +0000 (13:20 -0600)]
Add update_devstack_config_files()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd set_libvirt_secret() and split out other steps
Zack Cerza [Thu, 6 Feb 2014 18:29:15 +0000 (12:29 -0600)]
Add set_libvirt_secret() and split out other steps

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoSplit out devstack-ceph configuration
Zack Cerza [Thu, 6 Feb 2014 02:48:05 +0000 (20:48 -0600)]
Split out devstack-ceph configuration

This is starting to get long, so create configure_devstack_and_ceph()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoCopy ceph auth keys over to devstack node
Zack Cerza [Thu, 6 Feb 2014 02:39:42 +0000 (20:39 -0600)]
Copy ceph auth keys over to devstack node

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd optional 'owner' arg to sudo_write_file()
Zack Cerza [Thu, 6 Feb 2014 02:14:42 +0000 (20:14 -0600)]
Add optional 'owner' arg to sudo_write_file()

This gets passed directly to chown as 'sudo chown $owner $file'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix linter errors.
Zack Cerza [Wed, 5 Feb 2014 17:37:29 +0000 (11:37 -0600)]
Fix linter errors.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd skeleton devstack task
Zack Cerza [Mon, 3 Feb 2014 21:50:07 +0000 (15:50 -0600)]
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>
11 years agoAdd copy_file() to scp files between remotes
Zack Cerza [Wed, 5 Feb 2014 17:37:02 +0000 (11:37 -0600)]
Add copy_file() to scp files between remotes

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #201 from ceph/wip-6531-wusui
Zack Cerza [Thu, 20 Feb 2014 22:56:24 +0000 (16:56 -0600)]
Merge pull request #201 from ceph/wip-6531-wusui

Fix formatting and add docstrings to ceph_manager.py

11 years agoAdd back in print in ceph_manager that the last checkin accidentally removed
Warren Usui [Wed, 19 Feb 2014 22:35:37 +0000 (14:35 -0800)]
Add back in print in ceph_manager that the last checkin accidentally removed

11 years agoFix formatting and add docstrings to ceph_manager.py
Warren Usui [Sat, 15 Feb 2014 03:50:38 +0000 (19:50 -0800)]
Fix formatting and add docstrings to ceph_manager.py

Fixes: 6531
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agojenkins: add debugging output to shell script
Ken Dreyer [Wed, 19 Feb 2014 21:58:57 +0000 (14:58 -0700)]
jenkins: add debugging output to shell script

When we migrated the Jenkins commands into Git, the exact commands are
no longer visible unless we run with "-x".

Add "set -x" to the script to enable debugging.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoMerge pull request #195 from ceph/wip-7003-wusui
Zack Cerza [Wed, 19 Feb 2014 21:44:26 +0000 (15:44 -0600)]
Merge pull request #195 from ceph/wip-7003-wusui

Add docstrings to the orchestra code.  Also fix minor formatting issues

11 years agoMerge pull request #186 from ceph/wip-7369
Alfredo Deza [Wed, 19 Feb 2014 21:40:17 +0000 (16:40 -0500)]
Merge pull request #186 from ceph/wip-7369

Fix #7369: "sed expression must be raw string"

11 years agoFix syntax error in first docstring added.
Warren Usui [Wed, 19 Feb 2014 21:37:06 +0000 (13:37 -0800)]
Fix syntax error in first docstring added.

11 years agoMerge pull request #190 from kdreyer-inktank/jenkins
Zack Cerza [Wed, 19 Feb 2014 21:34:24 +0000 (15:34 -0600)]
Merge pull request #190 from kdreyer-inktank/jenkins

add jenkins-pull-requests-build script

11 years agoMerge pull request #199 from ceph/wip-6540-wusui
Zack Cerza [Wed, 19 Feb 2014 21:26:31 +0000 (15:26 -0600)]
Merge pull request #199 from ceph/wip-6540-wusui

Add docstrings.  Fix formatting issues for rgw.py

11 years agoMerge pull request #196 from ceph/wip-6541-wusui
Zack Cerza [Wed, 19 Feb 2014 21:26:14 +0000 (15:26 -0600)]
Merge pull request #196 from ceph/wip-6541-wusui

Fix docstrings in radosgw-admin-rest.py

11 years agoMerge pull request #197 from ceph/wip-6535-wusui
Zack Cerza [Wed, 19 Feb 2014 21:26:06 +0000 (15:26 -0600)]
Merge pull request #197 from ceph/wip-6535-wusui

Fix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrashe...

11 years agoMerge pull request #198 from ceph/wip-6539-wusui
Zack Cerza [Wed, 19 Feb 2014 21:25:33 +0000 (15:25 -0600)]
Merge pull request #198 from ceph/wip-6539-wusui

Fix docstrings and minor formatting in task/ssh_keys.py

11 years agoMerge pull request #200 from ceph/wip-6532-wusui
Zack Cerza [Wed, 19 Feb 2014 21:23:37 +0000 (15:23 -0600)]
Merge pull request #200 from ceph/wip-6532-wusui

Fixed task/args.py docstrings.

11 years agoRevert "Show hostname instead of IP in errors"
Zack Cerza [Wed, 19 Feb 2014 19:20:52 +0000 (13:20 -0600)]
Revert "Show hostname instead of IP in errors"

This reverts commit eafeece243607eef8209eaa8c08eecc7d1098eb1.

I was having problems with my newly-created devstack task hanging
inexplicably. It turns out this commit was responsible.

11 years agoadd jenkins-pull-requests-build script
Ken Dreyer [Thu, 13 Feb 2014 23:35:00 +0000 (16:35 -0700)]
add jenkins-pull-requests-build script

Move our Jenkins pull requests build script out of Jenkins' database and
into Git so that we can have greater visibility on future changes.

Going forward, we will modify the teuthology-pull-requests Jenkins task
to only run this script.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoradosbench: simplify pool creation and add ec_pool support
Samuel Just [Tue, 18 Feb 2014 20:13:19 +0000 (12:13 -0800)]
radosbench: simplify pool creation and add ec_pool support

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agotask/: add ec_pool and append to rados.py
Samuel Just [Tue, 18 Feb 2014 20:03:44 +0000 (12:03 -0800)]
task/: add ec_pool and append to rados.py

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoRevert "Capture stderr and include in CommandFailedError"
Alfredo Deza [Tue, 18 Feb 2014 14:47:09 +0000 (09:47 -0500)]
Revert "Capture stderr and include in CommandFailedError"

This reverts commit d0a434923100dd16548e5f76eaffa5462c4b91d4.

11 years agofilestore_idempotent: filestore -> objectstore path change
Sage Weil [Tue, 18 Feb 2014 12:54:12 +0000 (04:54 -0800)]
filestore_idempotent: filestore -> objectstore path change

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agothrashosds: allow primary-affinity thrashing to be disabled
Sage Weil [Mon, 17 Feb 2014 21:16:42 +0000 (13:16 -0800)]
thrashosds: allow primary-affinity thrashing to be disabled

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agothrashosds: randomly adjust primary_affinity
Sage Weil [Sat, 15 Feb 2014 18:05:14 +0000 (10:05 -0800)]
thrashosds: randomly adjust primary_affinity

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoceph.conf: mon osd allow primary affinity = true
Sage Weil [Mon, 10 Feb 2014 18:21:43 +0000 (10:21 -0800)]
ceph.conf: mon osd allow primary affinity = true

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoFixed task/args.py docstrings.
Warren Usui [Sat, 15 Feb 2014 01:28:38 +0000 (17:28 -0800)]
Fixed task/args.py docstrings.

11 years agoAdd docstrings. Fix formatting issues for rgw.py
Warren Usui [Sat, 15 Feb 2014 01:08:28 +0000 (17:08 -0800)]
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>
11 years agoFix docstrings and minor formatting in task/ssh_keys.py
Warren Usui [Fri, 14 Feb 2014 23:48:38 +0000 (15:48 -0800)]
Fix docstrings and minor formatting in task/ssh_keys.py

Fixes: 6539
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoFix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrasher.py and
Warren Usui [Fri, 14 Feb 2014 23:13:01 +0000 (15:13 -0800)]
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>
11 years agoFix docstrings in radosgw-admin-rest.py
Warren Usui [Fri, 14 Feb 2014 21:57:03 +0000 (13:57 -0800)]
Fix docstrings in radosgw-admin-rest.py

Fixes: 6541
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMerge pull request #188 from ceph/wip-calamari-onefile
Zack Cerza [Fri, 14 Feb 2014 20:59:04 +0000 (14:59 -0600)]
Merge pull request #188 from ceph/wip-calamari-onefile

Add Calamari test tasks, test script

11 years agoAdd docstrings to the orchestra code. Also fix minor formatting issues
Warren Usui [Fri, 14 Feb 2014 17:57:43 +0000 (09:57 -0800)]
Add docstrings to the orchestra code.  Also fix minor formatting issues
(mostly column start locations).

Fixes: 7003
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoReview: switch to selecting remotes by roles in the 'normal' way
Dan Mick [Fri, 14 Feb 2014 03:44:36 +0000 (19:44 -0800)]
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>
11 years agoReview: refactor packaging routines to common file
Dan Mick [Fri, 14 Feb 2014 03:59:25 +0000 (19:59 -0800)]
Review: refactor packaging routines to common file

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoMerge pull request #192 from ceph/wip-6537-wusui
Zack Cerza [Fri, 14 Feb 2014 17:50:55 +0000 (11:50 -0600)]
Merge pull request #192 from ceph/wip-6537-wusui

Readjust the indentation of mon_clock_skew_check.py and mon_thrash.py.

11 years agoMerge pull request #194 from ceph/wip-6534-wusui
Zack Cerza [Fri, 14 Feb 2014 17:45:51 +0000 (11:45 -0600)]
Merge pull request #194 from ceph/wip-6534-wusui

Add docstrings to internal.py

11 years agoMerge pull request #193 from ceph/wip-6538-wusui
Zack Cerza [Fri, 14 Feb 2014 17:45:19 +0000 (11:45 -0600)]
Merge pull request #193 from ceph/wip-6538-wusui

Add doc strings to Swift tests

11 years agoMerge pull request #191 from ceph/wip-7002-wusui
Zack Cerza [Fri, 14 Feb 2014 17:44:40 +0000 (11:44 -0600)]
Merge pull request #191 from ceph/wip-7002-wusui

Added some docstrings.

11 years agoMerge pull request #187 from ceph/wip-better-debug
Zack Cerza [Fri, 14 Feb 2014 17:43:15 +0000 (11:43 -0600)]
Merge pull request #187 from ceph/wip-better-debug

Debug output improvements

11 years agoAdd docstrings to internal.py
Warren Usui [Fri, 14 Feb 2014 06:37:51 +0000 (22:37 -0800)]
Add docstrings to internal.py

Fixes: 6534
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoAdd doc strings to Swift tests
Warren Usui [Fri, 14 Feb 2014 05:11:34 +0000 (21:11 -0800)]
Add doc strings to Swift tests

Fixes: 6538
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoReadjust the indentation of mon_clock_skew_check.py and mon_thrash.py.
Warren Usui [Fri, 14 Feb 2014 02:18:56 +0000 (18:18 -0800)]
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>
11 years agoReview: Rename calamari_testdir/ to calamari/
Dan Mick [Fri, 14 Feb 2014 03:57:51 +0000 (19:57 -0800)]
Review: Rename calamari_testdir/ to calamari/

11 years agoAdded some docstrings.
Warren Usui [Wed, 12 Feb 2014 21:27:15 +0000 (13:27 -0800)]
Added some docstrings.

Fixes: 7002
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoFix flake8 failures
Dan Mick [Wed, 12 Feb 2014 21:25:54 +0000 (13:25 -0800)]
Fix flake8 failures

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoSpelling
John Spray [Thu, 6 Feb 2014 14:26:27 +0000 (14:26 +0000)]
Spelling

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoLog correct name of context during errors
John Spray [Wed, 5 Feb 2014 20:28:35 +0000 (20:28 +0000)]
Log correct name of context during errors

(instead of GeneratorContextManager)

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoCatch a case where we weren't getting tracebacks
John Spray [Wed, 5 Feb 2014 20:27:18 +0000 (20:27 +0000)]
Catch a case where we weren't getting tracebacks

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoTimestamp stdout log output
John Spray [Wed, 5 Feb 2014 17:47:17 +0000 (17:47 +0000)]
Timestamp stdout log output

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoRemove spurious print
John Spray [Wed, 5 Feb 2014 16:40:24 +0000 (16:40 +0000)]
Remove spurious print

This was causing junk output like <type 'exceptions.StopIteration'>

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoCapture stderr and include in CommandFailedError
John Spray [Wed, 5 Feb 2014 16:00:51 +0000 (16:00 +0000)]
Capture stderr and include in CommandFailedError

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoMerge pull request #182 from ceph/wip-imports
Zack Cerza [Wed, 12 Feb 2014 16:46:35 +0000 (10:46 -0600)]
Merge pull request #182 from ceph/wip-imports

Make libvirt import optional (OS X)

11 years agoShow hostname instead of IP in errors
John Spray [Wed, 5 Feb 2014 15:40:33 +0000 (15:40 +0000)]
Show hostname instead of IP in errors

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoMerge pull request #189 from ceph/wip-6536-wusui
Alfredo Deza [Wed, 12 Feb 2014 15:12:35 +0000 (10:12 -0500)]
Merge pull request #189 from ceph/wip-6536-wusui

Add docstrings to s3 related tasks.

11 years agoAdd docstrings to s3 related tasks.
Warren Usui [Wed, 12 Feb 2014 04:21:06 +0000 (20:21 -0800)]
Add docstrings to s3 related tasks.

Fixes: 6536
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoAdd calamari setup/test tasks
Dan Mick [Tue, 11 Feb 2014 04:31:33 +0000 (20:31 -0800)]
Add calamari setup/test tasks

Signed-off-by: Warren Usui <warren.usui@inktank.com>
Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoMerge pull request #184 from ceph/wip-pg-scrub-from-ceph-wusui
Zack Cerza [Tue, 11 Feb 2014 00:25:14 +0000 (18:25 -0600)]
Merge pull request #184 from ceph/wip-pg-scrub-from-ceph-wusui

Scrub osds when ceph task finishes

11 years agoFix #7369: "sed expression must be raw string"
Zack Cerza [Mon, 10 Feb 2014 21:39:23 +0000 (15:39 -0600)]
Fix #7369: "sed expression must be raw string"

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake sure osd_scrub_pgs gets called if healthy call fails.
Warren Usui [Mon, 10 Feb 2014 17:28:39 +0000 (09:28 -0800)]
Make sure osd_scrub_pgs gets called if healthy call fails.

Fixes: 7198
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMove osd_scrub_pgs call to finally block of ceph main task.
Warren Usui [Fri, 7 Feb 2014 22:54:23 +0000 (14:54 -0800)]
Move osd_scrub_pgs call to finally block of ceph main task.

Fixes: 7198
Signed-off-bye: Warren Usui <warren.usui@inktank.com>

11 years agoschedule_suite: be slightly more verbose
Sage Weil [Wed, 5 Feb 2014 23:19:48 +0000 (15:19 -0800)]
schedule_suite: be slightly more verbose

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #185 from ceph/wip-7342
Alfredo Deza [Wed, 5 Feb 2014 19:46:14 +0000 (14:46 -0500)]
Merge pull request #185 from ceph/wip-7342

Enable killing runs that haven't even started yet

11 years agoEnable killing runs that haven't even started yet
Zack Cerza [Wed, 5 Feb 2014 19:31:10 +0000 (13:31 -0600)]
Enable killing runs that haven't even started yet

This requires passing --machine-type.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agovalgrind: fix msync suppression
Sage Weil [Wed, 5 Feb 2014 00:52:26 +0000 (16:52 -0800)]
valgrind: fix msync suppression

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoImplement the rest of the checks for automatic pg scrubbing.
Warren Usui [Tue, 4 Feb 2014 01:17:09 +0000 (17:17 -0800)]
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>

11 years agomisc.py: helper roles_to_remotes for generic use
Dan Mick [Sat, 1 Feb 2014 00:07:52 +0000 (16:07 -0800)]
misc.py: helper roles_to_remotes for generic use

roles_to_remotes will take a config key, 'roles' by default,
and search cluster.remotes for those roles, returning a list
of remotes that hold it.  The list is uniquified by default,
but that can be overridden.  So you can have a task that
should run on specific roles, configure it with
"roles: [mon.0 server.0 osd.2]", and call this to get a list
of remotes that contain those roles.

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