]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agojenkins: fail fast during job execution
Ken Dreyer [Fri, 21 Feb 2014 18:11:47 +0000 (11:11 -0700)]
jenkins: fail fast during job execution

Jenkins will dynamically write the commands in its database into a
script and run it with "-x" and "-e" in order to display each step and
fail after the first step fails.

Now that our commands are stored in Git, ensure that we're doing the
same thing.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoMerge pull request #201 from ceph/wip-6531-wusui
Zack Cerza [Thu, 20 Feb 2014 22:56:24 +0000 (16:56 -0600)]
Merge pull request #201 from ceph/wip-6531-wusui

Fix formatting and add docstrings to ceph_manager.py

11 years agoAdd back in print in ceph_manager that the last checkin accidentally removed
Warren Usui [Wed, 19 Feb 2014 22:35:37 +0000 (14:35 -0800)]
Add back in print in ceph_manager that the last checkin accidentally removed

11 years agoFix formatting and add docstrings to ceph_manager.py
Warren Usui [Sat, 15 Feb 2014 03:50:38 +0000 (19:50 -0800)]
Fix formatting and add docstrings to ceph_manager.py

Fixes: 6531
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agojenkins: add debugging output to shell script
Ken Dreyer [Wed, 19 Feb 2014 21:58:57 +0000 (14:58 -0700)]
jenkins: add debugging output to shell script

When we migrated the Jenkins commands into Git, the exact commands are
no longer visible unless we run with "-x".

Add "set -x" to the script to enable debugging.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoMerge pull request #195 from ceph/wip-7003-wusui
Zack Cerza [Wed, 19 Feb 2014 21:44:26 +0000 (15:44 -0600)]
Merge pull request #195 from ceph/wip-7003-wusui

Add docstrings to the orchestra code.  Also fix minor formatting issues

11 years agoMerge pull request #186 from ceph/wip-7369
Alfredo Deza [Wed, 19 Feb 2014 21:40:17 +0000 (16:40 -0500)]
Merge pull request #186 from ceph/wip-7369

Fix #7369: "sed expression must be raw string"

11 years agoFix syntax error in first docstring added.
Warren Usui [Wed, 19 Feb 2014 21:37:06 +0000 (13:37 -0800)]
Fix syntax error in first docstring added.

11 years agoMerge pull request #190 from kdreyer-inktank/jenkins
Zack Cerza [Wed, 19 Feb 2014 21:34:24 +0000 (15:34 -0600)]
Merge pull request #190 from kdreyer-inktank/jenkins

add jenkins-pull-requests-build script

11 years agoMerge pull request #199 from ceph/wip-6540-wusui
Zack Cerza [Wed, 19 Feb 2014 21:26:31 +0000 (15:26 -0600)]
Merge pull request #199 from ceph/wip-6540-wusui

Add docstrings.  Fix formatting issues for rgw.py

11 years agoMerge pull request #196 from ceph/wip-6541-wusui
Zack Cerza [Wed, 19 Feb 2014 21:26:14 +0000 (15:26 -0600)]
Merge pull request #196 from ceph/wip-6541-wusui

Fix docstrings in radosgw-admin-rest.py

11 years agoMerge pull request #197 from ceph/wip-6535-wusui
Zack Cerza [Wed, 19 Feb 2014 21:26:06 +0000 (15:26 -0600)]
Merge pull request #197 from ceph/wip-6535-wusui

Fix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrashe...

11 years agoMerge pull request #198 from ceph/wip-6539-wusui
Zack Cerza [Wed, 19 Feb 2014 21:25:33 +0000 (15:25 -0600)]
Merge pull request #198 from ceph/wip-6539-wusui

Fix docstrings and minor formatting in task/ssh_keys.py

11 years agoMerge pull request #200 from ceph/wip-6532-wusui
Zack Cerza [Wed, 19 Feb 2014 21:23:37 +0000 (15:23 -0600)]
Merge pull request #200 from ceph/wip-6532-wusui

Fixed task/args.py docstrings.

11 years agoRevert "Show hostname instead of IP in errors"
Zack Cerza [Wed, 19 Feb 2014 19:20:52 +0000 (13:20 -0600)]
Revert "Show hostname instead of IP in errors"

This reverts commit eafeece243607eef8209eaa8c08eecc7d1098eb1.

I was having problems with my newly-created devstack task hanging
inexplicably. It turns out this commit was responsible.

11 years agoadd jenkins-pull-requests-build script
Ken Dreyer [Thu, 13 Feb 2014 23:35:00 +0000 (16:35 -0700)]
add jenkins-pull-requests-build script

Move our Jenkins pull requests build script out of Jenkins' database and
into Git so that we can have greater visibility on future changes.

Going forward, we will modify the teuthology-pull-requests Jenkins task
to only run this script.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
11 years agoradosbench: simplify pool creation and add ec_pool support
Samuel Just [Tue, 18 Feb 2014 20:13:19 +0000 (12:13 -0800)]
radosbench: simplify pool creation and add ec_pool support

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agotask/: add ec_pool and append to rados.py
Samuel Just [Tue, 18 Feb 2014 20:03:44 +0000 (12:03 -0800)]
task/: add ec_pool and append to rados.py

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoRevert "Capture stderr and include in CommandFailedError"
Alfredo Deza [Tue, 18 Feb 2014 14:47:09 +0000 (09:47 -0500)]
Revert "Capture stderr and include in CommandFailedError"

This reverts commit d0a434923100dd16548e5f76eaffa5462c4b91d4.

11 years agofilestore_idempotent: filestore -> objectstore path change
Sage Weil [Tue, 18 Feb 2014 12:54:12 +0000 (04:54 -0800)]
filestore_idempotent: filestore -> objectstore path change

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agothrashosds: allow primary-affinity thrashing to be disabled
Sage Weil [Mon, 17 Feb 2014 21:16:42 +0000 (13:16 -0800)]
thrashosds: allow primary-affinity thrashing to be disabled

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agothrashosds: randomly adjust primary_affinity
Sage Weil [Sat, 15 Feb 2014 18:05:14 +0000 (10:05 -0800)]
thrashosds: randomly adjust primary_affinity

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoceph.conf: mon osd allow primary affinity = true
Sage Weil [Mon, 10 Feb 2014 18:21:43 +0000 (10:21 -0800)]
ceph.conf: mon osd allow primary affinity = true

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoFixed task/args.py docstrings.
Warren Usui [Sat, 15 Feb 2014 01:28:38 +0000 (17:28 -0800)]
Fixed task/args.py docstrings.

11 years agoAdd docstrings. Fix formatting issues for rgw.py
Warren Usui [Sat, 15 Feb 2014 01:08:28 +0000 (17:08 -0800)]
Add docstrings.  Fix formatting issues for rgw.py
Fix s3tests calls for rgw-logsocket.py.

Fixes: 6540
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoFix docstrings and minor formatting in task/ssh_keys.py
Warren Usui [Fri, 14 Feb 2014 23:48:38 +0000 (15:48 -0800)]
Fix docstrings and minor formatting in task/ssh_keys.py

Fixes: 6539
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoFix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrasher.py and
Warren Usui [Fri, 14 Feb 2014 23:13:01 +0000 (15:13 -0800)]
Fix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrasher.py and
recovery_bench.py.

Fixes: 6535
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoFix docstrings in radosgw-admin-rest.py
Warren Usui [Fri, 14 Feb 2014 21:57:03 +0000 (13:57 -0800)]
Fix docstrings in radosgw-admin-rest.py

Fixes: 6541
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMerge pull request #188 from ceph/wip-calamari-onefile
Zack Cerza [Fri, 14 Feb 2014 20:59:04 +0000 (14:59 -0600)]
Merge pull request #188 from ceph/wip-calamari-onefile

Add Calamari test tasks, test script

11 years agoAdd docstrings to the orchestra code. Also fix minor formatting issues
Warren Usui [Fri, 14 Feb 2014 17:57:43 +0000 (09:57 -0800)]
Add docstrings to the orchestra code.  Also fix minor formatting issues
(mostly column start locations).

Fixes: 7003
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoReview: switch to selecting remotes by roles in the 'normal' way
Dan Mick [Fri, 14 Feb 2014 03:44:36 +0000 (19:44 -0800)]
Review: switch to selecting remotes by roles in the 'normal' way

This buys us, also, the ability to select remotes by rule, i.e.
"any osd or mon gets calamari-agent installed"

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoReview: refactor packaging routines to common file
Dan Mick [Fri, 14 Feb 2014 03:59:25 +0000 (19:59 -0800)]
Review: refactor packaging routines to common file

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoMerge pull request #192 from ceph/wip-6537-wusui
Zack Cerza [Fri, 14 Feb 2014 17:50:55 +0000 (11:50 -0600)]
Merge pull request #192 from ceph/wip-6537-wusui

Readjust the indentation of mon_clock_skew_check.py and mon_thrash.py.

11 years agoMerge pull request #194 from ceph/wip-6534-wusui
Zack Cerza [Fri, 14 Feb 2014 17:45:51 +0000 (11:45 -0600)]
Merge pull request #194 from ceph/wip-6534-wusui

Add docstrings to internal.py

11 years agoMerge pull request #193 from ceph/wip-6538-wusui
Zack Cerza [Fri, 14 Feb 2014 17:45:19 +0000 (11:45 -0600)]
Merge pull request #193 from ceph/wip-6538-wusui

Add doc strings to Swift tests

11 years agoMerge pull request #191 from ceph/wip-7002-wusui
Zack Cerza [Fri, 14 Feb 2014 17:44:40 +0000 (11:44 -0600)]
Merge pull request #191 from ceph/wip-7002-wusui

Added some docstrings.

11 years agoMerge pull request #187 from ceph/wip-better-debug
Zack Cerza [Fri, 14 Feb 2014 17:43:15 +0000 (11:43 -0600)]
Merge pull request #187 from ceph/wip-better-debug

Debug output improvements

11 years agoAdd docstrings to internal.py
Warren Usui [Fri, 14 Feb 2014 06:37:51 +0000 (22:37 -0800)]
Add docstrings to internal.py

Fixes: 6534
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoAdd doc strings to Swift tests
Warren Usui [Fri, 14 Feb 2014 05:11:34 +0000 (21:11 -0800)]
Add doc strings to Swift tests

Fixes: 6538
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoReadjust the indentation of mon_clock_skew_check.py and mon_thrash.py.
Warren Usui [Fri, 14 Feb 2014 02:18:56 +0000 (18:18 -0800)]
Readjust the indentation of mon_clock_skew_check.py and mon_thrash.py.
Added docstrings.

Fixes: 6537
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoReview: Rename calamari_testdir/ to calamari/
Dan Mick [Fri, 14 Feb 2014 03:57:51 +0000 (19:57 -0800)]
Review: Rename calamari_testdir/ to calamari/

11 years agoAdded some docstrings.
Warren Usui [Wed, 12 Feb 2014 21:27:15 +0000 (13:27 -0800)]
Added some docstrings.

Fixes: 7002
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoFix flake8 failures
Dan Mick [Wed, 12 Feb 2014 21:25:54 +0000 (13:25 -0800)]
Fix flake8 failures

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoSpelling
John Spray [Thu, 6 Feb 2014 14:26:27 +0000 (14:26 +0000)]
Spelling

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoLog correct name of context during errors
John Spray [Wed, 5 Feb 2014 20:28:35 +0000 (20:28 +0000)]
Log correct name of context during errors

(instead of GeneratorContextManager)

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoCatch a case where we weren't getting tracebacks
John Spray [Wed, 5 Feb 2014 20:27:18 +0000 (20:27 +0000)]
Catch a case where we weren't getting tracebacks

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoTimestamp stdout log output
John Spray [Wed, 5 Feb 2014 17:47:17 +0000 (17:47 +0000)]
Timestamp stdout log output

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoRemove spurious print
John Spray [Wed, 5 Feb 2014 16:40:24 +0000 (16:40 +0000)]
Remove spurious print

This was causing junk output like <type 'exceptions.StopIteration'>

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoCapture stderr and include in CommandFailedError
John Spray [Wed, 5 Feb 2014 16:00:51 +0000 (16:00 +0000)]
Capture stderr and include in CommandFailedError

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoMerge pull request #182 from ceph/wip-imports
Zack Cerza [Wed, 12 Feb 2014 16:46:35 +0000 (10:46 -0600)]
Merge pull request #182 from ceph/wip-imports

Make libvirt import optional (OS X)

11 years agoShow hostname instead of IP in errors
John Spray [Wed, 5 Feb 2014 15:40:33 +0000 (15:40 +0000)]
Show hostname instead of IP in errors

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoMerge pull request #189 from ceph/wip-6536-wusui
Alfredo Deza [Wed, 12 Feb 2014 15:12:35 +0000 (10:12 -0500)]
Merge pull request #189 from ceph/wip-6536-wusui

Add docstrings to s3 related tasks.

11 years agoAdd docstrings to s3 related tasks.
Warren Usui [Wed, 12 Feb 2014 04:21:06 +0000 (20:21 -0800)]
Add docstrings to s3 related tasks.

Fixes: 6536
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoAdd calamari setup/test tasks
Dan Mick [Tue, 11 Feb 2014 04:31:33 +0000 (20:31 -0800)]
Add calamari setup/test tasks

Signed-off-by: Warren Usui <warren.usui@inktank.com>
Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoMerge pull request #184 from ceph/wip-pg-scrub-from-ceph-wusui
Zack Cerza [Tue, 11 Feb 2014 00:25:14 +0000 (18:25 -0600)]
Merge pull request #184 from ceph/wip-pg-scrub-from-ceph-wusui

Scrub osds when ceph task finishes

11 years agoFix #7369: "sed expression must be raw string"
Zack Cerza [Mon, 10 Feb 2014 21:39:23 +0000 (15:39 -0600)]
Fix #7369: "sed expression must be raw string"

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake sure osd_scrub_pgs gets called if healthy call fails.
Warren Usui [Mon, 10 Feb 2014 17:28:39 +0000 (09:28 -0800)]
Make sure osd_scrub_pgs gets called if healthy call fails.

Fixes: 7198
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMove osd_scrub_pgs call to finally block of ceph main task.
Warren Usui [Fri, 7 Feb 2014 22:54:23 +0000 (14:54 -0800)]
Move osd_scrub_pgs call to finally block of ceph main task.

Fixes: 7198
Signed-off-bye: Warren Usui <warren.usui@inktank.com>

11 years agoschedule_suite: be slightly more verbose
Sage Weil [Wed, 5 Feb 2014 23:19:48 +0000 (15:19 -0800)]
schedule_suite: be slightly more verbose

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #185 from ceph/wip-7342
Alfredo Deza [Wed, 5 Feb 2014 19:46:14 +0000 (14:46 -0500)]
Merge pull request #185 from ceph/wip-7342

Enable killing runs that haven't even started yet

11 years agoEnable killing runs that haven't even started yet
Zack Cerza [Wed, 5 Feb 2014 19:31:10 +0000 (13:31 -0600)]
Enable killing runs that haven't even started yet

This requires passing --machine-type.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agovalgrind: fix msync suppression
Sage Weil [Wed, 5 Feb 2014 00:52:26 +0000 (16:52 -0800)]
valgrind: fix msync suppression

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoImplement the rest of the checks for automatic pg scrubbing.
Warren Usui [Tue, 4 Feb 2014 01:17:09 +0000 (17:17 -0800)]
Implement the rest of the checks for automatic pg scrubbing.
osd_scrub_pgs now:
1.) Insures that all pgs are clean and active.
2.) Performs the scrub of all OSDs.
3.) Waits until all pgs have been scrubbed or no progress in scrubbing has
    been made for two minutes.

These changes have been made on top of a previous check-in that was incomplete

Fixes: 7198
Signed-off-bye: Warren Usui <warren.usui@inktank.com>

11 years agomisc.py: helper roles_to_remotes for generic use
Dan Mick [Sat, 1 Feb 2014 00:07:52 +0000 (16:07 -0800)]
misc.py: helper roles_to_remotes for generic use

roles_to_remotes will take a config key, 'roles' by default,
and search cluster.remotes for those roles, returning a list
of remotes that hold it.  The list is uniquified by default,
but that can be overridden.  So you can have a task that
should run on specific roles, configure it with
"roles: [mon.0 server.0 osd.2]", and call this to get a list
of remotes that contain those roles.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agovalgrind: another tcmalloc suppression
Sage Weil [Sun, 2 Feb 2014 06:05:14 +0000 (22:05 -0800)]
valgrind: another tcmalloc suppression

With this I can run a simple job with a normal build (not
notcmalloc) and valgrind does not complain.  Fingers crossed!

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoScrub osds when ceph task finishes
Warren Usui [Fri, 31 Jan 2014 23:29:02 +0000 (15:29 -0800)]
Scrub osds when ceph task finishes
Fixes: 7198
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMerge pull request #180 from ceph/wip-7278
Zack Cerza [Fri, 31 Jan 2014 21:41:56 +0000 (13:41 -0800)]
Merge pull request #180 from ceph/wip-7278

install.py: look for 'local' in config directly, don't warn if not found

11 years agoMerge pull request #183 from ceph/wip-enhance
Zack Cerza [Fri, 31 Jan 2014 21:41:21 +0000 (13:41 -0800)]
Merge pull request #183 from ceph/wip-enhance

Wip enhance

11 years agoREADME.rst: describe new pp object and unlock_on_failure option.
Dan Mick [Fri, 31 Jan 2014 21:27:51 +0000 (13:27 -0800)]
README.rst: describe new pp object and unlock_on_failure option.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoMerge pull request #181 from ceph/wip-thrash-exception
Zack Cerza [Fri, 31 Jan 2014 21:12:43 +0000 (13:12 -0800)]
Merge pull request #181 from ceph/wip-thrash-exception

Fix MDS wait when get_mds_status returns None

11 years agointeractive.py: add handy "pp" for prettyprinting at the prompt
Dan Mick [Thu, 30 Jan 2014 05:48:31 +0000 (21:48 -0800)]
interactive.py: add handy "pp" for prettyprinting at the prompt

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agointernal.py: add global config key 'unlock_on_failure'
Dan Mick [Thu, 30 Jan 2014 08:10:12 +0000 (00:10 -0800)]
internal.py: add global config key 'unlock_on_failure'

When testing new tasks, it's a drag to have to keep manually unlocking
the targets.  Default behavior is to keep them locked for any failure;
this allows overriding that choice for the case where the failure is
in debugging the task, where the state of the targets isn't important.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoMake libvirt import optional (OS X)
John Spray [Fri, 31 Jan 2014 20:53:45 +0000 (20:53 +0000)]
Make libvirt import optional (OS X)

11 years agoFix MDS wait when get_mds_status returns None
John Spray [Fri, 31 Jan 2014 20:45:31 +0000 (20:45 +0000)]
Fix MDS wait when get_mds_status returns None

11 years agoinstall.py: look for 'local' in config directly, don't warn if not found
Dan Mick [Fri, 31 Jan 2014 07:47:03 +0000 (23:47 -0800)]
install.py: look for 'local' in config directly, don't warn if not found

Fixes: #7278
Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoUpdate README.rst to reflect changes in libvirt
Zack Cerza [Thu, 30 Jan 2014 20:54:23 +0000 (14:54 -0600)]
Update README.rst to reflect changes in libvirt

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agofix indentation level for task
Alfredo Deza [Mon, 27 Jan 2014 21:10:54 +0000 (16:10 -0500)]
fix indentation level for task

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
(cherry picked from commit 1397d29963b2135998ccaaa9a89c83e0bb9710f4)

11 years agomake sure we are using a dict
Alfredo Deza [Mon, 27 Jan 2014 21:06:10 +0000 (16:06 -0500)]
make sure we are using a dict

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
(cherry picked from commit fe4c97dc4f5f893df526f8694d4b9fafb064f9d3)

11 years agoAttempt to fix #7241
Zack Cerza [Tue, 28 Jan 2014 16:05:03 +0000 (10:05 -0600)]
Attempt to fix #7241

This involves moving everything in build_ceph_cluster() inside the try:
block, so if an exception fails the cleanup in the finally: block will
actually be executed.

11 years agoFix PEP-8 linter complaints
Zack Cerza [Mon, 27 Jan 2014 19:02:30 +0000 (13:02 -0600)]
Fix PEP-8 linter complaints

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #175 from ceph/wip-tcmalloc
Sage Weil [Tue, 28 Jan 2014 05:14:17 +0000 (21:14 -0800)]
Merge pull request #175 from ceph/wip-tcmalloc

valgrind: ignore tcmalloc uninitialized memory

11 years agoBe more verbose about log file locations
Zack Cerza [Mon, 27 Jan 2014 18:28:53 +0000 (12:28 -0600)]
Be more verbose about log file locations

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoSymlink worker logs into job archive dir
Zack Cerza [Fri, 24 Jan 2014 16:19:43 +0000 (10:19 -0600)]
Symlink worker logs into job archive dir

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #177 from ceph/wip-7213
Alfredo Deza [Fri, 24 Jan 2014 13:54:37 +0000 (05:54 -0800)]
Merge pull request #177 from ceph/wip-7213

use create-initial for deploying monitors

11 years agouse create-initial for deploying monitors
Alfredo Deza [Thu, 23 Jan 2014 21:41:49 +0000 (16:41 -0500)]
use create-initial for deploying monitors

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agocall wait() on the teuthology-results Popen object
Zack Cerza [Fri, 17 Jan 2014 16:05:21 +0000 (10:05 -0600)]
call wait() on the teuthology-results Popen object

This ought to fix the issue where zombie teuthology-results processes
stick around.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #176 from ceph/wip-7164
Alfredo Deza [Thu, 16 Jan 2014 21:00:37 +0000 (13:00 -0800)]
Merge pull request #176 from ceph/wip-7164

lock.py: request only rsa keys from ssh-keyscan

11 years agolock.py: request only rsa keys from ssh-keyscan
Dan Mick [Thu, 16 Jan 2014 20:51:39 +0000 (12:51 -0800)]
lock.py: request only rsa keys from ssh-keyscan

New versions of ssh-keyscan return two keytypes if possible; this
breaks the comparison of "number of lines of output from keyscan"
to "number of hosts we request keys from".  Fix by asking for only
one type of key (as older ssh-keyscans did).

Fixes: #7164
Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoceph_manager: in test_map_discontinuity, delay killing osd for 20s
Samuel Just [Thu, 16 Jan 2014 17:57:42 +0000 (09:57 -0800)]
ceph_manager: in test_map_discontinuity, delay killing osd for 20s

This should give enough time for the replica to get the message
marking them clean.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoLog a warning when killing long-running jobs.
Zack Cerza [Thu, 16 Jan 2014 16:53:53 +0000 (10:53 -0600)]
Log a warning when killing long-running jobs.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoKill jobs that run for over 3 days (configurable)
Zack Cerza [Thu, 16 Jan 2014 16:38:39 +0000 (10:38 -0600)]
Kill jobs that run for over 3 days (configurable)

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #174 from ceph/wip-7171
Sage Weil [Fri, 10 Jan 2014 19:08:31 +0000 (11:08 -0800)]
Merge pull request #174 from ceph/wip-7171

thrashosds: change min_in from 2 -> 3

11 years agovalgrind: ignore tcmalloc uninitialized memory
Sage Weil [Fri, 10 Jan 2014 19:02:06 +0000 (11:02 -0800)]
valgrind: ignore tcmalloc uninitialized memory

This is the main source of noise when running valgrind +
tcmalloc.  Apparently there are other issues, so I think we
still need the notcmalloc gitbuilder, but this gets us part of
the way.

Signed-off-by: Sage Weil <sage@inktank.com>
11 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>
11 years agoMerge pull request #169 from ceph/wip-utsrelease
Zack Cerza [Fri, 10 Jan 2014 17:22:40 +0000 (09:22 -0800)]
Merge pull request #169 from ceph/wip-utsrelease

kernel: use utsrelease string for need_to_install() purposes

11 years agokernel: use utsrelease string for need_to_install() purposes
Ilya Dryomov [Fri, 10 Jan 2014 10:26:09 +0000 (12:26 +0200)]
kernel: use utsrelease string for need_to_install() purposes

Currently, to see if a node has rebooted into the right kernel,
need_to_install() compares a given 40-char commit hash with a 7-char
commit hash abbreviation it pulls from the output of 'uname -r'.

gitbuilders can now export UTS_RELEASE kernel version string through
.../$SHA1/version file.  Use this string instead of the 40-char commit
hash and compare it with the output of 'uname -r' directly.  This saves
us the parsing exercise and, more importantly, makes it possible to
install clean tagged kernels using 'tag:' element, which wasn't
possible before because version string of such kernels doesn't have
a commit hash in it.

If version file is unavailable, fallback to the existing way of doing
things.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
11 years agoMerge pull request #173 from ceph/wip-ceph-deploy
Alfredo Deza [Thu, 9 Jan 2014 13:43:04 +0000 (05:43 -0800)]
Merge pull request #173 from ceph/wip-ceph-deploy

fix ceph-dpeloy tests to use 2x replication

11 years agoschedule_suite: 2x replication for ceph-deploy
Sage Weil [Thu, 9 Jan 2014 01:35:10 +0000 (17:35 -0800)]
schedule_suite: 2x replication for ceph-deploy

This avoids having to update all of the tests.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #172 from ceph/wip-teuthvmcon-wusui
Zack Cerza [Tue, 7 Jan 2014 23:09:39 +0000 (15:09 -0800)]
Merge pull request #172 from ceph/wip-teuthvmcon-wusui

Fix a bug where ctx.config['targets'] was looped through again

11 years agoFix a bug where ctx.config['targets'] was looped through again
Warren Usui [Tue, 7 Jan 2014 22:22:57 +0000 (14:22 -0800)]
Fix a bug where ctx.config['targets'] was looped through again
in connect().  The bug caused vm behavior to happen for a
target if any of the machines in the cluster was a vm.  The code
was also changed to set the key to none only if rsa or dsa keys
were used on a vm.

Fixes: 7113
Signed-off-by: Warren Usui <warren.usui@inktank.com>