]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Zack Cerza [Tue, 8 Oct 2013 19:50:57 +0000 (14:50 -0500)]
PEP-8
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 8 Oct 2013 19:21:23 +0000 (14:21 -0500)]
Move teuthology-worker's arg parsing to scripts/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 8 Oct 2013 16:54:41 +0000 (11:54 -0500)]
Move teuthology-ls's arg parsing to scripts/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 8 Oct 2013 16:40:28 +0000 (11:40 -0500)]
More PEP-8 cleanup
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 8 Oct 2013 16:34:09 +0000 (11:34 -0500)]
Move teuthology-suite's arg parsing to scripts/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Sep 2013 21:31:44 +0000 (16:31 -0500)]
Move teuthology-nuke's arg parsing to scripts/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 9 Oct 2013 20:13:58 +0000 (15:13 -0500)]
Add scripts/ module
Zack Cerza [Mon, 30 Sep 2013 21:18:39 +0000 (16:18 -0500)]
PEP-8 cleanup
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
tamil [Thu, 10 Oct 2013 00:12:16 +0000 (17:12 -0700)]
ignoring -X option in apache as it was causing s3test failures on the rpms.
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Alfredo Deza [Mon, 7 Oct 2013 16:02:08 +0000 (09:02 -0700)]
Merge pull request #126 from ceph/wip-store-results
Reflect paddles API change: jobs in jobs/
Zack Cerza [Mon, 7 Oct 2013 15:00:03 +0000 (10:00 -0500)]
Reflect paddles API change: jobs in jobs/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Fri, 4 Oct 2013 20:34:53 +0000 (13:34 -0700)]
Merge pull request #125 from ceph/wip-store-results
Add more tests for ReportSerializer
Zack Cerza [Thu, 3 Oct 2013 21:23:15 +0000 (16:23 -0500)]
Add more tests for ReportSerializer
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Fri, 4 Oct 2013 20:08:55 +0000 (13:08 -0700)]
Merge pull request #124 from ceph/wip-store-results
Various fixes related to reporting
Zack Cerza [Fri, 4 Oct 2013 19:04:43 +0000 (14:04 -0500)]
Tweak logic of try_push_job_info()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 4 Oct 2013 18:42:57 +0000 (13:42 -0500)]
Make most of lock_machines() PEP-8 clean.
Also, use some better variable names.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 4 Oct 2013 17:41:02 +0000 (12:41 -0500)]
Make teuthology-schedule also print the job's name
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 4 Oct 2013 17:35:03 +0000 (12:35 -0500)]
Store the job_id as a str, not an int.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 4 Oct 2013 17:05:42 +0000 (12:05 -0500)]
Move teuthology.report import; add large warning
Because of the monkey patching, if we get the import order wrong bad
things happen.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Fri, 4 Oct 2013 16:22:10 +0000 (09:22 -0700)]
Merge pull request #123 from ceph/wip-store-results
Fix issue with monkey patching
Zack Cerza [Fri, 4 Oct 2013 15:25:07 +0000 (10:25 -0500)]
Add (and use) try_push_job_info() for easy pushin'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 4 Oct 2013 13:44:09 +0000 (08:44 -0500)]
Move new imports to inside main()
The monkey patch stuff was causing problems again.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Thu, 3 Oct 2013 23:34:09 +0000 (16:34 -0700)]
schedule_suite.sh: include default machine type in job name
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Thu, 3 Oct 2013 21:14:01 +0000 (14:14 -0700)]
Merge pull request #121 from ceph/wip-store-results
Submit teuthology results to a paddles instance
Zack Cerza [Thu, 3 Oct 2013 20:51:11 +0000 (15:51 -0500)]
Add test for test_all_runs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Oct 2013 20:32:02 +0000 (15:32 -0500)]
Clarify job vs. run
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Oct 2013 20:11:08 +0000 (15:11 -0500)]
Create a FakeArchive class to forge test results
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 3 Oct 2013 16:44:47 +0000 (11:44 -0500)]
Escape reserved characters in URIs
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 23:27:09 +0000 (18:27 -0500)]
Report results synchronously.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 23:09:43 +0000 (18:09 -0500)]
Add more documentation.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 22:57:07 +0000 (17:57 -0500)]
Add create_run() and push_job_info() with docs.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 21:28:08 +0000 (16:28 -0500)]
s/submit_/report_/g
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 21:26:48 +0000 (16:26 -0500)]
Rename ResultsPoster to ResultsReporter
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 21:24:13 +0000 (16:24 -0500)]
Add create_run; allow passing json to submit_job
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 21:09:31 +0000 (16:09 -0500)]
Overhaul posting logic to avoid some corner cases
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 17:45:25 +0000 (12:45 -0500)]
Add flag for refreshing already-pushed runs
Also tweak implementation of save_last_run
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 17:18:42 +0000 (12:18 -0500)]
Remove old method used for testing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 17:13:30 +0000 (12:13 -0500)]
Add --server flag
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 16:26:07 +0000 (11:26 -0500)]
Reuse connection objects.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 15:57:11 +0000 (10:57 -0500)]
Add argument parsing to make this a proper script.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 1 Oct 2013 23:41:46 +0000 (18:41 -0500)]
A first pass at integration with paddles
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 2 Oct 2013 22:01:57 +0000 (15:01 -0700)]
Merge pull request #120 from ceph/wip-6243
Wip 6243
Dan Mick [Wed, 2 Oct 2013 21:25:03 +0000 (14:25 -0700)]
rest-api.py: test that ceph-rest-api is up and servicing requests
Wait for the daemon to actually be ready before continuing with other
tasks. Loop 12 times, waiting 5s, before deciding something's wrong.
Fixes: #6243
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Dan Mick [Wed, 2 Oct 2013 21:23:45 +0000 (14:23 -0700)]
rest-api.py: fix up client identification
The code to extract which clients to start the API on was confused;
fix it up. Also, strip off 'client.' instead of 'clients' (since it
was done with len(), the result was the same, but confusing)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Sage Weil [Wed, 2 Oct 2013 20:21:14 +0000 (13:21 -0700)]
Revert "ceph.conf: filestore sloppy crc = true"
This reverts commit
631476b9796f817e5f1654affb6b2a5aacfe9a80 .
This fails on ext4 because of xattr size limits.
Sage Weil [Wed, 2 Oct 2013 03:57:53 +0000 (20:57 -0700)]
nuke: s/run_name/name/
This matches an existing argument (with the same meaning) and
avoids an error like
2013-10-01T17:20:35.395 CRITICAL:root: File "/var/lib/teuthworker/teuthology-master/virtualenv/bin/teuthology", line 9, in <module>
load_entry_point('teuthology==0.0.1', 'console_scripts', 'teuthology')()
File "/home/teuthworker/teuthology-master/teuthology/run.py", line 235, in main
nuke(ctx, log, ctx.lock)
File "/home/teuthworker/teuthology-master/teuthology/nuke.py", line 391, in nuke
if ctx.run_name:
2013-10-01T17:20:35.395 CRITICAL:root:AttributeError: 'Namespace' object has no attribute 'run_name'
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Tue, 1 Oct 2013 23:40:44 +0000 (16:40 -0700)]
Merge pull request #118 from ceph/wip-nukeskip
Check description of machines before nuking when -a is passed
Zack Cerza [Tue, 1 Oct 2013 23:39:35 +0000 (16:39 -0700)]
Merge pull request #95 from ceph/wip-empty
don't summarize an empty run
Sandon Van Ness [Tue, 17 Sep 2013 21:11:58 +0000 (14:11 -0700)]
Check description of machines before nuking when -a is passed
When teuthology-nuke is passed with --archive/-a to kill and nuke
machines from an archive folder it blindly will nuke all the
targets it grabs from the config.yaml in the archive dir. This
change will check the description of locked machines and make sure
the run name is in the description. if not it removes the target
from the list passed to nuke().
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sage Weil [Fri, 13 Sep 2013 15:39:30 +0000 (08:39 -0700)]
suite: don't schedule follow-on summary job for an empty run
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 17 Sep 2013 18:19:01 +0000 (11:19 -0700)]
suite: fix num_jobs count
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Tue, 1 Oct 2013 23:08:05 +0000 (16:08 -0700)]
Merge pull request #116 from ceph/wip-sudoers-sync
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Zack Cerza [Tue, 1 Oct 2013 16:59:53 +0000 (09:59 -0700)]
Merge pull request #115 from ceph/wip-priority
add priorities to scheduling
Sage Weil [Tue, 1 Oct 2013 16:57:34 +0000 (09:57 -0700)]
nuke: make half-hearted attempt to sync before reboot
We don't want to block on sync for fear of a hung kernel
mount. However, we can give it a try and wait a few seconds
to get what we can.
This fixes a problem where our recent modifications to the
sudoers file are lost, with a 0 byte file left in its place,
because the task fails and we do a reboot -f -n.
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Tue, 1 Oct 2013 14:11:44 +0000 (07:11 -0700)]
Merge pull request #117 from ceph/wip-tests
Port tests to py.test; add a couple tests
Zack Cerza [Mon, 30 Sep 2013 20:26:01 +0000 (15:26 -0500)]
Fix test
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Sep 2013 19:21:15 +0000 (14:21 -0500)]
Add test for skipping host key verification
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Sep 2013 18:30:28 +0000 (13:30 -0500)]
Port from nosetests to py.test
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Sep 2013 19:21:43 +0000 (14:21 -0500)]
Add another config test
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 30 Sep 2013 19:18:59 +0000 (14:18 -0500)]
Don't use properties
They're quite inconvenient for this use-case.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Mon, 30 Sep 2013 23:22:19 +0000 (16:22 -0700)]
ceph.conf: filestore sloppy crc = true
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 27 Sep 2013 19:02:37 +0000 (12:02 -0700)]
schedule: show priority on -s
Make output a bit nicer too.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 27 Sep 2013 18:57:55 +0000 (11:57 -0700)]
schedule: priority option
Default to 1000. Note that beanstalk priority is 2^31, so this
won't mix well with older code scheduling things at the
beanstalk default priority.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 26 Sep 2013 20:37:20 +0000 (13:37 -0700)]
valgrind: suppress inet_ntop noise
See #6240
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Thu, 26 Sep 2013 19:10:06 +0000 (12:10 -0700)]
Merge pull request #114 from ceph/wip-linter
Fix lots of linter errors
Zack Cerza [Thu, 26 Sep 2013 19:03:44 +0000 (14:03 -0500)]
Move 'import os' to inside main()
This is necessary because of the monkey-patching.
Zack Cerza [Thu, 26 Sep 2013 17:21:39 +0000 (12:21 -0500)]
Add '# noqa' to suppress a linter error
Fixing this would require some more significant changes... and tempt me
with rewriting every module in the directory.
(cherry picked from commit
3fc39a59fd415a4e4e6f2a0354fe900477167e51 )
Zack Cerza [Thu, 26 Sep 2013 16:42:02 +0000 (11:42 -0500)]
Don't redefine variable
(cherry picked from commit
083717c1b4022289806030faf23ff7c4aa371f19 )
Zack Cerza [Thu, 26 Sep 2013 16:09:55 +0000 (11:09 -0500)]
Remove unused variables
(cherry picked from commit
581b6b3e977b99fc58fe25e66c933c65e38dc87c )
Zack Cerza [Thu, 26 Sep 2013 15:47:43 +0000 (10:47 -0500)]
Remove unused imports
(cherry picked from commit
586817481119c4fc4a39f8804e7871a43491e01f )
Zack Cerza [Thu, 26 Sep 2013 15:32:28 +0000 (10:32 -0500)]
Fix undefined name errors
(cherry picked from commit
f59497ef2214f29d5995435d83766c7994e8f2cd )
Zack Cerza [Thu, 26 Sep 2013 15:29:45 +0000 (10:29 -0500)]
Make teuthology.locker a module
Zack Cerza [Thu, 26 Sep 2013 15:29:17 +0000 (10:29 -0500)]
Add missing requirement: web.py
(cherry picked from commit
1b3349525c361d4253f76729f8416ac6d9029289 )
Alfredo Deza [Thu, 26 Sep 2013 15:49:51 +0000 (11:49 -0400)]
add flake8 checks to teuthology
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
(cherry picked from commit
27c9eb8f81dc25c7b50bfb77d4d2d4ab4d136fb6 )
(cherry picked from commit
b390d68ff4b7a648da3f22bd5ae34651d02fd915 )
Alfredo Deza [Thu, 26 Sep 2013 12:36:08 +0000 (05:36 -0700)]
Merge pull request #111 from ceph/wip-missing-packages
If we're scheduling for non-ubuntu, look for rpms
Zack Cerza [Wed, 25 Sep 2013 22:36:04 +0000 (17:36 -0500)]
If we're scheduling for non-ubuntu, look for rpms
Zack Cerza [Wed, 25 Sep 2013 20:49:23 +0000 (13:49 -0700)]
Merge pull request #110 from ceph/wip-nuke-import-os
nuke: add missing import os
Sage Weil [Wed, 25 Sep 2013 20:42:03 +0000 (13:42 -0700)]
nuke: add missing import os
$ teuthology-nuke -a . -r -u
Traceback (most recent call last):
File "/home/ubuntu/bin/teuthology-nuke", line 9, in <module>
load_entry_point('teuthology==0.0.1', 'console_scripts', 'teuthology-nuke')()
File "/home/ubuntu/teuthology/teuthology/nuke.py", line 343, in main
ifn = os.path.join(ctx.archive, 'info.yaml')
UnboundLocalError: local variable 'os' referenced before assignment
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Wed, 25 Sep 2013 13:50:35 +0000 (06:50 -0700)]
Merge pull request #109 from ceph/wip-6388
only use host_key if it is not None
Alfredo Deza [Wed, 25 Sep 2013 13:25:35 +0000 (09:25 -0400)]
only use host_key if it is not None
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Tue, 24 Sep 2013 23:50:07 +0000 (16:50 -0700)]
rbd: move xfstest TESTDIR=... bit to front of command
2013-09-24T11:32:49.169 DEBUG:teuthology.orchestra.run:Running [10.214.132.4]: "/usr/bin/sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage TESTDIR=/home/ubuntu/cephtest /bin/bash /home/ubuntu/cephtest/run_xfstests.sh -c 1 -f xfs -t /dev/rbd1 -s /dev/rbd2 '1-9 11-15 17 19-21 26-29 31-34 41 46-
54 56 61 63-67 69-70 74-76 78-79 84-89 91'"
2013-09-24T11:32:49.211 INFO:teuthology.task.rbd.client.1.err:[10.214.131.22]: /usr/bin/ceph-coverage: 25: exec: TESTDIR=/home/ubuntu/cephtest: not found
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Tue, 24 Sep 2013 19:19:24 +0000 (14:19 -0500)]
Fix namespace collision
Sage Weil [Tue, 24 Sep 2013 17:03:24 +0000 (10:03 -0700)]
ceph.conf: fix typo
Signed-off-by: Sage Weil <sage@inktank.com>
Zack Cerza [Tue, 24 Sep 2013 16:48:11 +0000 (11:48 -0500)]
Add config option 'verify_host_keys'
Defaults to True, meaning no change in behavior. If False, don't have
paramiko verify ssh host keys.
Zack Cerza [Tue, 24 Sep 2013 16:41:44 +0000 (09:41 -0700)]
Merge pull request #107 from ceph/wip-fix-undefined-config
fix an undefined name buy importing config
Alfredo Deza [Tue, 24 Sep 2013 16:39:43 +0000 (12:39 -0400)]
fix an undefined name buy importing config
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Tue, 24 Sep 2013 15:49:32 +0000 (08:49 -0700)]
ceph.conf: reduce min pg per osd
Signed-off-by: Sage Weil <sage@inktank.com>
Alfredo Deza [Tue, 24 Sep 2013 15:17:22 +0000 (08:17 -0700)]
Merge pull request #106 from ceph/wip-mirror
Remove lots of ceph.com hardcoding; default to upstream sources
Zack Cerza [Tue, 24 Sep 2013 15:09:04 +0000 (10:09 -0500)]
Split test into two
Alfredo Deza [Tue, 24 Sep 2013 13:59:49 +0000 (06:59 -0700)]
Merge pull request #105 from ceph/wip-missing-packages
When scheduling fails, send an email.
Zack Cerza [Tue, 24 Sep 2013 01:14:28 +0000 (20:14 -0500)]
When scheduling fails, send an email.
Note that if no email is passed on the command line, no error email will
be sent. I did this to be polite.
Zack Cerza [Fri, 20 Sep 2013 20:53:58 +0000 (15:53 -0500)]
Don't hardcode the git://ceph.com/git/ mirror
Default to https://github.com/ceph/ but add a ~/teuthology.yaml option
Zack Cerza [Fri, 20 Sep 2013 20:53:00 +0000 (15:53 -0500)]
Don't hardcode ceph.com mirror for linux-firmware
Zack Cerza [Fri, 20 Sep 2013 20:50:52 +0000 (13:50 -0700)]
Merge pull request #103 from ceph/toxify
Toxify teuthology
Alfredo Deza [Fri, 20 Sep 2013 20:28:29 +0000 (16:28 -0400)]
move the sitepackages to testenv section
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Fri, 20 Sep 2013 20:25:57 +0000 (16:25 -0400)]
tell py.test that we want teuthology stuff only
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Fri, 20 Sep 2013 20:13:49 +0000 (16:13 -0400)]
tell tox to use site-packages
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Fri, 20 Sep 2013 16:57:30 +0000 (12:57 -0400)]
just use python 2.7 for now
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Fri, 20 Sep 2013 16:50:13 +0000 (12:50 -0400)]
make sure we don't hard code the path for py.test
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Fri, 20 Sep 2013 16:44:27 +0000 (12:44 -0400)]
append .tox to avoid going in there
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>