Alfredo Deza
a4f0551fda
Merge pull request #75 from ceph/wip-tube
...
queue: include tube name in worker logs
2013-09-06 09:27:43 -07:00
Sage Weil
1a03b17568
Merge pull request #76 from ceph/wip-5954
...
Be polite and restore /etc/sudoers when done
2013-09-06 09:23:51 -07:00
Sage Weil
5cd2f08132
queue: include tube name in worker logs
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 09:19:30 -07:00
Zack Cerza
f0eabc970f
Be polite and restore /etc/sudoers when done
2013-09-06 11:18:17 -05:00
Sage Weil
4857a2a0f0
Merge pull request #74 from ceph/wip-5954
...
Wip 5954
2013-09-05 15:16:32 -07:00
Sage Weil
7db9311ab7
Merge pull request #73 from ceph/wip-5954-alt
...
Via automagic, only call ulimit -n if running as root.
2013-09-05 15:15:55 -07:00
Zack Cerza
d6e8b2337f
Add internal.sudo subtask.
2013-09-05 16:56:11 -05:00
Zack Cerza
6d1ed573f3
Let execute() accept a string for args.
2013-09-05 16:55:38 -05:00
Zack Cerza
6406a1ecc8
Add Cluster.write_file()
2013-09-05 16:55:37 -05:00
Zack Cerza
8f2fb9da32
Use misc.get_archive_dir()
2013-09-05 16:55:37 -05:00
Zack Cerza
90f9a6ada1
Add get_archive_dir()
2013-09-05 16:55:37 -05:00
Zack Cerza
91fd0413cc
Put sudo in front of adjust-ulimits if it's used
2013-09-05 16:41:27 -05:00
Zack Cerza
8e37361b9a
Via automagic, only call ulimit -n if running as root.
...
Also, add comments because comments are cool.
2013-09-05 16:30:28 -05:00
Sandon Van Ness
d34ba1647f
Run yum clean all after installing new ceph-release.
...
In order to get around the issue of repomd.xml being older than
the previously installed one depending on when the gitbuilder
built the repo.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2013-09-05 11:58:27 -07:00
Zack Cerza
0f63cedd2f
Merge pull request #71 from ceph/wip-no-pythonpath
...
drop obsolete PYTHONPATH settings
2013-09-04 14:24:26 -07:00
Sage Weil
c155dce1b2
drop obsolete PYTHONPATH settings
...
These are left over from when we were extracting a tarball in the test dir.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-04 14:21:01 -07:00
Zack Cerza
89f1139d83
Append '/' to the end of the log directory path
2013-09-04 15:16:33 -05:00
Zack Cerza
a26c831398
Merge pull request #64 from ceph/wip-nuke-info
...
nuke: get pid, owner from info.yaml (if present)
2013-09-04 09:16:04 -07:00
Zack Cerza
7dee3a1321
Merge pull request #65 from ceph/wip-schedule
...
schedule: strip out targets
2013-09-04 09:13:39 -07:00
Zack Cerza
f24e42bbb2
Merge pull request #68 from alfredodeza/6224
...
add the missing for fedora links in install task
2013-09-04 07:04:05 -07:00
Alfredo Deza
a9522ae245
add the missing for fedora links in install task
...
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-04 09:03:28 -04:00
Sage Weil
d5e265dc5b
schedule_suite.sh: turn up osd logging a little
...
We have a collectin of bugs that we haven't been able to
reproduce but crop up regularly in the nightlies. Sam's best
guess is a dropped message, so let's try to catch that.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-03 21:56:32 -07:00
Warren Usui
a455b16fc1
Add missing sudo from command.
...
Fixes : #6218
2013-09-03 14:35:00 -07:00
Alfredo Deza
2d7054d1f9
Merge pull request #67 from ceph/wip-3791
...
Wip 3791
2013-09-03 14:07:36 -07:00
Zack Cerza
5985c9d5ab
Add note about public teuthology logs.
2013-09-03 16:05:02 -05:00
Zack Cerza
516406324a
Wrap paragraphs.
2013-09-03 16:02:17 -05:00
Alfredo Deza
21b5dbd4e4
Merge pull request #66 from ceph/wip-specific-exceptions
...
Catch CommandFailedError and print debug info
2013-09-03 13:24:45 -07:00
Zack Cerza
f744c4ce53
Catch CommandFailedError and print debug info
2013-09-03 14:40:31 -05:00
Sage Weil
f3db12f025
schedule: strip out targets
...
If the user feeds in a yaml with targets, the worker will launch the job
but fail with
2013-09-03T11:18:34.333 CRITICAL:root:AssertionError: You cannot specify targets in a config file when using the --lock option
Just strip them out before scheduling. This eases my personal workflow
where I have a test I'm running manually against some prelocked machines
but also want to schedule it.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-03 12:05:38 -07:00
Zack Cerza
f36f16a669
Logs and Sentry links are public now.
2013-09-03 13:46:31 -05:00
Sage Weil
4ba3d52018
Revert "Use install -d for /var/log/ceph."
...
This reverts commit 8f29b3f9f1
.
Reviewed-by: Warren Usui <warren.usui@inktank.com>
2013-09-03 11:09:39 -07:00
Sage Weil
38169979e4
schedule_suite.sh: default email to ceph-qa@ceph.com
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-01 08:48:41 -07:00
Sage Weil
3d64322cdb
Revert "get_scratch_devices(): catch CommandFailedError, log "dev in use""
...
This reverts commit 416508de9c
.
NameError: global name 'CommandFailedError' is not defined
2013-08-30 23:22:24 -07:00
Sage Weil
80b6140682
README: add deps
...
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-30 17:35:36 -07:00
tamil
35b9beab06
s/ceph-debug/ceph-debuginfo for rpms
...
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-08-30 17:35:15 -07:00
Dan Mick
416508de9c
get_scratch_devices(): catch CommandFailedError, log "dev in use"
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-08-30 15:42:53 -07:00
Sage Weil
dcbf50b86c
nuke: get pid, owner from info.yaml (if present)
...
Fall back to the old files if info.yaml is missing.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-30 10:02:27 -07:00
Alfredo Deza
e0d42c820e
Merge pull request #63 from ceph/wip-logger
...
Never use 'except:' without specifying an Exception.
2013-08-30 09:15:45 -07:00
Zack Cerza
3981a8f1af
Never use 'except:' without specifying an Exception.
2013-08-30 11:10:05 -05:00
Alfredo Deza
fbd7fe466a
Merge pull request #62 from ceph/wip-logger
...
Add hung job description to email
2013-08-30 07:50:30 -07:00
Sage Weil
f342baeb22
run: do not import at top level
...
This makes a run with --lock hang when connecting, for some
reason. E.g.,
$ teuthology -v a.yaml --lock
...
INFO:teuthology.task.internal:Opening connections...
DEBUG:teuthology.task.internal:connecting to ubuntu@plana06.front.sepia.ceph.com
<hangs>
No clue what is going on here, but this fixes it!
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-29 20:27:40 -07:00
Zack Cerza
24991c4ae0
Add hung job description to email
2013-08-29 17:08:51 -05:00
Alfredo Deza
47f16bd934
Merge pull request #61 from ceph/wip-logger
...
Log all the things! (Things like exceptions.)
2013-08-29 14:26:30 -07:00
Zack Cerza
44401f9a0e
Workers: only log child's stderr, not stdout
2013-08-29 16:12:36 -05:00
Zack Cerza
40f1d4fc58
Don't print colon if there's no exception message. Also, remove testing
...
exception.
2013-08-29 15:05:33 -05:00
Zack Cerza
83a5ab19b0
Pretty-up write_initial_metadata; s/run/name/
2013-08-29 15:05:33 -05:00
Zack Cerza
9550b49921
Add exception hook
2013-08-29 15:04:50 -05:00
Sage Weil
f6430df250
run: write info.yaml on job start
...
Include basic metadata bout the job.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-29 15:04:50 -05:00
Zack Cerza
a0e86c05bd
Move logging setup out of main()
2013-08-29 15:03:30 -05:00
Sage Weil
27eea4ad5e
test
2013-08-29 15:03:30 -05:00