]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
11 years agorbd: bump the default scratch size for xfstests to 10G 167/head
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>
11 years agoRevert "valgrind.supp: ignore libnss3 leaks"
Sage Weil [Sun, 22 Dec 2013 17:50:12 +0000 (09:50 -0800)]
Revert "valgrind.supp: ignore libnss3 leaks"

This reverts commit 572dc88a7cc295cb06354e6f004f7ad665b101f4.

This didn't occur on next; I think there may be a real leak on the ceph
side.

11 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.  Probably because I gave the
gitbuilders a kick?

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #166 from ceph/wip-lockspell-wusui
SandonV [Fri, 20 Dec 2013 20:48:42 +0000 (12:48 -0800)]
Merge pull request #166 from ceph/wip-lockspell-wusui

Fix spelling error in comment.

11 years agoFix spelling error in teuthology/task/locktest.py comment 166/head
Warren Usui [Fri, 20 Dec 2013 20:31:24 +0000 (12:31 -0800)]
Fix spelling error in teuthology/task/locktest.py comment

11 years agoAdd ability to mark jobs as 'dead'
Zack Cerza [Fri, 20 Dec 2013 15:52:12 +0000 (09:52 -0600)]
Add ability to mark jobs as 'dead'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAllow passing multiple job_ids
Zack Cerza [Thu, 19 Dec 2013 22:43:11 +0000 (16:43 -0600)]
Allow passing multiple job_ids

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoImplement single-job killing
Zack Cerza [Thu, 19 Dec 2013 22:12:56 +0000 (16:12 -0600)]
Implement single-job killing

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFor teuthology-kill, s/suite/run/
Zack Cerza [Thu, 19 Dec 2013 21:39:15 +0000 (15:39 -0600)]
For teuthology-kill, s/suite/run/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #165 from ceph/wip-7042-fix-wusui
SandonV [Thu, 19 Dec 2013 22:27:16 +0000 (14:27 -0800)]
Merge pull request #165 from ceph/wip-7042-fix-wusui

Do not run local handling fix if local parameter is not found.

11 years agoDo not run local handling fix if local parameter is not found. 165/head
Warren Usui [Thu, 19 Dec 2013 22:20:12 +0000 (14:20 -0800)]
Do not run local handling fix if local parameter is not found.
Fixes: 7042
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMerge pull request #156 from ceph/teuthology-doc-hadoop-wusui
Zack Cerza [Thu, 19 Dec 2013 17:27:14 +0000 (09:27 -0800)]
Merge pull request #156 from ceph/teuthology-doc-hadoop-wusui

Added docstrings.  Cleaned up code (broke up long lines, removed unused

11 years agoMerge pull request #164 from ceph/wip-rados
Zack Cerza [Thu, 19 Dec 2013 17:24:21 +0000 (09:24 -0800)]
Merge pull request #164 from ceph/wip-rados

rados: add in more (optional) op types

11 years agoMerge pull request #160 from ceph/wip-fix-5149-wusui
Zack Cerza [Thu, 19 Dec 2013 17:23:36 +0000 (09:23 -0800)]
Merge pull request #160 from ceph/wip-fix-5149-wusui

Added handling of a 'local' option inside install.py which specifies

11 years agoLog calls to teuthology-report more verbosely
Zack Cerza [Thu, 19 Dec 2013 16:25:51 +0000 (10:25 -0600)]
Log calls to teuthology-report more verbosely

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoCatch every exception here, for now.
Zack Cerza [Tue, 17 Dec 2013 17:02:30 +0000 (11:02 -0600)]
Catch every exception here, for now.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 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>
11 years agorados: add in more (optional) op types 164/head
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 162/head
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 161/head
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 agoAdded handling of a 'local' option inside install.py which specifies 160/head
Warren Usui [Wed, 11 Dec 2013 07:45:38 +0000 (23:45 -0800)]
Added handling of a 'local' option inside install.py which specifies
a local directory containing deb or rpm files to be installed.

Fixes: 5149
Signed-off-by: Warren Usui <warren.usui@inktank.com>
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 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>
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 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>
11 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>
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 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>
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 agoAdded docstrings. Cleaned up code (broke up long lines, removed unused 156/head
Warren Usui [Wed, 4 Dec 2013 02:16:04 +0000 (18:16 -0800)]
Added docstrings.  Cleaned up code (broke up long lines, removed unused
variable references, pep8 formatted most of the code (one set of long lines
remains), and changed some variable and method names to conform to pylint
standards).

Fixes: 6530
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. 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>
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. 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>
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 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>
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. 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>
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 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>
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 149/head
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 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
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 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>
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>