]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agorados: add in more (optional) op types
Sage Weil [Wed, 18 Dec 2013 19:41:58 +0000 (11:41 -0800)]
rados: add in more (optional) op types

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoUse shell=True to call teuthology-report
Zack Cerza [Mon, 16 Dec 2013 20:22:22 +0000 (14:22 -0600)]
Use shell=True to call teuthology-report

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoCatch OSError if script isn't in $PATH
Zack Cerza [Mon, 16 Dec 2013 19:34:37 +0000 (13:34 -0600)]
Catch OSError if script isn't in $PATH

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRevert "Use path when calling teuthology-report. …"
Zack Cerza [Mon, 16 Dec 2013 17:43:06 +0000 (11:43 -0600)]
Revert "Use path when calling teuthology-report. …"

This reverts commit e4b5ab811e954a5b134d413aeb338805b5e3441d.

11 years agoUse path when calling teuthology-report. …
Sandon Van Ness [Sat, 14 Dec 2013 15:14:51 +0000 (07:14 -0800)]
Use path when calling teuthology-report. …

The 'teuthology-report' command is probably not going to exist
in $PATH so get the location of the running command and assume its
in the same path.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoMerge pull request #162 from jcsp/fsid-conf
Zack Cerza [Fri, 13 Dec 2013 17:25:30 +0000 (09:25 -0800)]
Merge pull request #162 from jcsp/fsid-conf

Fix FSID not being set in ceph.conf

11 years agoMerge pull request #161 from jcsp/ssh-config
Zack Cerza [Fri, 13 Dec 2013 17:24:23 +0000 (09:24 -0800)]
Merge pull request #161 from jcsp/ssh-config

Respect .ssh/config when opening SSH connections

11 years agoSkip the 'dead' report on old branches
Zack Cerza [Fri, 13 Dec 2013 15:56:23 +0000 (09:56 -0600)]
Skip the 'dead' report on old branches

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 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.

11 years agoMake sure to report all results.
Zack Cerza [Thu, 12 Dec 2013 23:33:53 +0000 (17:33 -0600)]
Make sure to report all results.

If a just-finished job was using a teuthology branch not known to
contain the reporting feature, then report the job via the
teuthology-report script. Note that in some cases this will result in
double reporting but the extra load should be negligible.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoEnable reporting of single jobs
Zack Cerza [Thu, 12 Dec 2013 22:54:56 +0000 (16:54 -0600)]
Enable reporting of single jobs

(also switch to docopt)

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRemove the child's stderr completely
Zack Cerza [Thu, 12 Dec 2013 21:45:58 +0000 (15:45 -0600)]
Remove the child's stderr completely

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix FSID not being set in ceph.conf
John Spray [Thu, 12 Dec 2013 21:33:19 +0000 (13:33 -0800)]
Fix FSID not being set in ceph.conf

Symptom was that 'ceph --admin-daemon... config get fsid'
returned zeros, while correct fsid was present in cluster maps.
Fix it by populating FSID in ceph.conf, after extracting it from
monmap.

11 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>
11 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>
11 years agoRespect .ssh/config when opening SSH connections
John Spray [Wed, 11 Dec 2013 21:08:51 +0000 (13:08 -0800)]
Respect .ssh/config when opening SSH connections

This handles that case where your private key is
in a non-default location that you're pointing
to in ~/.ssh/config.

11 years agoUse continue, not break
Zack Cerza [Tue, 10 Dec 2013 22:47:35 +0000 (16:47 -0600)]
Use continue, not break

Fixes a bug where not all pids were being collected

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoTweak logic for pid lookup
Zack Cerza [Tue, 10 Dec 2013 22:35:05 +0000 (16:35 -0600)]
Tweak logic for pid lookup

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix indentation
Zack Cerza [Tue, 10 Dec 2013 22:25:28 +0000 (16:25 -0600)]
Fix indentation

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 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>
11 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>
11 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

11 years agorados: allow existing pool(s) to be used
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>
11 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>
11 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>
11 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>
11 years agoAdd missing req: psutil
Zack Cerza [Mon, 9 Dec 2013 22:32:45 +0000 (16:32 -0600)]
Add missing req: psutil

11 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

11 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>
11 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

11 years agonuke: ignore exceptions while issuing reboot command
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>
11 years agoRemove unused variable.
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>
11 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>
11 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>
11 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>
11 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

11 years agoImplement a watchdog for queued jobs
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>
11 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
11 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'

11 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
11 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>
11 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'

11 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
11 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

11 years agoChanges suggested per review.
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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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.

11 years agoUse shortened version in order to avoid revision/arch mishaps.
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>
11 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>
11 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>
11 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>
11 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

11 years agoadd git clone to installation instrutions
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>
11 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>
11 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

11 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>
11 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>
11 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>
11 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

11 years agoConsolidate two excepts into one.
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>
11 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

11 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>
11 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>
11 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

11 years agoDon't use create_run() unless necessary
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>
11 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

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

11 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>
11 years agoAdded two new tasks. tgt starts up the tgt service. iscsi starts
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
11 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

11 years agoinstall.upgrade: fix overrides of sha1|tag|branch
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>
11 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>
11 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>
11 years agoMerge branch 'next'
Josh Durgin [Wed, 30 Oct 2013 16:58:10 +0000 (09:58 -0700)]
Merge branch 'next'

11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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.

11 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>
11 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>
11 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

11 years agoFix some PEP-8 issues
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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 years agorbd_fsx: do not exceed 250GB for fsx image
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>
11 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>
11 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>
11 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>
11 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

11 years agoMore robust machine_type and pid detection
Zack Cerza [Thu, 17 Oct 2013 18:02:30 +0000 (13:02 -0500)]
More robust machine_type and pid detection

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>