]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Sandon Van Ness [Wed, 27 Aug 2014 21:41:01 +0000 (14:41 -0700)]
Add more info in comments.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Mon, 18 Aug 2014 18:25:24 +0000 (11:25 -0700)]
Speed up teuthology-kill.
Read less information when its not needed for killing runs.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Mon, 18 Aug 2014 18:24:46 +0000 (11:24 -0700)]
Print progress of reaidng job info when killing.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Thu, 14 Aug 2014 16:20:40 +0000 (10:20 -0600)]
Perform some sanity checks on --name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 14 Aug 2014 16:20:27 +0000 (10:20 -0600)]
Make --name required
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 13 Aug 2014 19:39:00 +0000 (13:39 -0600)]
Don't fetch the suite if we can already find it
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 13 Aug 2014 19:10:15 +0000 (13:10 -0600)]
Attach FileHandlers to the RootLogger object
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 23:28:20 +0000 (17:28 -0600)]
Don't remove lockfiles
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 23:09:50 +0000 (17:09 -0600)]
Add retries to fetch_teuthology()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 23:07:39 +0000 (17:07 -0600)]
Add BootstrapError
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 23:02:04 +0000 (17:02 -0600)]
If bootstrap fails, remove the virtualenv
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 18:54:05 +0000 (12:54 -0600)]
Fix another variable name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 16:46:29 +0000 (10:46 -0600)]
Add message to exception log
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 16:39:23 +0000 (10:39 -0600)]
Add retries to fetch_qa_suite()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 16:38:00 +0000 (10:38 -0600)]
Use GitError instead of RuntimeError
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 16:36:51 +0000 (10:36 -0600)]
Add GitError
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 16:26:34 +0000 (10:26 -0600)]
Fix some variable naming
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 12 Aug 2014 16:24:58 +0000 (10:24 -0600)]
Merge pull request #310 from ceph/wip-valgrind
misc: pass premable through when no valgrind
Sage Weil [Tue, 12 Aug 2014 00:31:57 +0000 (17:31 -0700)]
misc: pass premable through when no valgrind
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Mon, 11 Aug 2014 20:55:49 +0000 (14:55 -0600)]
Be more informative if owner info is missing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 11 Aug 2014 20:20:33 +0000 (14:20 -0600)]
Fix format string
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 11 Aug 2014 20:18:50 +0000 (14:18 -0600)]
Don't redefine 'remote'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 11 Aug 2014 20:14:45 +0000 (14:14 -0600)]
Don't import from inside functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 8 Aug 2014 19:20:25 +0000 (13:20 -0600)]
Attempt fetches on init, before running jobs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 8 Aug 2014 19:18:44 +0000 (13:18 -0600)]
Also rmtree on RuntimeError
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 8 Aug 2014 19:11:52 +0000 (13:11 -0600)]
Disable pyc removal for now
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 8 Aug 2014 17:43:46 +0000 (11:43 -0600)]
Bump all log levels to info
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 7 Aug 2014 18:11:13 +0000 (12:11 -0600)]
Default to using the master branch of teuthology
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 6 Aug 2014 22:50:13 +0000 (16:50 -0600)]
For non-scheduled jobs, check out the suite repo.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 6 Aug 2014 22:23:19 +0000 (16:23 -0600)]
After resetting a repo, remove all pyc files
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 6 Aug 2014 21:52:41 +0000 (15:52 -0600)]
Make teuthology-{suite,worker} share repo code
Repo-fetching code, that is.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 6 Aug 2014 21:38:59 +0000 (15:38 -0600)]
Reimplement the file locker as a context manager
Also give it a 'noop' flag to enable its callers to optionally not use
locking.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 6 Aug 2014 21:11:01 +0000 (15:11 -0600)]
Move exception into a new exceptions module
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 6 Aug 2014 21:09:03 +0000 (15:09 -0600)]
Move functions into repo_utils
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 7 Aug 2014 17:13:23 +0000 (11:13 -0600)]
Fix NameError
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 25 Jul 2014 22:07:59 +0000 (16:07 -0600)]
Correctly find both internal and external tasks
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 6 Aug 2014 16:06:34 +0000 (10:06 -0600)]
Remove most ceph-specific tasks. They are in ceph-qa-suite now.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 6 Aug 2014 15:42:49 +0000 (09:42 -0600)]
Merge pull request #306 from ceph/wip-9024
ignore errors if 'ps aux' fails
Alfredo Deza [Wed, 6 Aug 2014 13:25:33 +0000 (09:25 -0400)]
ignore errors if 'ps aux' fails
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Zack Cerza [Mon, 4 Aug 2014 20:38:29 +0000 (14:38 -0600)]
Merge pull request #305 from ceph/wip-8640
implement `--version` and improve `setup.py`
Alfredo Deza [Mon, 4 Aug 2014 19:12:06 +0000 (15:12 -0400)]
create a --version flag for teuthology
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Mon, 4 Aug 2014 19:11:47 +0000 (15:11 -0400)]
pull the version and description in setup.py
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Mon, 4 Aug 2014 19:11:26 +0000 (15:11 -0400)]
add an initial version to teuthology
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Zack Cerza [Mon, 4 Aug 2014 17:50:22 +0000 (11:50 -0600)]
Tweak usage statement
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 4 Aug 2014 16:10:02 +0000 (10:10 -0600)]
Merge pull request #304 from ceph/wip-fix-build-matrix
suite: fix build_matrix when non-yaml present in % dir
Sage Weil [Mon, 4 Aug 2014 16:07:08 +0000 (09:07 -0700)]
suite: fix build_matrix when non-yaml present in % dir
First, if we get a non-yaml file, return an empty list.
Second, if we are in a % mode, exclude an empty raw result from the
combination. Otherwise, we get no resulting jobs.
Signed-off-by: Sage Weil <sage@redhat.com>
David Zafman [Sat, 2 Aug 2014 01:28:05 +0000 (18:28 -0700)]
Merge pull request #303 from ceph/wip-8930
Tasks are failing since using "data" pool no longer part of default install
Reviewed-by: Sage Weil <sage@redhat.com>
David Zafman [Fri, 1 Aug 2014 16:36:10 +0000 (09:36 -0700)]
Tasks are failing since using "data" pool no longer part of default install
Create a pool specifically for each task
Fixes: 8930
Signed-off-by: David Zafman <david.zafman@inktank.com>
Zack Cerza [Fri, 1 Aug 2014 20:24:45 +0000 (14:24 -0600)]
Expand '~' in ssh key paths
... since paramiko doesn't bother to do this
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 1 Aug 2014 19:25:18 +0000 (13:25 -0600)]
Merge pull request #301 from ceph/wip-nuke-vpm
nuke: allow nuking vpm hosts
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>
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>
John Spray [Wed, 30 Jul 2014 22:37:39 +0000 (23:37 +0100)]
Merge pull request #300 from ceph/wip-mpi-vers
task/mpi: Explicit check for version mismatch
Zack Cerza [Wed, 30 Jul 2014 20:31:27 +0000 (14:31 -0600)]
Merge pull request #302 from ceph/wip-8850
tell us if you are really not running any more
Alfredo Deza [Wed, 30 Jul 2014 20:27:40 +0000 (16:27 -0400)]
add another call to use "ps aux"
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 30 Jul 2014 20:17:01 +0000 (16:17 -0400)]
tell us if you are really not running any more
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Wed, 30 Jul 2014 18:12:09 +0000 (11:12 -0700)]
nuke: allow nuking vpm hosts
Skip the console check, though.
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 29 Jul 2014 15:12:31 +0000 (16:12 +0100)]
task/mpi: Explicit check for version mismatch
Instead of proceeding to have mpiexec fail or hang,
do an up-front check that the MPI version is the same
on all of the nodes in the test.
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Tue, 29 Jul 2014 20:43:41 +0000 (14:43 -0600)]
Fix package_version_for_hash() call
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
John Spray [Tue, 29 Jul 2014 12:11:12 +0000 (13:11 +0100)]
task/mds_journal_migration: fix cleanup
Previously this was remounting in the background
which meant that if a workunit was executed immediately
afterwards it could put files in the mount dir before
the FS was mounted, causing the mount to fail.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sat, 26 Jul 2014 20:31:54 +0000 (21:31 +0100)]
task/workunit: add sudo to dir delete
This failure to delete used to be hidden in
a catch-all exception handler that was
removed in
396dc073 .
This was causing failures in kcephfs suite
like:
Command failed on plana96 with status 1: 'rm -rf -- /home/ubuntu/cephtest/mnt.0/client.0'
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Fri, 25 Jul 2014 22:44:34 +0000 (16:44 -0600)]
Merge pull request #296 from ceph/wip-standby-mds
Wip standby mds
Sage Weil [Fri, 25 Jul 2014 18:39:42 +0000 (11:39 -0700)]
task/osd_recovery: use rbd instead of metadata pool
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Jul 2014 18:33:14 +0000 (11:33 -0700)]
task/osd_backfill: use 'rbd' instead of 'data' pool
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Fri, 18 Jul 2014 16:15:20 +0000 (17:15 +0100)]
task/workunit: general tidy
* PEP8-ize whitespace
* specialize a catch-all except:
* don't alias 'misc' to 'teuthology'
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 18 Jul 2014 13:09:16 +0000 (14:09 +0100)]
task/workunit: clean up dir deletion
This was always trying to remove the mountpoint,
and then swallowing the exception and printing
it to the log.
Instead:
* Ensure it's only trying to delete mnt if it created it
* Don't swallow those exceptions: if deleting the dirs
fails then something has gone wrong and it should bubble
up.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 17 Jul 2014 20:35:01 +0000 (21:35 +0100)]
task/cephfs: generalise Filesystem for multi-MDS
This enables tasks like mds_journal_migration to be
run in an environment with standby-replay MDSs present.
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Thu, 24 Jul 2014 16:03:38 +0000 (10:03 -0600)]
Remove oddly-placed, broken import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 24 Jul 2014 01:58:55 +0000 (19:58 -0600)]
Rename CephState to DaemonGroup and move to orchestra
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 24 Jul 2014 01:21:57 +0000 (19:21 -0600)]
Move DaemonState to teuthology.orchestra
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 22 Jul 2014 21:47:53 +0000 (15:47 -0600)]
Fail sooner if an invalid config_yaml is passed
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 22 Jul 2014 19:57:40 +0000 (13:57 -0600)]
Remove kcon_most
It was unused.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 22 Jul 2014 19:49:57 +0000 (13:49 -0600)]
Merge pull request #293 from ceph/wip-ship-utilities
move ship_utilities to install task (from ceph test)
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>
John Spray [Thu, 17 Jul 2014 20:35:22 +0000 (21:35 +0100)]
task/mds_journal_migration: use existing clients
Since refactoring ceph_fuse and kclient tasks
to store Mount objects on ctx, the mds_journal_migration
task can use those instead of explicitly instantiating its own.
Signed-off-by: John Spray <john.spray@redhat.com>
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>
Zack Cerza [Wed, 16 Jul 2014 18:07:55 +0000 (12:07 -0600)]
Fix get_hash() arg ordering
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 15 Jul 2014 22:27:56 +0000 (16:27 -0600)]
Merge pull request #287 from ceph/wip-mds-sessions
Wip mds sessions
Zack Cerza [Tue, 15 Jul 2014 22:22:29 +0000 (16:22 -0600)]
Merge pull request #288 from ceph/wip-upgrade-fix
task/ceph: Make cephfs_setup cuttlefish-compatible
Sage Weil [Tue, 15 Jul 2014 21:57:49 +0000 (14:57 -0700)]
Merge pull request #291 from ceph/wip-rgw-pools
rgw: set data extra pool correctly
Backport: next, firefly
Reviewed-by: Sage Weil <sage@redhat.com>
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>
Zack Cerza [Tue, 15 Jul 2014 17:55:27 +0000 (11:55 -0600)]
Add and use new fetch() method
The old fetch_branch() wasn't behaving properly with the ceph.com git
mirror. This method works with github.com and ceph.com. Add a couple
unit tests, and leave the old fetch_branch() in place for now, even
though nothing uses it.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Tue, 15 Jul 2014 17:31:46 +0000 (10:31 -0700)]
Merge pull request #290 from ceph/wip-deep-scrub
task/ceph.py: deep-scrub instead of scrub
Zack Cerza [Tue, 15 Jul 2014 17:28:07 +0000 (11:28 -0600)]
Fix a bug where results_email was being ignored
Referring to the setting in ~/.teuthology.yaml
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Samuel Just [Tue, 15 Jul 2014 17:28:11 +0000 (10:28 -0700)]
task/ceph.py: deep-scrub instead of scrub
Signed-off-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Tue, 15 Jul 2014 17:08:09 +0000 (10:08 -0700)]
README: teuthology-suite
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Mon, 14 Jul 2014 12:36:21 +0000 (13:36 +0100)]
task/kclient: remove redundant double loop
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 14 Jul 2014 12:02:58 +0000 (13:02 +0100)]
task/cephfs: use dedent for embedded python
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 8 Jul 2014 11:44:40 +0000 (12:44 +0100)]
task: fix admin_socket for non-int ids
This was working for OSDs and for my config
where MDS happened to have numeric ID, but
in general service IDs are strings, not ints.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 2 Jul 2014 18:25:14 +0000 (19:25 +0100)]
task: add mds_client_recovery
This task exercises the CephFS session recovery
behavior.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 2 Jul 2014 16:17:19 +0000 (17:17 +0100)]
task/mds_journal_migration: only mount my client
Pass explicit client ID list to ceph_fuse context so
that it doesn't try to mount all clients in the config,
in case there are other clients.
Also allow configuration to specify which client
this task should use.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 2 Jul 2014 15:43:16 +0000 (16:43 +0100)]
task: refactor kclient into KernelMount
Additionally make both kclient and ceph_fuse
tasks yield a collection of CephFSMount
objects so that subsequent tasks can
retrieve them.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 2 Jul 2014 14:38:47 +0000 (15:38 +0100)]
task: create FuseMount class from ceph_fuse
This is for use by other tasks that need filesystem
mounts under their own control.
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Mon, 14 Jul 2014 21:16:55 +0000 (15:16 -0600)]
Fix the incomplete substitute_placeholders() fix
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 14 Jul 2014 20:48:31 +0000 (14:48 -0600)]
Add a debug statement to reset_repo()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 14 Jul 2014 20:30:31 +0000 (14:30 -0600)]
Be smarter about choosing branches
Part of this is also about failing sooner, and not allowing invalid
configurations to enter the queue. This commit also fixes an obscure bug
in substitute_placeholders(). Finally, it adds unit tests for all bugs
fixed.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
John Spray [Wed, 2 Jul 2014 11:54:05 +0000 (12:54 +0100)]
task: move Filesystem class to shared location
...in preparation for tests other than mds_journal_migration
to use it.
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Mon, 14 Jul 2014 15:35:20 +0000 (09:35 -0600)]
Fall back to master for suite_branch
The reason for this is that last-in-suite jobs don't have suite_branch
or branch set. We just want to use master for those.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 20:55:09 +0000 (14:55 -0600)]
Add a flag to dump the entire job body.
... with a warning.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 20:40:45 +0000 (14:40 -0600)]
Add missing placeholder
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>