]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Loic Dachary [Sat, 1 Mar 2014 23:41:21 +0000 (00:41 +0100)]
ceph-manager: fix ec_pool parameters
* the crush ruleset and the pool create parameters must be identicals
k=2 m= 1
* the --property argument is invalid
* the failure domain is ignored on pool create
Signed-off-by: Loic Dachary <loic@dachary.org>
Alfredo Deza [Fri, 28 Feb 2014 23:32:25 +0000 (18:32 -0500)]
Merge pull request #213 from ceph/wip-kdb-except
Allow setting kdb to fail.
Sandon Van Ness [Fri, 28 Feb 2014 22:16:32 +0000 (14:16 -0800)]
Allow setting kdb to fail.
Some kernels (primarily Debian distro kernels) do not support
setting kdb. Rather than having the entire test fail.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
wusui [Fri, 28 Feb 2014 19:13:46 +0000 (11:13 -0800)]
Merge pull request #212 from ceph/wip-limit
Added --limit option to teuthology-suite.
Zack Cerza [Fri, 28 Feb 2014 17:04:23 +0000 (11:04 -0600)]
Merge pull request #211 from ceph/wip-7554
mds_thrash #7554
Yuri Weinstein [Fri, 28 Feb 2014 00:34:58 +0000 (00:34 +0000)]
Added --limit option to teuthology-suite.
Use --limit to limit the number of jobs being scheduled during
teuthology-suite. Also can be used with schedule_suite.sh via the
10th argument.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
John Spray [Thu, 27 Feb 2014 14:22:02 +0000 (14:22 +0000)]
mds_thrash: Fix a potential getitem on None
get_mds_status returns None for things it can't see,
so have to check for Noneness on all its outputs.
Signed-off-by: John Spray <john.spray@inktank.com>
John Spray [Thu, 27 Feb 2014 14:17:54 +0000 (14:17 +0000)]
mds_thrash: Refactor gevent usage + get traceback
This simplifies the code to make MdsTrash be a greenlet
(as it logically is) rather than encapsulating one that
gets started in __init__ (spawning threads in constructors
is evil).
With this done, do_thrash is called from _run inside an
exception handler that will give us full tracebacks
if something bad happens.
Signed-off-by: John Spray <john.spray@inktank.com>
John Spray [Thu, 27 Feb 2014 14:09:52 +0000 (14:09 +0000)]
mds_thrash: PEP8-ize whitespace
...so that I can edit the code in a python IDE without
it lighting up like a christmas tree!
Signed-off-by: John Spray <john.spray@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 23:15:37 +0000 (17:15 -0600)]
Worker logging tweaks
Change some statements' log levels; don't show bootstrap output if there
is no error.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 22:41:43 +0000 (16:41 -0600)]
--dead implies --refresh
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 22:22:32 +0000 (16:22 -0600)]
Symlink worker log after child starts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 19:13:41 +0000 (13:13 -0600)]
In find_job_info(), also look for orig.config.yaml
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 16:50:39 +0000 (10:50 -0600)]
Push complete info when reporting jobs as dead
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 26 Feb 2014 17:47:02 +0000 (11:47 -0600)]
Merge pull request #210 from ceph/wip-queue
Add teuthology-queue command for beanstalk Managmeent.
Gregory Farnum [Wed, 26 Feb 2014 17:46:43 +0000 (09:46 -0800)]
Merge pull request #208 from ceph/wip-7485
task: Add mds_creation_failure
Reviewed-by: Greg Farnum <greg@inktank.com>
John Spray [Mon, 24 Feb 2014 16:00:37 +0000 (16:00 +0000)]
task: Add mds_creation_failure
This is test code to accompany CephFS fix #7485.
Also fix DaemonState.wait_for_exit to clear up its 'proc'
attribute even if it fails, so that subsequent calls to 'restart'
happen properly.
Signed-off-by: John Spray <john.spray@inktank.com>
Sandon Van Ness [Wed, 26 Feb 2014 03:57:41 +0000 (19:57 -0800)]
Make help a bit more obvious. Misc tweeks.
Put each yaml in the job_description on its own line so not so
wide of a line. Make delete default None not False in function.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Tue, 25 Feb 2014 19:13:31 +0000 (11:13 -0800)]
Add teuthology-queue command for beanstalk Managmeent.
Supports listing entire queue of machine type and deleting test
suite runs from the queue without wiping the entire queue.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Mon, 24 Feb 2014 17:20:03 +0000 (11:20 -0600)]
Flip logic of checking whether a branch can report
Previously we checked if the branch being used was in a whitelist of
branches known to contain the reporting feature. Now, switch to checking
against a blacklist of branches known to *not* have the feature:
argonaut, bobtail, cuttlefish and dumpling.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Fri, 21 Feb 2014 21:51:12 +0000 (13:51 -0800)]
schedule_suite: debug filestore = 20 too
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Fri, 21 Feb 2014 21:01:00 +0000 (16:01 -0500)]
Merge pull request #205 from kdreyer-inktank/jenkins
jenkins: fail fast during job execution
Zack Cerza [Fri, 21 Feb 2014 19:25:30 +0000 (13:25 -0600)]
Merge pull request #206 from ceph/wip-osd-debug
schedule_suite: debug osd = 20 for the time being
Sage Weil [Fri, 21 Feb 2014 19:15:40 +0000 (11:15 -0800)]
schedule_suite: debug osd = 20 for the time being
This will make it easier to chase the first pass of firefly bugs.
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Fri, 21 Feb 2014 18:20:18 +0000 (13:20 -0500)]
Merge pull request #203 from ceph/wip-devstack
Add devstack task
Ken Dreyer [Fri, 21 Feb 2014 18:11:47 +0000 (11:11 -0700)]
jenkins: fail fast during job execution
Jenkins will dynamically write the commands in its database into a
script and run it with "-x" and "-e" in order to display each step and
fail after the first step fails.
Now that our commands are stored in Git, ensure that we're doing the
same thing.
Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
Zack Cerza [Fri, 21 Feb 2014 18:08:37 +0000 (12:08 -0600)]
Merge pull request #204 from ceph/wip-fix7397-wusui
Do not spawn a parallel task if dictionary entry does not exist.
Zack Cerza [Fri, 21 Feb 2014 17:23:31 +0000 (11:23 -0600)]
Add unit test for task.devstack.parse_os_table()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 21 Feb 2014 16:18:41 +0000 (10:18 -0600)]
Add debug output for reconnect() failures
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 21 Feb 2014 15:57:29 +0000 (09:57 -0600)]
Add explanations to asserts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 21 Feb 2014 15:43:33 +0000 (09:43 -0600)]
Guard against ctx.config being unset or None
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Warren Usui [Fri, 21 Feb 2014 04:18:28 +0000 (20:18 -0800)]
Do not spawn a parallel task if dictionary entry does not exist.
Fixes: 7397
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 23:51:36 +0000 (17:51 -0600)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 22:33:39 +0000 (16:33 -0600)]
Don't run the exercise subtask by default
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 17:14:55 +0000 (11:14 -0600)]
Add a retry to the rbd volume verification
This was running into an auth problem intermittently that Josh Durgin
said is likely not a real problem. Still, try the original call first
and fall back to a different one if it fails.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 17:11:43 +0000 (11:11 -0600)]
Fix incorrect exception name in docstring
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 20 Feb 2014 17:01:58 +0000 (11:01 -0600)]
Move external docs URLs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 19 Feb 2014 21:54:15 +0000 (15:54 -0600)]
Wait 30s for Keystone to start
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 18 Feb 2014 15:54:58 +0000 (09:54 -0600)]
Change usages of StringIO.read() to getvalue()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 18 Feb 2014 15:53:57 +0000 (09:53 -0600)]
Source openrc before creating volume
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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
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"
Warren Usui [Wed, 19 Feb 2014 21:37:06 +0000 (13:37 -0800)]
Fix syntax error in first docstring added.
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
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
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
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...
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
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.
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.
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>
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>
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>
Alfredo Deza [Tue, 18 Feb 2014 14:47:09 +0000 (09:47 -0500)]
Revert "Capture stderr and include in CommandFailedError"
This reverts commit
d0a434923100dd16548e5f76eaffa5462c4b91d4 .
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>
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>
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>
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>
Warren Usui [Sat, 15 Feb 2014 01:28:38 +0000 (17:28 -0800)]
Fixed task/args.py docstrings.