]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
Zack Cerza [Fri, 11 Jul 2014 20:18:03 +0000 (14:18 -0600)]
Add a --dry-run flag to teuthology-schedule
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 19:34:44 +0000 (13:34 -0600)]
Don't drop the rest of os.environ
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 19:20:29 +0000 (13:20 -0600)]
Use os.path.expanduser() instead of os.environ
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 19:15:47 +0000 (13:15 -0600)]
Fix typo
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 19:14:23 +0000 (13:14 -0600)]
Fix lock paths
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 19:06:21 +0000 (13:06 -0600)]
Use the ceph_branch if suite_branch isn't found
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Fri, 11 Jul 2014 17:59:15 +0000 (13:59 -0400)]
Merge pull request #289 from ceph/split_prep
Split prep
Zack Cerza [Fri, 11 Jul 2014 16:41:16 +0000 (10:41 -0600)]
Discourage modifying defaults in instances
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 16:33:43 +0000 (10:33 -0600)]
Don't use double underscores
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 11 Jul 2014 15:55:34 +0000 (09:55 -0600)]
Run tests for base class in subclass tests
Also remove test_defaults() since it was a bad idea.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 07:29:45 +0000 (01:29 -0600)]
Tweak fetch_teuthology_branch()
Specifically, make it match fetch_qa_suite()'s behavior.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 07:20:12 +0000 (01:20 -0600)]
Clone ceph-qa-suite and add it to PYTHONPATH
So that teuthology runs can find their tasks
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 07:19:48 +0000 (01:19 -0600)]
Use config.src_base_path
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 07:12:33 +0000 (01:12 -0600)]
Add src_base_path to defaults.
Defaults to ~/src
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 01:05:51 +0000 (19:05 -0600)]
Store the suite_branch in the job config
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 01:02:47 +0000 (19:02 -0600)]
Use the new JobConfig object
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 9 Jul 2014 20:28:24 +0000 (14:28 -0600)]
Make teuthology.config *far* more robust
In addition to parsing its configuration from a yaml file, it can now be
created from a dict. It can also be dumped as a dict, or as a yaml
stream. It is also now split into multiple classes so that the same
implementation can be used for job configs, and not just as a proxy for
~/.teuthology.yaml.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 9 Jul 2014 17:46:33 +0000 (11:46 -0600)]
Update existing unit test, and add another.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 9 Jul 2014 17:46:01 +0000 (11:46 -0600)]
Use a dict for a job template instead of a string.
This makes later modifications far easier.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 9 Jul 2014 17:36:57 +0000 (11:36 -0600)]
Add test for config substitution
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 22:35:18 +0000 (16:35 -0600)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 22:17:25 +0000 (16:17 -0600)]
Fix install_except_hook()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 18:32:02 +0000 (12:32 -0600)]
Don't execute network-using tests by default
Set TEST_ONLINE to use them.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 10 Jul 2014 18:06:55 +0000 (12:06 -0600)]
Don't use master as the default teuthology branch
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
John Spray [Thu, 10 Jul 2014 15:28:29 +0000 (16:28 +0100)]
task/ceph: Make cephfs_setup cuttlefish-compatible
Signed-off-by: John Spray <john.spray@redhat.com>
Fixes: #8711
Sage Weil [Mon, 7 Jul 2014 22:08:41 +0000 (15:08 -0700)]
watch-suite.sh: new syntax
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Mon, 7 Jul 2014 21:35:45 +0000 (15:35 -0600)]
Merge pull request #276 from dachary/wip-typo
documentation typo
Zack Cerza [Mon, 7 Jul 2014 21:35:21 +0000 (15:35 -0600)]
Merge pull request #282 from ceph/wip-jcsp-misc
Wip jcsp misc
Sage Weil [Mon, 7 Jul 2014 20:24:53 +0000 (13:24 -0700)]
Merge pull request #285 from ceph/wip-8750-jcsp
task/ceph: move set_max_mds into cephfs_setup
Reviewed-by: Sage Weil <sage@redhat.com>
Zack Cerza [Mon, 7 Jul 2014 20:12:38 +0000 (14:12 -0600)]
Make the archive dir a positional argument
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 7 Jul 2014 20:02:46 +0000 (14:02 -0600)]
Merge pull request #279 from ceph/wip-ls
ls: make --archive-dir default to .
Josh Durgin [Mon, 7 Jul 2014 19:06:51 +0000 (12:06 -0700)]
Merge pull request #286 from ceph/wip-results-timeout
suite: change default results_timeout to 9h (from 6h)
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Mon, 7 Jul 2014 18:20:39 +0000 (11:20 -0700)]
suite: default to 9h results_timeout
6h isn't enough for xfstests.
Signed-off-by: Sage Weil <sage@inktank.com>
John Spray [Mon, 7 Jul 2014 12:15:41 +0000 (13:15 +0100)]
task/ceph: move set_max_mds into cephfs_setup
Move the calculation of active MDS count out
of the generic service setup and into the
filesystem setup.
Fixes: #8750
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Sun, 6 Jul 2014 18:13:58 +0000 (11:13 -0700)]
ceph.conf: drop min pg per osd warning
With only the rbd pool getting created this needs to be dropped
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sun, 6 Jul 2014 18:02:31 +0000 (11:02 -0700)]
Merge pull request #281 from dachary/wip-lost-unfound
fix create_pool_with_unique_name call to use profile name
Reviewed-by: Sage Weil <sage@redhat.com>
Zack Cerza [Thu, 3 Jul 2014 16:18:01 +0000 (10:18 -0600)]
Don't mess with ~/src/teuthology by default
Setting 'automated_scheduling: True' in ~/.teuthology.yaml enables it.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Jul 2014 16:12:41 +0000 (10:12 -0600)]
Relocate teuthology checkouts to ~/src/
Also use an underscore instead of a dash between 'teuthology' and the
branch name.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
John Spray [Thu, 3 Jul 2014 11:08:58 +0000 (12:08 +0100)]
task/ceph: add option to avoid doing scrub
When iterating on test in development, it's useful
to be able to skip this step.
Signed-off-by: John Spray <john.spray@redhat.com>