Commit Graph

997 Commits

Author SHA1 Message Date
tamil
7b889797c3 ignoring -X option in apache as it was causing s3test failures on the rpms.
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-10-09 17:12:16 -07:00
Zack Cerza
f18c8f7e28 Make most of lock_machines() PEP-8 clean.
Also, use some better variable names.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-04 14:11:16 -05:00
Dan Mick
149b98e572 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>
2013-10-02 14:58:11 -07:00
Dan Mick
0ce72d7f01 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>
2013-10-02 14:25:34 -07:00
Sage Weil
2acceef699 valgrind: suppress inet_ntop noise
See #6240

Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-26 13:37:49 -07:00
Zack Cerza
622ce1115d Don't redefine variable
(cherry picked from commit 083717c1b4022289806030faf23ff7c4aa371f19)
2013-09-26 14:02:41 -05:00
Zack Cerza
8a11e4d053 Remove unused variables
(cherry picked from commit 581b6b3e977b99fc58fe25e66c933c65e38dc87c)
2013-09-26 14:01:56 -05:00
Zack Cerza
8497437003 Remove unused imports
(cherry picked from commit 586817481119c4fc4a39f8804e7871a43491e01f)
2013-09-26 14:01:37 -05:00
Sage Weil
2870ec5086 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>
2013-09-24 16:50:07 -07:00
Zack Cerza
218776b219 Fix namespace collision 2013-09-24 15:04:39 -05:00
Alfredo Deza
3e75cf3b89 fix an undefined name buy importing config
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2013-09-24 12:39:43 -04:00
Alfredo Deza
8f4b1974b0 Merge pull request #106 from ceph/wip-mirror
Remove lots of ceph.com hardcoding; default to upstream sources
2013-09-24 08:17:22 -07:00
Zack Cerza
0ce627874f Don't hardcode the git://ceph.com/git/ mirror
Default to https://github.com/ceph/ but add a ~/teuthology.yaml option
2013-09-20 15:53:58 -05:00
Zack Cerza
e6040f7887 Don't hardcode ceph.com mirror for linux-firmware 2013-09-20 15:53:00 -05:00
Sage Weil
bfb276091c rados: only pass --op copy_from if non-zero
Among other things, this does not work with older ceph_test_rados binaries.

Backport: next
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-20 12:56:45 -07:00
Zack Cerza
974aa6ae36 Put helper scripts in /usr/bin 2013-09-19 16:06:40 -05:00
Zack Cerza
bbda7522c6 Make sed expressions safe to run multiple times
Also, make them ignore commented lines.
2013-09-17 18:04:04 -05:00
Zack Cerza
8b63396ef6 Use teuthology-specific backup for /etc/sudoers 2013-09-16 15:25:16 -05:00
Zack Cerza
2db2ba781a Fix TypeError
(cherry picked from commit c4591a16e1781f8da3502b38e3dc72f629478312)
2013-09-12 16:42:59 -05:00
Sage Weil
89df90f68f rados: add --op copy_from ... support
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-10 16:53:18 -07:00
Sage Weil
748fa5e559 Merge pull request #85 from ceph/wip-testdir
remove basedir/testdir distinction
2013-09-10 12:20:29 -07:00
Sage Weil
5acc57f5ad remove basedir/testdir distinction
We should never run with a conflicting testdir in the basedir, and the
code to do this is confusing and buggy.  Go back to a single testdir and
simple checks.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-10 10:53:41 -07:00
Joe Buck
d47ae37e93 Adding in erroneously removed args
The 'kill' argument was accidentially removed
as part of patch
53b8e27da9

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-09-09 12:37:05 -07:00
Sage Weil
922aa09b4c fix a few missing adjust-ulimits users
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-08 15:12:51 -07:00
Sage Weil
6b4014452f rgw: fix valgrind when no valgrind
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-09-06 17:38:29 -07:00
Sage Weil
9e03c73775 misc: valgrind: fix cd behavior
The cd needs to happen at the beginning of the command, not at the end, or
else the funky wrapper scripts don't work right.

This also cleans up the command line construction a bit so that it is more
flexible, explicit, and hopefully less fragile.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 16:09:27 -07:00
Sage Weil
19324c63d2 misc: valgrind: fix valgrind.supp path
Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 16:09:27 -07:00
Zack Cerza
82cfa848b4 Get rid of chdir-coredump. 2013-09-06 17:11:44 -05:00
Sage Weil
a60e84d43f ceph: fix daemon-helper typo
Broken in edc5ef8860

Signed-off-by: Sage Weil <sage@inktank.com>
2013-09-06 14:49:38 -07:00
Sage Weil
c6d7ae0fa5 Merge pull request #78 from ceph/wip-6247
Move helper scripts to /usr/local/bin to clean up logs.
2013-09-06 13:24:34 -07:00
Zack Cerza
53b8e27da9 Helper scripts live in /usr/local/bin now! 2013-09-06 15:10:11 -05:00
Zack Cerza
edc5ef8860 Move helper scripts to /usr/local/bin 2013-09-06 15:09:41 -05: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
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
8f2fb9da32 Use misc.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
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
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
Warren Usui
a455b16fc1 Add missing sudo from command.
Fixes: #6218
2013-09-03 14:35:00 -07: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
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
Zack Cerza
3981a8f1af Never use 'except:' without specifying an Exception. 2013-08-30 11:10:05 -05:00
Joe Buck
ffac4ad22d s3tests: extend for multi-region tests
Added code to the s3tests task to extract
multi-region info so that that data
can be added to the S3TEST_CONF file
used to run S3 tests.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 09:01:16 -07:00
Joe Buck
db518885c9 rgw: persist the region info
The rgw task deletes the region info
from the config structure. The s3tests
task needs this info, so we persist
it by sticking it in the ctx object.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewd-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 09:00:52 -07:00
Joe Buck
2877e2722b radosgw-agent: store radosgw_agent server/port
Persist the hostname and port number used
by the radosgw-agent http server.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 09:00:03 -07:00