Warren Usui
eef2bf672b
Fix kvm issues for Trusty
...
Change kvm reference to qemu-system-x86_64 and use raw format
in kvm/qemu command. Tested on both Trusty and Precise.
Fixes: 7825
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-04-14 16:07:27 -07:00
Dan Mick
6dc29904c6
Change status to _status everywhere (fix regression)
...
0550dd1191
didn't add '_' to 'status'
everywhere it was needed.
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-04-10 14:53:10 -07:00
Sage Weil
364d0b4091
ceph.conf: longer client_moutn_timeout (which also applies to librados)
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-10 13:24:41 -07:00
GregMeno
f1d6323661
Merge pull request #238 from ceph/wip-pep8
...
Wip pep8
2014-04-09 16:59:28 -04:00
Alfredo Deza
0550dd1191
more statuses redefinition fixes
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-04-09 16:56:19 -04:00
Alfredo Deza
30f3b01a0d
rename variable to avoid collision
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-04-09 16:36:18 -04:00
Alfredo Deza
b476ec297e
remove unused import
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-04-09 16:27:25 -04:00
Alfredo Deza
15a3acb713
fix redefinition of region
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-04-09 16:26:47 -04:00
Josh Durgin
0bed25c650
Merge pull request #236 from ceph/wip-fix-mon-warn-corrected
...
changed mon data avail warn to avoid monitor storage warnings
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-04-08 18:25:14 -07:00
Yuri Weinstein
b3218eeb09
changed mon data avail warn to avoid monitor storage warnings
2014-04-08 18:21:56 -07:00
Sage Weil
a0c1952d58
ceph.conf: don't force lockdep on mds
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-07 16:02:33 -07:00
Zack Cerza
2e997aa7b1
Report job updated time
...
When reading job information from archive files, use the mtime of
teuthology.log as the job updated time
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-31 23:12:34 -05:00
Zack Cerza
796af560a3
Handle jobs with no targets
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-31 21:07:24 -05:00
Zack Cerza
addfed2da8
When ignoring a raised exception, at least log it
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-31 17:46:27 -05:00
Zack Cerza
4efb57d3bd
Provide real error messages for unfound (sub)tasks
...
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-31 09:57:19 -05:00
Sage Weil
f895d16c9e
valgrind.supp: be less picky about library versions
...
...so that this works on trusty
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-29 09:39:46 -07:00
Josh Durgin
dfdeb5c3c0
radosgw-agent: coerce max-entries config to a string
...
This is necessary to pass it as a command line argument.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-03-27 17:22:00 -07:00
Zack Cerza
3bbea51751
Merge pull request #234 from ceph/wip-priority
...
schedule_suite: ugly hack to set priority when scheduling
2014-03-27 13:09:09 -05:00
Yehuda Sadeh
b6ad5c6ce2
rgw: idle timeout config moves to the external server line
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2014-03-27 10:24:00 -07:00
Sage Weil
fd6056bedf
schedule_suite: ugly hack to set priority when scheduling
...
I don't want to add another arg at the end of the very long list of
optional args, so I'll use an environment variable. Ugly! But this whole
script needs to be replace anyway.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-27 10:13:00 -07:00
Zack Cerza
158f9ba1ff
Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'"
...
This reverts commit d693b3f895
.
2014-03-27 11:35:28 -05:00
Warren Usui
d693b3f895
Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'
...
and '(remote,) = ctx.cluster.only(role).remotes.iterkeys()' would fail with
ValueError and no message if there were less than 0 or more than 1 key.
Now a new function, get_single_remote_value() is called which prints out
more understandable messages.
Fixes: 7510
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2014-03-26 18:43:48 -07:00
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