]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agoMerge pull request #93 from ceph/wip-9126-firefly
Sage Weil [Fri, 15 Aug 2014 13:42:51 +0000 (06:42 -0700)]
Merge pull request #93 from ceph/wip-9126-firefly

rgw: s/idle_timeout/default_idle_timeout/

11 years agorgw: s/idle_timeout/default_idle_timeout/
Loic Dachary [Fri, 15 Aug 2014 10:34:37 +0000 (12:34 +0200)]
rgw: s/idle_timeout/default_idle_timeout/

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from da00662191e9ec173be50b551253f4460f369f9da)

11 years agorgw: add default_idle_timeout to allow override
Loic Dachary [Thu, 14 Aug 2014 12:53:24 +0000 (14:53 +0200)]
rgw: add default_idle_timeout to allow override

Globally overriding the rgw idle_timeout is not possible because it it
needs to be done on a per client.0, client.1, etc. basis. Add the
default_idle_timeout key to the rgw config : it defaults to the
previously hardcoded default (30) and can be changed via the override.

The existing tasks that were previously overriding the idle_timeout on a
per client basis are changed to use the default_idle_timeout instead for
consistency and to allow a global override.

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 54a7298cdd8d40aaf79615a1f580b66f83e48419)

Conflicts:
machine_types/vps.yaml
suites/smoke/verify/tasks/rgw_s3tests.yaml

11 years agoceph_manager: longer osd restart timeout
Sage Weil [Tue, 12 Aug 2014 00:55:48 +0000 (17:55 -0700)]
ceph_manager: longer osd restart timeout

We bumped this on master and dumpling already

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoUse Remote.user
Zack Cerza [Tue, 29 Jul 2014 23:09:34 +0000 (17:09 -0600)]
Use Remote.user

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse teuthology's DaemonGroup
Zack Cerza [Tue, 29 Jul 2014 15:05:15 +0000 (09:05 -0600)]
Use teuthology's DaemonGroup

It has timeout support.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse newer orchestra API
Zack Cerza [Thu, 7 Aug 2014 14:24:54 +0000 (08:24 -0600)]
Use newer orchestra API

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUpdate module references
Zack Cerza [Thu, 7 Aug 2014 14:24:54 +0000 (08:24 -0600)]
Update module references

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge branch 'teuth_firefly' into tasks_firefly
Zack Cerza [Thu, 7 Aug 2014 14:24:53 +0000 (08:24 -0600)]
Merge branch 'teuth_firefly' into tasks_firefly

11 years agoImport teuthology tasks (firefly branch)
Zack Cerza [Thu, 7 Aug 2014 14:24:52 +0000 (08:24 -0600)]
Import teuthology tasks (firefly branch)

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove write_secret_file() into task_util/kclient.py
Zack Cerza [Wed, 6 Aug 2014 14:59:36 +0000 (08:59 -0600)]
Move write_secret_file() into task_util/kclient.py

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd wait_until_fuse_mounted()
Zack Cerza [Tue, 29 Jul 2014 21:01:57 +0000 (15:01 -0600)]
Add wait_until_fuse_mounted()

This was removed in a refactor in master, but it would take lots of work
to backport the entire refactor.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoignore 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>
(cherry picked from commit f9aa9c1e647dc3376a33d0f7147501bffcddf838)

11 years agoadd another call to use "ps aux"
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>
(cherry picked from commit 4686115c4830939ea6c9d7a27fd89d7cec9d4d5d)

11 years agotell us if you are really not running any more
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>
(cherry picked from commit ec342d814676d08eb833f478ac7ffdb21cc99c06)

11 years agoMerge pull request #74 from ceph/wip_fix_fuse_upgrade-firefly
Yuri Weinstein [Sat, 2 Aug 2014 02:18:12 +0000 (19:18 -0700)]
Merge pull request #74 from ceph/wip_fix_fuse_upgrade-firefly

Yet anothe indentation fix

11 years agoYet anothe indentation fix
Yuri Weinstein [Sat, 2 Aug 2014 02:15:57 +0000 (19:15 -0700)]
Yet anothe indentation fix

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoMerge pull request #73 from ceph/wip_fix_fuse_upgrade-firefly
Josh Durgin [Fri, 1 Aug 2014 23:48:33 +0000 (16:48 -0700)]
Merge pull request #73 from ceph/wip_fix_fuse_upgrade-firefly

Fixed typos

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
11 years agoFixed typos
Yuri Weinstein [Fri, 1 Aug 2014 23:46:25 +0000 (16:46 -0700)]
Fixed typos

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoMerge pull request #72 from ceph/wip_fix_fuse_upgrade-firefly
Sage Weil [Fri, 1 Aug 2014 16:04:44 +0000 (09:04 -0700)]
Merge pull request #72 from ceph/wip_fix_fuse_upgrade-firefly

Fixed to run blogbench.sh on client:0

11 years agoFixed to run blogbench.sh on client:0
Yuri Weinstein [Fri, 1 Aug 2014 15:17:20 +0000 (08:17 -0700)]
Fixed to run blogbench.sh on client:0

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agovalgrind: ignore ec plugin factory leaks
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)

11 years agouse notcmalloc builder for valgrind leak checking
Sage Weil [Tue, 8 Jul 2014 23:39:19 +0000 (16:39 -0700)]
use notcmalloc builder for valgrind leak checking

This reverts 453d72b294af6d3db1ae7a212ba9b43209d69f26.  It turns out that
tcmalloc defeats the leak checking in valgrind.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 279f39d4c18004ed7b005b430d3862b8b2ec2f73)

11 years agoMerge pull request #71 from ceph/wip_fix_fuse_upgrade-firefly
Sage Weil [Fri, 1 Aug 2014 03:59:12 +0000 (20:59 -0700)]
Merge pull request #71 from ceph/wip_fix_fuse_upgrade-firefly

Fixed miss-config for ceph-fuse

11 years agoFixed ceph-fuse: [client.0] syntax
Yuri Weinstein [Fri, 1 Aug 2014 03:57:19 +0000 (20:57 -0700)]
Fixed ceph-fuse: [client.0] syntax

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoFixed miss-config for ceph-fuse
Yuri Weinstein [Fri, 1 Aug 2014 01:34:07 +0000 (18:34 -0700)]
Fixed miss-config for ceph-fuse

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoceph_manager: increase osd revival timeout from 75 -> 150 seconds
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)

11 years agoMerge pull request #70 from ceph/wip_add_v0.80.5
Sage Weil [Tue, 29 Jul 2014 22:26:33 +0000 (15:26 -0700)]
Merge pull request #70 from ceph/wip_add_v0.80.5

Added new ceph version

11 years agoMerge pull request #69 from ceph/wip_add_new_client1
Sage Weil [Tue, 29 Jul 2014 22:25:49 +0000 (15:25 -0700)]
Merge pull request #69 from ceph/wip_add_new_client1

Added client.1 in order to separate rgw tests to avoid failures on creat...

Reviewed-by: Sage Weil <sage@redhat.com>
11 years agoAdded new ceph version
Yuri Weinstein [Tue, 29 Jul 2014 22:25:02 +0000 (15:25 -0700)]
Added new ceph version

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoAdded client.1 in order to separate rgw tests to avoid failures on creating a directo...
Yuri Weinstein [Tue, 29 Jul 2014 22:18:53 +0000 (15:18 -0700)]
Added client.1 in order to separate rgw tests to avoid failures on creating a directory on top of exiting directory

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoceph_deploy: use new ship_utilities location
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)

11 years agomove ship_utilities to install task (from ceph test)
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)

11 years agorados/singleton-nomsgr/all/alloc-hint: fix config syntax
Sage Weil [Mon, 21 Jul 2014 15:36:20 +0000 (08:36 -0700)]
rados/singleton-nomsgr/all/alloc-hint: fix config syntax

Put in [osd] section.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 2b4f7402007e6a81dce10f3b3b25f8c410070195)

11 years agoMerge branch 'firefly' of https://github.com/ceph/ceph-qa-suite into firefly
Yuri Weinstein [Fri, 25 Jul 2014 17:40:46 +0000 (10:40 -0700)]
Merge branch 'firefly' of https://github.com/ceph/ceph-qa-suite into firefly

11 years agoAdded distros
Yuri Weinstein [Fri, 25 Jul 2014 17:39:50 +0000 (10:39 -0700)]
Added distros

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agorados/verify: increase api tests timeout
Sage Weil [Fri, 25 Jul 2014 01:56:03 +0000 (18:56 -0700)]
rados/verify: increase api tests timeout

This has been timing out for weeks to months (hard to say since before that
we were consistently hitting an OSD crash on shutdown).  The runs I've looked
at are making progress and seem fine ... just slow because of valgrind and
because of thrashing.

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 175057f3bceb50623f6bfeded3fe0b9257edea7d)

11 years agoMerge pull request #65 from ceph/wip_fix_missed_ceph_task
Sage Weil [Wed, 23 Jul 2014 22:21:45 +0000 (15:21 -0700)]
Merge pull request #65 from ceph/wip_fix_missed_ceph_task

Fixed missing ceph task

11 years agoFixed missing ceph task
Yuri Weinstein [Wed, 23 Jul 2014 22:15:07 +0000 (15:15 -0700)]
Fixed missing ceph task

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agorados/singleton-nomsgr/all/alloc-hint: enable xfs extsize for test
Sage Weil [Fri, 18 Jul 2014 20:18:40 +0000 (13:18 -0700)]
rados/singleton-nomsgr/all/alloc-hint: enable xfs extsize for test

This is off by default; enable it for this test.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 02a6c917eca6237118163ecd49ed7ca56bda275b)

11 years agoMerge pull request #63 from ceph/wip-rgw-firefly
Yuri Weinstein [Mon, 21 Jul 2014 17:28:56 +0000 (10:28 -0700)]
Merge pull request #63 from ceph/wip-rgw-firefly

only test rgw on new firefly releases to avoid old bug

11 years agoupgrade/firefly: only test rgw on newer firefly releases
Sage Weil [Mon, 21 Jul 2014 17:14:32 +0000 (10:14 -0700)]
upgrade/firefly: only test rgw on newer firefly releases

This avoids #8311 by not testing rgw when the blank pool bug was present.

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agorgw: set data extra pool correctly
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)

11 years agoMerge pull request #58 from ceph/wip_add_v0.80.3
Sage Weil [Mon, 14 Jul 2014 21:37:36 +0000 (14:37 -0700)]
Merge pull request #58 from ceph/wip_add_v0.80.3

Added v0.80.3 to the mix

11 years agoRemoved whitelist lines since it's not needed for version v0.80.3
Yuri Weinstein [Mon, 14 Jul 2014 21:35:43 +0000 (14:35 -0700)]
Removed whitelist lines since it's not needed for version v0.80.3

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoAdded v0.80.3 to the mix
Yuri Weinstein [Mon, 14 Jul 2014 21:27:20 +0000 (14:27 -0700)]
Added v0.80.3 to the mix

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoMerge branch 'wip_stable_upgrade2' into firefly
Sage Weil [Fri, 11 Jul 2014 21:01:13 +0000 (14:01 -0700)]
Merge branch 'wip_stable_upgrade2' into firefly

11 years agoupgrade/firefly: don't use overrides
Sage Weil [Fri, 11 Jul 2014 17:41:12 +0000 (10:41 -0700)]
upgrade/firefly: don't use overrides

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoupgrade/firefly: ignore mon scrub errors from early firefly versions
Sage Weil [Fri, 11 Jul 2014 16:47:47 +0000 (09:47 -0700)]
upgrade/firefly: ignore mon scrub errors from early firefly versions

See #8815

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoupgrade/firefly: do intermediate s3tests on original test set
Sage Weil [Fri, 11 Jul 2014 16:10:35 +0000 (09:10 -0700)]
upgrade/firefly: do intermediate s3tests on original test set

The later s3-tests fail on early firefly point releases.

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoupgrade/firefly: upgrade to firefly, not dumpling
Sage Weil [Fri, 11 Jul 2014 00:25:14 +0000 (17:25 -0700)]
upgrade/firefly: upgrade to firefly, not dumpling

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoupgrade/firefly: ignore crush tunables on upgrade
Sage Weil [Fri, 11 Jul 2014 00:24:41 +0000 (17:24 -0700)]
upgrade/firefly: ignore crush tunables on upgrade

..then adjust them

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoupgrade/firefly: fix final steps
Sage Weil [Thu, 10 Jul 2014 21:48:05 +0000 (14:48 -0700)]
upgrade/firefly: fix final steps

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoupgrade/firefly: upgrade mds after osd
Sage Weil [Thu, 10 Jul 2014 20:11:19 +0000 (13:11 -0700)]
upgrade/firefly: upgrade mds after osd

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agosuites/upgrade/firefly: test rgw at the end
Sage Weil [Thu, 10 Jul 2014 19:25:12 +0000 (12:25 -0700)]
suites/upgrade/firefly: test rgw at the end

...and do all final tests for all runs

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoupgrade/firefly: consolidate into a single collection
Sage Weil [Thu, 10 Jul 2014 19:22:17 +0000 (12:22 -0700)]
upgrade/firefly: consolidate into a single collection

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoAdded upgrade tests - stable
Yuri Weinstein [Thu, 10 Jul 2014 18:32:45 +0000 (11:32 -0700)]
Added upgrade tests - stable

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
11 years agoAdded requested comment.
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>
11 years agoRemove unused variables and functions.
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>
11 years agoSupport installing ceph kernels from gitbuilder on rpm machines.
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>
11 years agotasks: Use '_' instead of '-' in names
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)

11 years agoMerge pull request #258 from ceph/wip-fix-format-samba
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

11 years agoMerge pull request #251 from ceph/wip-8295
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

11 years agorgw: 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>
11 years agoMerge pull request #250 from ceph/wip-fix-thrasher
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>
11 years agoceph_manager: reset osd weights to 1 when waiting for clean
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>
11 years agoRestrict paramiko to old versions for now
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>
11 years agoRevert "Handle raw data I/O."
Zack Cerza [Mon, 5 May 2014 15:03:29 +0000 (10:03 -0500)]
Revert "Handle raw data I/O."

This reverts commit 257e1459fa064701d789f0ad54384bb80b45e6d9.

11 years agoRevert "Clean up remote.py and misc.py changes."
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.

11 years agoceph_manager: fix float stringification
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>
11 years agoceph_manager: fix typo
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>
11 years agoMerge pull request #248 from ceph/wip-thrash-osd-weights
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>
11 years agoceph_manager: randomly reweight in osds
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>
11 years agoBump paramiko to 1.12.0
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>
11 years agorgw: option to create a cache pool
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>
11 years agoMerge pull request #247 from ceph/requests-sessions
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

11 years agoAdd branch name to job config
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>
11 years agoAdd suite name to job config
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>
11 years agoAdd /build and /*.yaml to gitignore
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>
11 years agoCalculate a timeout to use based on queue size
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>
11 years agoAdd --runs, to print only run names
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>
11 years agoRefactor teuthology.beanstalk
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>
11 years agoDrop usage of safe_while
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>
11 years agoUse the new ResultsReporter.session object
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>
11 years agoAdd a requests.Session object to ResultsReporter
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>
11 years agoRemove unused timeout arg to ResultsReporter init
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>
11 years agoMerge pull request #243 from ceph/wip-8116-wusui
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

11 years agoClean up remote.py and misc.py changes.
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.

11 years agoHandle raw data I/O.
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>
11 years agoWhen deleting all of a run's jobs, delete the run
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>
11 years agoChanges so these are not installed and still removed
Gregory Meno [Tue, 29 Apr 2014 17:44:27 +0000 (10:44 -0700)]
Changes so these are not installed and still removed

11 years agoChanges invocation of serialize_remote_roles to internal task to avoid being run...
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

11 years agoMoves node: remote mapping to the internal task.
Gregory Meno [Thu, 24 Apr 2014 20:18:59 +0000 (13:18 -0700)]
Moves node: remote mapping to the internal task.

11 years agoThese will likely go somewhere better before merge
Gregory Meno [Mon, 14 Apr 2014 11:21:57 +0000 (04:21 -0700)]
These will likely go somewhere better before merge

11 years agoFixes #8050 Adds a cluster.yaml that is written by interactive task
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

11 years agovalgrind: fix tcmalloc suppression for trusty
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>
11 years agoRevert "valgrind.supp: be less picky about library versions"
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.

11 years agoMerge pull request #244 from ceph/wip-7199-wusui
wusui [Mon, 28 Apr 2014 18:02:07 +0000 (11:02 -0700)]
Merge pull request #244 from ceph/wip-7199-wusui

Wip 7199 wusui

11 years agoAllow scrubbing while thrashing
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>
11 years agoOnly attempt to use sudo if necessary
Zack Cerza [Mon, 28 Apr 2014 16:12:29 +0000 (11:12 -0500)]
Only attempt to use sudo if necessary