1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 23:02:17 +00:00
Commit Graph

2108 Commits

Author SHA1 Message Date
Samuel Just
e6698af818 ceph_manager: fix erasure coding m, k values
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-03-05 12:38:51 -08:00
Sage Weil
c5f0e7181c Merge pull request from ceph/wip-workunit-timeout
Add a 6h timeout to workunits
2014-03-05 10:14:50 -08:00
Zack Cerza
c3c0b080f6 Add a 6h timeout to workunits
The timeout is configurable, but defaults to six hours. It's implemented
by using the 'timeout' command on the remote host.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-05 11:17:13 -06:00
Zack Cerza
963fb881cb Merge pull request from dachary/wip-ec-pool
ceph-manager: fix ec_pool parameters
2014-03-03 14:47:52 -06:00
Zack Cerza
3006f23143 Merge pull request from ceph/wip-7356
helper for bombing out of infinite loops
2014-03-03 10:24:27 -06:00
Loic Dachary
7889acbf65 ceph-manager: fix ec_pool parameters
* the crush ruleset and the pool create parameters must be identicals
  k=2 m= 1
* the --property argument is invalid
* the failure domain is ignored on pool create

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-02 00:41:21 +01:00
Alfredo Deza
a01d3ca87d Merge pull request from ceph/wip-kdb-except
Allow setting kdb to fail.
2014-02-28 18:32:25 -05:00
Sandon Van Ness
fd507ed35a Allow setting kdb to fail.
Some kernels (primarily Debian distro kernels) do not support
setting kdb. Rather than having the entire test fail.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-02-28 14:16:32 -08:00
wusui
4f31eb01c0 Merge pull request from ceph/wip-limit
Added --limit option to teuthology-suite.
2014-02-28 11:13:46 -08:00
Zack Cerza
4b5338faee Merge pull request from ceph/wip-7554
mds_thrash 
2014-02-28 11:04:23 -06:00
Yuri Weinstein
bd9748d562 Added --limit option to teuthology-suite.
Use --limit to limit the number of jobs being scheduled during
teuthology-suite. Also can be used with schedule_suite.sh via the
10th argument.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2014-02-28 00:34:58 +00:00
John Spray
8dfcfa4a7e mds_thrash: Fix a potential getitem on None
get_mds_status returns None for things it can't see,
so have to check for Noneness on all its outputs.

Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-27 18:39:45 +00:00
John Spray
22825c25a5 mds_thrash: Refactor gevent usage + get traceback
This simplifies the code to make MdsTrash be a greenlet
(as it logically is) rather than encapsulating one that
gets started in __init__ (spawning threads in constructors
is evil).

With this done, do_thrash is called from _run inside an
exception handler that will give us full tracebacks
if something bad happens.

Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-27 18:39:45 +00:00
John Spray
f12426c3ec mds_thrash: PEP8-ize whitespace
...so that I can edit the code in a python IDE without
it lighting up like a christmas tree!

Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-27 14:25:13 +00:00
Zack Cerza
3c87b8497a Worker logging tweaks
Change some statements' log levels; don't show bootstrap output if there
is no error.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-26 17:15:37 -06:00
Zack Cerza
0dcf3f4d71 --dead implies --refresh
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-26 16:41:43 -06:00
Zack Cerza
d42f31e5d3 Symlink worker log after child starts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-26 16:22:32 -06:00
Zack Cerza
34478127d2 In find_job_info(), also look for orig.config.yaml
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-26 13:13:41 -06:00
Zack Cerza
f8a2a53c59 Push complete info when reporting jobs as dead
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-26 12:09:04 -06:00
Zack Cerza
0db35b9571 Merge pull request from ceph/wip-queue
Add teuthology-queue command for beanstalk Managmeent.
2014-02-26 11:47:02 -06:00
Gregory Farnum
700bb94ba4 Merge pull request from ceph/wip-7485
task: Add mds_creation_failure

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-02-26 09:46:43 -08:00
Alfredo Deza
6ba89851f1 fix docstring typo
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-02-26 08:17:48 -05:00
John Spray
7cc93751e7 task: Add mds_creation_failure
This is test code to accompany CephFS fix .

Also fix DaemonState.wait_for_exit to clear up its 'proc'
attribute even if it fails, so that subsequent calls to 'restart'
happen properly.

Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-26 13:03:15 +00:00
Sandon Van Ness
26f00fc541 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>
2014-02-25 19:57:41 -08:00
Sandon Van Ness
e04f8fd3cd 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>
2014-02-25 11:13:31 -08:00
Alfredo Deza
2591935180 use itertools for seconds sum
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-02-24 16:22:59 -05:00
Alfredo Deza
60892ca995 tests for the new while helper
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-02-24 16:21:58 -05:00
Zack Cerza
38cead630b Flip logic of checking whether a branch can report
Previously we checked if the branch being used was in a whitelist of
branches known to contain the reporting feature. Now, switch to checking
against a blacklist of branches known to *not* have the feature:
argonaut, bobtail, cuttlefish and dumpling.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-24 15:01:58 -06:00
Alfredo Deza
171a5e1ac5 add a helper for while loops
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-02-24 15:09:18 -05:00
Sage Weil
6e28480693 schedule_suite: debug filestore = 20 too
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-21 13:51:12 -08:00
Alfredo Deza
ae61abf0de Merge pull request from kdreyer-inktank/jenkins
jenkins: fail fast during job execution
2014-02-21 16:01:00 -05:00
Zack Cerza
7e625d27f0 Merge pull request from ceph/wip-osd-debug
schedule_suite: debug osd = 20 for the time being
2014-02-21 13:25:30 -06:00
Sage Weil
70e217f074 schedule_suite: debug osd = 20 for the time being
This will make it easier to chase the first pass of firefly bugs.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-21 11:15:40 -08:00
Alfredo Deza
084c6aed3f Merge pull request from ceph/wip-devstack
Add devstack task
2014-02-21 13:20:18 -05:00
Ken Dreyer
a53454ba8d 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>
2014-02-21 11:11:47 -07:00
Zack Cerza
6671d02df3 Merge pull request from ceph/wip-fix7397-wusui
Do not spawn a parallel task if dictionary entry does not exist.
2014-02-21 12:08:37 -06:00
Zack Cerza
ca600a2e04 Add unit test for task.devstack.parse_os_table()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-21 11:23:31 -06:00
Zack Cerza
5411613599 Add debug output for reconnect() failures
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-21 10:18:41 -06:00
Zack Cerza
05842e9f84 Add explanations to asserts
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-21 09:57:29 -06:00
Zack Cerza
cfb7b948ea Guard against ctx.config being unset or None
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-21 09:43:33 -06:00
Warren Usui
dadc9f7d0b Do not spawn a parallel task if dictionary entry does not exist.
Fixes: 7397
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-02-20 20:18:28 -08:00
Zack Cerza
b92578e507 Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:51:36 -06:00
Zack Cerza
b638dc410c Don't run the exercise subtask by default
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:09 -06:00
Zack Cerza
741b4de337 Add a retry to the rbd volume verification
This was running into an auth problem intermittently that Josh Durgin
said is likely not a real problem. Still, try the original call first
and fall back to a different one if it fails.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:09 -06:00
Zack Cerza
aecd98d763 Fix incorrect exception name in docstring
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:09 -06:00
Zack Cerza
830748a64a Move external docs URLs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:09 -06:00
Zack Cerza
f7b1d92267 Wait 30s for Keystone to start
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:09 -06:00
Zack Cerza
11b60fef81 Change usages of StringIO.read() to getvalue()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:09 -06:00
Zack Cerza
fdaaee57da Source openrc before creating volume
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:09 -06:00
Zack Cerza
f53028f9d5 Add a new subtask: smoke()
Currently it creates a volume, then verifies that the volume exists in
Ceph - as opposed to some other place. This is intended to verify that
we've configured DevStack at least somewhat correctly.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-20 17:46:08 -06:00