Commit Graph

2248 Commits

Author SHA1 Message Date
Zack Cerza
5aa5566b3a Don't explode when finding an empty job
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-26 12:33:40 -05:00
Zack Cerza
859e66b38a Merge pull request #232 from ceph/wip-suite-priority
suite: allow priority to be set
2014-03-26 12:16:17 -05:00
Sage Weil
67844e0ef3 suite: allow priority to be specified when scheduling
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-26 10:09:12 -07:00
Josh Durgin
b2cf052a08 rgw: allow overriding options
This is mainly useful for toggling ec/replicated pools right now.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-25 18:04:35 -07:00
Josh Durgin
812e48a148 radosgw-admin: skip data sync tests when only metadata is configured
Fixes http://tracker.ceph.com/issues/7818

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-25 14:57:50 -07:00
Josh Durgin
f89c0d59fb rgw: fix ec-data-pool config
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-25 14:57:50 -07:00
Zack Cerza
f250da841f Add log statement to find_run_info()
Sometimes it takes a while.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:50:03 -05:00
Zack Cerza
b3d0c19f5f Exit gracefully on KeyboardInterrupt
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:40:56 -05:00
Zack Cerza
03974bf583 Add --description flag
Default to not printing job descriptions. Add -d/--description flag to
control that behavior. Change --delete's short option to -D. Other small
output tweaks.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:38:34 -05:00
Zack Cerza
a6658fd892 s/JOB/PATTERN/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:31:07 -05:00
Zack Cerza
cfe4c8be81 Tweak usage
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:29:56 -05:00
Zack Cerza
4bedc5488f Correct help text
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:28:56 -05:00
Zack Cerza
381ecea8b6 Fix lots of linter errors
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:27:54 -05:00
Zack Cerza
70ab6e0315 Add --preserve-queue to teuthology-kill
For any cases where we just want to kill the running jobs and not delete
any scheduled jobs. This only applies to killing entire runs and is not
the default.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 10:18:33 -05:00
Zack Cerza
c404be6162 Postpone creation of logger object
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 10:07:52 -05:00
Josh Durgin
47ba1711d7 rgw: add option to use erasure coding instead of replication
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-24 18:19:41 -07:00
Josh Durgin
0cb00b1fb9 radosgw-agent: default to 1000 max entries
Using a small number of max entries is only needed for one test, so
make it configurable. Setting it too low makes s3tests fail.

Fixes http://tracker.ceph.com/issues/7742

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-24 14:54:36 -07:00
Josh Durgin
3e1683064c internal: cleaner fix for binary gibberish in logs
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-24 14:26:36 -07:00
Josh Durgin
b677bdd1bb internal: ignore binary junk in kernel logs
NUL bytes can show up here after powercycle testing

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-24 14:14:40 -07:00
Josh Durgin
190d8183e9 ceph: ignore daemon types that aren't configured
not every cluster needs an mds

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-24 14:14:40 -07:00
Sage Weil
752a76fb48 radosgw-agent: use our mirror instead of github
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-21 13:50:10 -07:00
Sage Weil
9b6f93a5b2 Merge remote-tracking branch 'gh/firefly' 2014-03-21 09:12:40 -07:00
Alfredo Deza
7b5d693db4 Merge pull request #231 from ceph/wip-fix-rgw
fix rgw task
2014-03-21 11:38:26 -04:00
Sage Weil
4e2f36fcd8 rgw: handle empty conf case
2014-03-20T23:30:28.964 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/teuthology-firefly/teuthology/contextutil.py", line 27, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/teuthology-firefly/teuthology/task/rgw.py", line 83, in ship_config
    idle_timeout = conf.get('idle_timeout', 30)
AttributeError: 'NoneType' object has no attribute 'get'

This happens with job yamls like:

- rgw:
  - client.0

(where it is a list and not a dict of clients)

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-21 08:36:24 -07:00
Sage Weil
7dcfdd288f Merge remote-tracking branch 'gh/firefly' 2014-03-20 16:50:15 -07:00
Sage Weil
2943267a7e Merge pull request #230 from ceph/wip-7702
rgw: allow fastcgi idle timeout to be adjusted

Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
2014-03-20 16:48:44 -07:00
Sage Weil
3a2b77c142 rgw: allow fastcgi idle timeout to be adjusted
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-20 16:09:52 -07:00
Sage Weil
daa5429278 Merge branch 'firefly' 2014-03-20 10:35:30 -07:00
Sage Weil
7088885ecd internal: ignore ext4 recovery msg
plana43 kernel: [   21.179205] EXT4-fs (sda1): INFO: recovery required on readonly filesystem

is harmless.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-18 15:23:16 -07:00
Sage Weil
5679ae2a1f Merge branch 'firefly' 2014-03-18 15:01:04 -07:00
Sage Weil
8e748c0c2e ceph.conf: tolerate 500ms of clock drift (up from 250)
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-18 15:00:55 -07:00
Sage Weil
fb7b1f8768 Merge remote-tracking branch 'gh/firefly' 2014-03-17 20:56:51 -07:00
Sage Weil
1822a1ccdc Merge pull request #229 from dachary/wip-ec-pool
ceph_manager: update ec_pool creation parameters
2014-03-17 18:08:15 -07:00
Loic Dachary
6acfa6d638 ceph_manager: update ec_pool creation parameters
As of https://github.com/ceph/ceph/pull/1477 the erasure code parameters
are controled via the osd erasure-code-profile set command instead of
being inlined and duplicated in the crush ruleset creation and the pool
creation. There is no need to create the crush ruleset, it is done
implicitly.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-18 00:48:53 +01:00
Samuel Just
2b90be2b2b ceph_manager: default to 16 initial pgs per pool
1 is really too few for anything to happen at a
reasonable rate.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-03-17 16:11:39 -07:00
Samuel Just
847462b4b1 ceph_manager::wait_for_clean: reset timeout if we make progress
Fixes: #7748
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-03-17 16:11:36 -07:00
Josh Durgin
a4261af71b Merge pull request #227 from ceph/wip-7749
Pass '--object-sync-timeout 30' to radosgw-agent

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-17 12:10:27 -07:00
Zack Cerza
ef2edcd3a9 Pass '--object-sync-timeout 30' to radosgw-agent
http://tracker.ceph.com/issues/7749

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-17 14:00:08 -05:00
Zack Cerza
7f177b3a55 Merge pull request #226 from ceph/wip-7714
prevent undefined values in finally block
2014-03-17 13:42:27 -05:00
Zack Cerza
98e27d7b13 Fix max_job_time timeout
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-17 11:19:02 -05:00
Alfredo Deza
57c8fd9687 prevent undefined values in finally block
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-03-17 10:49:31 -04:00
Sage Weil
8f542dbacb schedule_suite.sh: turn up journal log too
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-17 09:42:12 -05:00
Sandon Van Ness
d3c294d206 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>
2014-03-17 09:42:11 -05:00
Sage Weil
d72335fe9a Merge remote-tracking branch 'gh/firefly' 2014-03-13 13:15:04 -07:00
Sage Weil
1ccabd802f lock: allow -a with --brief
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-12 08:57:23 -07:00
Sandon Van Ness
b455846d9f 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>
2014-03-11 18:54:02 -07:00
wusui
e5b65b4578 Merge pull request #222 from ceph/wip-trusty
Handle newer btrfstools.
2014-03-11 18:48:13 -07:00
Sandon Van Ness
a5a94ae310 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>
2014-03-11 18:15:12 -07:00
Samuel Just
1c611330cd radosbench: cleanup will probably take longer than writing the objects
With thrashing, cleanup will require recovering the degraded objects
first, while the initial write out doesn't since they they are new
objects.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-03-11 13:55:32 -07:00
wusui
a9a826adb8 Merge pull request #220 from ceph/wip-print
Add print task.
2014-03-11 09:41:39 -07:00