]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
11 years agotasks: Use '_' instead of '-' in names emperor
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 agoFix for #8115
Sandon Van Ness [Tue, 22 Apr 2014 19:35:11 +0000 (12:35 -0700)]
Fix for #8115

Increase boot disk size per #8115 where monitors shut down due to
/ being full on vm machines.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoMake distro kernels work on Trusty.
Sandon Van Ness [Thu, 13 Mar 2014 23:02:04 +0000 (16:02 -0700)]
Make distro kernels work on Trusty.

Some grub changes and package names caused them to fail on trusty.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoHandle newer btrfstools.
Sandon Van Ness [Wed, 12 Mar 2014 01:15:12 +0000 (18:15 -0700)]
Handle newer btrfstools.

Newer btfs userland tools needs a -f like xfs instead of a prompt
for yes. Trusty needs this change.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoMake help a bit more obvious. Misc tweeks.
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>
12 years agoAdd teuthology-queue command for beanstalk Managmeent.
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>
12 years agofilestore_idempotent: pull emperor version of scripts
Sage Weil [Fri, 28 Feb 2014 14:36:07 +0000 (06:36 -0800)]
filestore_idempotent: pull emperor version of scripts

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agovalgrind: sync up suppressions with latest master
Sage Weil [Wed, 5 Feb 2014 23:19:18 +0000 (15:19 -0800)]
valgrind: sync up suppressions with latest master

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agothrashosds: change min_in from 2 -> 3
Sage Weil [Fri, 10 Jan 2014 19:00:55 +0000 (11:00 -0800)]
thrashosds: change min_in from 2 -> 3

See #7171. In rare cases CRUSH can't handle it when only 2/6 of
the OSDs are marked in.  Avoid those situations for now.

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

12 years agoWhen starting a job, tell paddles it's running
Zack Cerza [Thu, 12 Dec 2013 17:47:45 +0000 (11:47 -0600)]
When starting a job, tell paddles it's running

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
(cherry picked from commit 625f479b680177e437b657f5012b7f257634e528)

12 years agoWork around a change in pip 1.5 regarding wheels
Zack Cerza [Fri, 3 Jan 2014 18:41:11 +0000 (12:41 -0600)]
Work around a change in pip 1.5 regarding wheels

The error message was "pip's wheel support requires setuptools >= 0.8
for dist-info support."

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
(cherry picked from commit eaa3e1240e3b7ba120f769d00f2ed28eda4a7ed1)

12 years agoBe safer when calling ./bootstrap
Zack Cerza [Fri, 3 Jan 2014 17:55:13 +0000 (11:55 -0600)]
Be safer when calling ./bootstrap

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
(cherry picked from commit d3afebe19c8a40fe694c7f9c31e9e88f3dcd8ab5)

12 years agoUse CentOS Gitbuilder sha1 instead of Fedora for non-ubuntu.
Sandon Van Ness [Fri, 3 Jan 2014 02:30:08 +0000 (18:30 -0800)]
Use CentOS Gitbuilder sha1 instead of Fedora for non-ubuntu.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agovalgrind.supp: ignore libnss3 leaks
Sage Weil [Sun, 22 Dec 2013 06:21:49 +0000 (22:21 -0800)]
valgrind.supp: ignore libnss3 leaks

These just started popping up when I updated the notcmalloc gitbuilder, probably
because of an updated libnss version.   Whitelist it!

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

12 years agorbd: bump the default scratch size for xfstests to 10G
Ilya Dryomov [Mon, 23 Dec 2013 17:54:11 +0000 (19:54 +0200)]
rbd: bump the default scratch size for xfstests to 10G

autobuild-ceph.git commit 53db7a34aba5 had silently changed the default
elevator from cfq to deadline, which made xfstests 167 very unhappy.
It looks like with deadline and noop elevators it requires a ~6G
scratch partition.  Bump the default scratch image size to 10G.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
(cherry picked from commit d781348fd5d319897787d4d43c3af6105b6aa988)

12 years agoUse saucy gitbuilder for arm package checking.
Sandon Van Ness [Wed, 18 Dec 2013 20:38:50 +0000 (12:38 -0800)]
Use saucy gitbuilder for arm package checking.

Some-how missed it checks both sha1 and package version file
and package version was still the quantal gitbuilder which wont
work as the hardware is down.

This was causing scheduling failures.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoMerge pull request #163 from ceph/wip-6993
Zack Cerza [Fri, 13 Dec 2013 19:54:57 +0000 (11:54 -0800)]
Merge pull request #163 from ceph/wip-6993

break out of the while loop after 15 minutes

12 years agobreak out of the while loop after 15 minutes 163/head
Alfredo Deza [Fri, 13 Dec 2013 19:46:29 +0000 (14:46 -0500)]
break out of the while loop after 15 minutes

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
12 years agoUse saucy gitbuilder when grabbing sha1 for arm.
Sandon Van Ness [Fri, 13 Dec 2013 00:04:38 +0000 (16:04 -0800)]
Use saucy gitbuilder when grabbing sha1 for arm.

Old quantal gitbuilders are gone until hardware comes back. Use
the new saucy gitbuilders instead.

12 years agoLonger timeout after sync/reboot.
Sandon Van Ness [Thu, 12 Dec 2013 02:07:43 +0000 (18:07 -0800)]
Longer timeout after sync/reboot.

With only a 5 second sleep via ssh and python it looks like a
race-condition was sometimes hitting where it would think
the machine is back up before the reboot command had completed.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoDon't show child's stderr, but show archive path
Zack Cerza [Tue, 10 Dec 2013 19:19:56 +0000 (13:19 -0600)]
Don't show child's stderr, but show archive path

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoAdd debug statements
Zack Cerza [Tue, 10 Dec 2013 16:06:16 +0000 (10:06 -0600)]
Add debug statements

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoMerge pull request #159 from ceph/wip-cache
Zack Cerza [Tue, 10 Dec 2013 16:02:51 +0000 (08:02 -0800)]
Merge pull request #159 from ceph/wip-cache

rados: allow existing pool(s) to be used

12 years agorados: allow existing pool(s) to be used 159/head
Sage Weil [Tue, 10 Dec 2013 00:02:13 +0000 (16:02 -0800)]
rados: allow existing pool(s) to be used

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph.conf: put 2x command in [global]
Sage Weil [Mon, 9 Dec 2013 23:37:58 +0000 (15:37 -0800)]
ceph.conf: put 2x command in [global]

so that osdmaptool sees it.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoCreate a DateTime object from the timestamp
Zack Cerza [Mon, 9 Dec 2013 22:57:11 +0000 (16:57 -0600)]
Create a DateTime object from the timestamp

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoMake -a optional
Zack Cerza [Mon, 9 Dec 2013 22:40:27 +0000 (16:40 -0600)]
Make -a optional

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoAdd missing req: psutil
Zack Cerza [Mon, 9 Dec 2013 22:32:45 +0000 (16:32 -0600)]
Add missing req: psutil

12 years agoMerge pull request #151 from ceph/wip-distro-kernel
Zack Cerza [Mon, 9 Dec 2013 21:16:33 +0000 (13:16 -0800)]
Merge pull request #151 from ceph/wip-distro-kernel

Wip distro kernel

12 years agoAuto-restart
Zack Cerza [Mon, 9 Dec 2013 20:56:49 +0000 (14:56 -0600)]
Auto-restart

If /tmp/teuthology-restart-workers is newer than the running process,
restart.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoMerge pull request #158 from ceph/wip-nuke
Zack Cerza [Mon, 9 Dec 2013 21:01:03 +0000 (13:01 -0800)]
Merge pull request #158 from ceph/wip-nuke

make nuke behave

12 years agonuke: ignore exceptions while issuing reboot command 158/head
Sage Weil [Mon, 9 Dec 2013 19:42:12 +0000 (11:42 -0800)]
nuke: ignore exceptions while issuing reboot command

I'm seeing failed tasks (and nuke) leak machines.  It looks like we are
getting an exception on the '... reboot -f -n' command when we should be
ignoring it and waiting for the machine to restart.

For example:
   http://qa-proxy.ceph.com/teuthology/sage-2013-12-08_19:25:06-rados:thrash-wip-tier-foo-basic-plana/136321/teuthology.log

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoRemove unused variable. 151/head
Sandon Van Ness [Mon, 9 Dec 2013 19:42:06 +0000 (11:42 -0800)]
Remove unused variable.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoAdded additional comments.
Sandon Van Ness [Mon, 9 Dec 2013 19:35:23 +0000 (11:35 -0800)]
Added additional comments.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoceph.conf: default to 2x
Sage Weil [Sat, 7 Dec 2013 21:20:58 +0000 (13:20 -0800)]
ceph.conf: default to 2x

A bunch of our tests rely on this; they need to be fixed
before we can run at 3x.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agonuke: fix sync before reboot timeout
Sage Weil [Sat, 7 Dec 2013 01:42:23 +0000 (17:42 -0800)]
nuke: fix sync before reboot timeout

If you do 'timeout 5 sync' and sync hangs, timeout will block trying to
kill it.

Instead, just background sync, wait a few seconds, and reboot.  This means
we wait a few seconds even if sync returns immediately, but who cares!

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge pull request #157 from ceph/wip-watchdog
Alfredo Deza [Fri, 6 Dec 2013 14:18:14 +0000 (06:18 -0800)]
Merge pull request #157 from ceph/wip-watchdog

Implement a watchdog for queued jobs

12 years agoImplement a watchdog for queued jobs 157/head
Zack Cerza [Thu, 5 Dec 2013 23:37:25 +0000 (17:37 -0600)]
Implement a watchdog for queued jobs

This continually posts the run's status to the results server, if
configured, at an interval defaulting to 600 seconds.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoA create_if_vm call was made more than once when a lock-many style lock
Warren Usui [Thu, 5 Dec 2013 01:49:21 +0000 (17:49 -0800)]
A create_if_vm call was made more than once when a lock-many style lock
was performed.  This caused downburst to run twice, and the second
downburst fails as a result of the first downburst running.

Fixes: 6933
12 years agoMerge branch 'teuthology-fix-downburst-yaml-wusui'
Warren Usui [Thu, 5 Dec 2013 01:36:14 +0000 (17:36 -0800)]
Merge branch 'teuthology-fix-downburst-yaml-wusui'

12 years agoImplement --downburst-conf parameter for teuthology-lock.
Warren Usui [Mon, 2 Dec 2013 22:37:12 +0000 (14:37 -0800)]
Implement --downburst-conf parameter for teuthology-lock.
Load the appropriate yaml information when found (this formerly
did not work).  Make sure teuthology --lock works with a downburst
entry in the yaml files.  Document how this works in README.rst.

Fixes: #6921
Reviewed-by: Dan Mick
12 years agorbd: make default size larger for xfstests
Josh Durgin [Wed, 4 Dec 2013 01:31:45 +0000 (17:31 -0800)]
rbd: make default size larger for xfstests

Test 167 runs out of space on newer kernels

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoMerge branch 'wip-fix-teuth-tgt-wusui'
Warren Usui [Tue, 26 Nov 2013 04:56:24 +0000 (20:56 -0800)]
Merge branch 'wip-fix-teuth-tgt-wusui'

12 years agotgt and iscsi code need some minor fixes. Moved the settle call during
Warren Usui [Fri, 15 Nov 2013 04:24:38 +0000 (20:24 -0800)]
tgt and iscsi code need some minor fixes.  Moved the settle call during
simple read testing.  In iscsi.py, generic_mkfs and generic_mount need
to be called from the main body of the task.  An extraneous iscsiadm
command was removed.  The tgt size is now not hard-coded.  It is extracted
from the property and defaults to 10240.

Fixes: #6782
12 years agoMerge pull request #154 from ceph/wip-multi-mtype
Zack Cerza [Mon, 25 Nov 2013 23:31:34 +0000 (15:31 -0800)]
Merge pull request #154 from ceph/wip-multi-mtype

Wip multi mtype

12 years agoChanges suggested per review. 154/head
Sandon Van Ness [Mon, 25 Nov 2013 09:19:13 +0000 (01:19 -0800)]
Changes suggested per review.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoAlso catch httplib2.ServerNotFoundError
Zack Cerza [Fri, 22 Nov 2013 23:03:29 +0000 (17:03 -0600)]
Also catch httplib2.ServerNotFoundError

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agointernal.py: nitty little spelling error
Dan Mick [Fri, 22 Nov 2013 06:04:19 +0000 (22:04 -0800)]
internal.py: nitty little spelling error

Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agoSchedule-suite Use 'multi' tube for multiple types. Scheduling.
Sandon Van Ness [Thu, 21 Nov 2013 23:21:19 +0000 (15:21 -0800)]
Schedule-suite Use 'multi' tube for multiple types. Scheduling.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoAllow ability to use multi machine type deliminated by ,- \t.
Sandon Van Ness [Thu, 21 Nov 2013 22:19:44 +0000 (14:19 -0800)]
Allow ability to use multi machine type deliminated by ,- \t.

I was originally attempting a more complicated locking mechanism
but I think its almost as good to just have it attempt the other
machine type if one.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoSkip cluster() if use_existing_cluster is True
Zack Cerza [Thu, 21 Nov 2013 19:56:41 +0000 (13:56 -0600)]
Skip cluster() if use_existing_cluster is True

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoMerge pull request #153 from ceph/wip-6790
SandonV [Thu, 21 Nov 2013 02:03:04 +0000 (18:03 -0800)]
Merge pull request #153 from ceph/wip-6790

Reviewed by Warren.

12 years agoUse shortened version in order to avoid revision/arch mishaps. 153/head
Sandon Van Ness [Thu, 21 Nov 2013 00:37:31 +0000 (16:37 -0800)]
Use shortened version in order to avoid revision/arch mishaps.

Sometimes -X is added to package names which does not exist in the
/version file. Simply using the version string does not work on
RHEL (it does on centos). Until version and the packages match
identically we instead will just split the version at the - and
no longer specify the dist for better reliability but slightly
lower accuracy.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoAdd optional 'use_existing_cluster' flag
Zack Cerza [Wed, 20 Nov 2013 22:23:07 +0000 (16:23 -0600)]
Add optional 'use_existing_cluster' flag

If this flag is present, skip a few unnecessary steps

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoFix ceph.repo so it uses URI value.
Sandon Van Ness [Fri, 15 Nov 2013 05:47:41 +0000 (21:47 -0800)]
Fix ceph.repo so it uses URI value.

Basically some weird cases where ceph-releases would be pointing
to the wrong branch/build when two branches had the same sha1.
This fixes that.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoceph_manager: provide unique pool names to avoid collision
Samuel Just [Thu, 14 Nov 2013 22:01:51 +0000 (14:01 -0800)]
ceph_manager: provide unique pool names to avoid collision

Fixes: #6769
Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoMerge pull request #152 from dachary/master
Alfredo Deza [Thu, 14 Nov 2013 13:46:28 +0000 (05:46 -0800)]
Merge pull request #152 from dachary/master

add git clone to installation instrutions

12 years agoadd git clone to installation instrutions 152/head
Loic Dachary [Thu, 14 Nov 2013 13:12:35 +0000 (14:12 +0100)]
add git clone to installation instrutions

Signed-off-by: Loic Dachary <loic@dachary.org>
12 years agosyslog: ignore perf nmi handler timeout
Josh Durgin [Wed, 13 Nov 2013 23:26:37 +0000 (15:26 -0800)]
syslog: ignore perf nmi handler timeout

This seems to have started appearing in recent 3.12+ kernels
with perf enabled.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoMake report_job() always return an int
Zack Cerza [Tue, 12 Nov 2013 23:07:15 +0000 (17:07 -0600)]
Make report_job() always return an int

12 years agoAdd some debug logging.
Sandon Van Ness [Tue, 12 Nov 2013 21:04:00 +0000 (13:04 -0800)]
Add some debug logging.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoFor saya (arm) use arm gitbuilder for ceph sha1.
Sandon Van Ness [Sat, 9 Nov 2013 01:00:27 +0000 (17:00 -0800)]
For saya (arm) use arm gitbuilder for ceph sha1.

Since the arm gitbuilder (even using a ton of nodes for distcc) is
much slower than x86 lets grab the sha1 from its own gitbuilder
when machine_type is saya rather than the x86 one.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoDistro kernel bug-fixes.
Sandon Van Ness [Fri, 8 Nov 2013 22:35:51 +0000 (14:35 -0800)]
Distro kernel bug-fixes.

Fixed some things that were being done incorrectly.

Some distro kernels have no debug so added | true when disabling
kdb. Also changed what was skipping kernels if non-ubuntu to also
schedule kernel install if a distro kernel.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoMerge pull request #146 from ceph/wip-os-type
Zack Cerza [Fri, 8 Nov 2013 20:24:42 +0000 (12:24 -0800)]
Merge pull request #146 from ceph/wip-os-type

Wip os type

12 years agoConsolidate two excepts into one. 146/head
Sandon Van Ness [Fri, 8 Nov 2013 19:02:48 +0000 (11:02 -0800)]
Consolidate two excepts into one.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoAlso catch socket.error in try_push_job_info
Zack Cerza [Fri, 8 Nov 2013 00:39:16 +0000 (18:39 -0600)]
Also catch socket.error in try_push_job_info

12 years agoDon't re-call logging.basicConfig()
Zack Cerza [Wed, 6 Nov 2013 22:02:12 +0000 (16:02 -0600)]
Don't re-call logging.basicConfig()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoFix hilariously long sentry_event para
Zack Cerza [Tue, 5 Nov 2013 21:09:36 +0000 (15:09 -0600)]
Fix hilariously long sentry_event para

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoMerge pull request #150 from ceph/reporting
Alfredo Deza [Mon, 4 Nov 2013 21:09:26 +0000 (13:09 -0800)]
Merge pull request #150 from ceph/reporting

Don't use create_run() unless necessary

12 years agoDon't use create_run() unless necessary 150/head
Zack Cerza [Mon, 4 Nov 2013 20:56:13 +0000 (14:56 -0600)]
Don't use create_run() unless necessary

Runs are created automatically now.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoMerge pull request #149 from ceph/reporting
Alfredo Deza [Mon, 4 Nov 2013 20:20:18 +0000 (12:20 -0800)]
Merge pull request #149 from ceph/reporting

Transition from sentry_events to sentry_event

12 years agoTransition from sentry_events to sentry_event 149/head
Zack Cerza [Mon, 4 Nov 2013 20:02:45 +0000 (14:02 -0600)]
Transition from sentry_events to sentry_event

12 years agoinstall.upgrade: deepcopy() overrides before we modify it
Sage Weil [Sat, 2 Nov 2013 00:45:52 +0000 (17:45 -0700)]
install.upgrade: deepcopy() overrides before we modify it

Since we modify the dict, make sure it is a deep copy.
Otherwise, a sequence like:

- install.upgrade:
    all:
      branch: dumpling
...
- install.upgrade:
    all: null

will delete the overrides keys in the first upgrade call and
then not have them at all in the second.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoAdded two new tasks. tgt starts up the tgt service. iscsi starts 147/head
Warren Usui [Tue, 15 Oct 2013 21:43:39 +0000 (14:43 -0700)]
Added two new tasks.  tgt starts up the tgt service.  iscsi starts
up the iscsi service and logins to an rbd image using the tgt service
(either locally or remotely).  The iscsi service runs some
simple tests, and then sets up the isci-image to be useable by
rbd test scripts.  Later workunits can perform further testing
on the isci-image interface.

In order to add the new tasks, common_fs_utils.py was formed
from code extracted out of rbd.py.  Rbd.py and iscsi.py both
call the functions in this module.

Fixes: #6433
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Reviewed-by: Josh Durgin
12 years agoMerge pull request #148 from ceph/wip-upgrade
Zack Cerza [Fri, 1 Nov 2013 18:00:27 +0000 (11:00 -0700)]
Merge pull request #148 from ceph/wip-upgrade

install.upgrade: fix overrides of sha1|tag|branch

12 years agoinstall.upgrade: fix overrides of sha1|tag|branch 148/head
Sage Weil [Fri, 1 Nov 2013 17:56:42 +0000 (10:56 -0700)]
install.upgrade: fix overrides of sha1|tag|branch

If the upgrade task config has a branch: (or tag or sha1), do
not apply the sha1|branch|tag overrides keys.  This fixes the
breakage from 280f783c2e8dda0df6afb4de0b115aad1614fbdc which
made

overrides:
  install:
    ceph:
      sha1: f88866fe9c218e03b3f89ff21e2b7b655aa74294
tasks:
...
- install.upgrade:
    all:
      branch: dumpling

...use the sha1 from the overrides instead of the explicitly
specified branch.  The intention was to only use the overrides
when the version was not specified (whether it was sha1 or
branch or tag).

At some point we should probably make the same change for
install function in install.py, but let's fix this first to
get the upgrade tests working.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoInitial ugly commit.
Sandon Van Ness [Thu, 31 Oct 2013 00:06:14 +0000 (17:06 -0700)]
Initial ugly commit.

Definitely some enhancements can be done. I think I have everything
needed but I have not been able to test this yet. If this needs to
get done before I am back feel free to work on it.

Completely untested and probably a few mistakes somewhere...

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoceph_manager: remove 6116 workaround
Samuel Just [Wed, 30 Oct 2013 19:26:42 +0000 (12:26 -0700)]
ceph_manager: remove 6116 workaround

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoMerge branch 'next'
Josh Durgin [Wed, 30 Oct 2013 16:58:10 +0000 (09:58 -0700)]
Merge branch 'next'

12 years agoradosgw-agent: add metadata-only option to task config
Josh Durgin [Tue, 29 Oct 2013 20:10:05 +0000 (13:10 -0700)]
radosgw-agent: add metadata-only option to task config

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoradosgw-agent: move positional argument last
Josh Durgin [Tue, 29 Oct 2013 20:03:55 +0000 (13:03 -0700)]
radosgw-agent: move positional argument last

Other args are treated as positional after the first one.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agointernal: fix log for python 2.6
Josh Durgin [Tue, 29 Oct 2013 19:31:30 +0000 (12:31 -0700)]
internal: fix log for python 2.6

{} was introduced to format strings in 2.7

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agorgw: fix whitespace
Josh Durgin [Tue, 29 Oct 2013 19:23:08 +0000 (12:23 -0700)]
rgw: fix whitespace

Replace tabs with spaces and remove trailing spaces.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agorgw: remove unused variables
Josh Durgin [Tue, 29 Oct 2013 19:21:15 +0000 (12:21 -0700)]
rgw: remove unused variables

Region name isn't needed for the new radosgw-agent
command line args.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoReflect radosgw-agent option changes in teuthology
Christophe Courtaut [Thu, 10 Oct 2013 10:27:27 +0000 (12:27 +0200)]
Reflect radosgw-agent option changes in teuthology

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
12 years agoMerge pull request #144 from ceph/wip-doc5939-wusui
Zack Cerza [Mon, 28 Oct 2013 21:20:44 +0000 (14:20 -0700)]
Merge pull request #144 from ceph/wip-doc5939-wusui

Added docstrings, and improved some of the comments on several tasks.

12 years agoFixed errors. Tests pass.
Sandon Van Ness [Mon, 28 Oct 2013 18:04:28 +0000 (11:04 -0700)]
Fixed errors. Tests pass.

Since the default OS version is different for each distro the
argument default is None instead of explicity set to a value
like with get_distro. Fixed some logic around that and the tests
making the arugment always take precidence.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoSupport --os-version as argument.
Sandon Van Ness [Sat, 26 Oct 2013 00:48:50 +0000 (17:48 -0700)]
Support --os-version as argument.

You can use --os-type as an argument when not running teuthology
tests but instead just using teuthology-lock. This adds the ability
to also use --os-version so you can specify the version of the
distro without having to run an actual test with a yaml like you
normally would have had to do setting os_version in the yaml.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoMerge pull request #145 from ceph/wip-5939
wusui [Fri, 25 Oct 2013 21:51:45 +0000 (14:51 -0700)]
Merge pull request #145 from ceph/wip-5939

Document install task

12 years agoFix some PEP-8 issues 145/head
Zack Cerza [Fri, 25 Oct 2013 21:03:54 +0000 (16:03 -0500)]
Fix some PEP-8 issues

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoFix param docstring format to be more Sphinx-y
Zack Cerza [Fri, 6 Sep 2013 12:39:35 +0000 (07:39 -0500)]
Fix param docstring format to be more Sphinx-y

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoAdd docstrings to every function. And a few other comments.
Zack Cerza [Mon, 26 Aug 2013 20:22:00 +0000 (15:22 -0500)]
Add docstrings to every function. And a few other comments.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
12 years agoUse worker httpd instead of prefork (like ubuntu) on rpm distros.
Sandon Van Ness [Fri, 25 Oct 2013 20:14:21 +0000 (13:14 -0700)]
Use worker httpd instead of prefork (like ubuntu) on rpm distros.

Ubuntu's default apache uses worker instead of prefork like rpm
based distro's. If rpm use httpd.worker instead of httpd so that
the -X behavior will not be blocked by a single request.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoUse worker httpd instead of prefork (like ubuntu) on rpm distros.
Sandon Van Ness [Fri, 25 Oct 2013 20:14:21 +0000 (13:14 -0700)]
Use worker httpd instead of prefork (like ubuntu) on rpm distros.

Ubuntu's default apache uses worker instead of prefork like rpm
based distro's. If rpm use httpd.worker instead of httpd so that
the -X behavior will not be blocked by a single request.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoMerge pull request #143 from ceph/wip-6576
Josh Durgin [Thu, 24 Oct 2013 06:22:18 +0000 (23:22 -0700)]
Merge pull request #143 from ceph/wip-6576

fix rbd fsx on 32-bit

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
12 years agorbd_fsx: do not exceed 250GB for fsx image 143/head
Sage Weil [Thu, 24 Oct 2013 02:24:06 +0000 (19:24 -0700)]
rbd_fsx: do not exceed 250GB for fsx image

This breaks on 32-bit architectures because fsx can't allocate the
in-memory buffer or hit some other limit.  500MG also seems to run out of
memory (tho it at least does not segfault).

Fixes: #6576
Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph_manager: workaround for 6116
Samuel Just [Wed, 23 Oct 2013 17:52:55 +0000 (10:52 -0700)]
ceph_manager: workaround for 6116

This is an annoying race, we really should delay going
clean until the backfill peer has acknoledged the clean
info, but we currently don't.  In order to prevent this
bug from messing up the nightlies, we'll delay killing
the peer for 20s to make it likely that the backfill
peer has gotten the clean info.

Workaround: #6116
Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agorgw: revert to -X for apache2
Sage Weil [Tue, 22 Oct 2013 21:36:35 +0000 (14:36 -0700)]
rgw: revert to -X for apache2

-DNO_DETACH doesn't seem to work.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agovalgrind: fix libleveldb suppression on dynamically linked leveldb
Sage Weil [Fri, 18 Oct 2013 23:26:35 +0000 (16:26 -0700)]
valgrind: fix libleveldb suppression on dynamically linked leveldb

(The function names don't show up here)

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge pull request #142 from ceph/wip-6342
SandonV [Thu, 17 Oct 2013 19:03:13 +0000 (12:03 -0700)]
Merge pull request #142 from ceph/wip-6342

More robust machine_type and pid detection