Commit Graph

977 Commits

Author SHA1 Message Date
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
Joe Buck
6c5a7af1b4 move multi_region_enabled() into util class
Moving a helper function into a more general
location so that it can be used by other
classes.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 08:59:15 -07:00
Sage Weil
951177b8e5 internal: whitelist btrfs lock imbalance bug 6097
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-27 21:41:39 -07:00
Josh Durgin
232e3d32bc Fix undefined symbol errors
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-27 15:58:14 -07:00
Sage Weil
502714ba2e admin_socket: fix retry-on-error behavior
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-26 18:14:37 -07:00
Sage Weil
77706c674c internal: remove (hopefully obsolete) kern.log checks
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-26 13:48:32 -07:00
Sage Weil
711a02449f internal: unbreak syslog BUG checks and gz
This broke back in ace4cb07b2

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-26 13:47:07 -07:00
Sage Weil
5ec5e2c0e2 ceph_manager: wait for dump_ops_in_flight on osd revival
Wait for a command that implies a complete startup instead of
'version' (which does not).

Fixes: #5924
Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-24 22:01:45 -07:00
Zack Cerza
0e872533f2 Fix upgrading edge-ish case 2013-08-22 09:49:53 -05:00
Sage Weil
de270b080b install: use get() in _get_config_value_for_remote
Fixes: #6080
Signed-off-by: Sage Weil <sage@inktank.com>
Tested-by: Tamil Muthamizhan <tamil.muthamizhan@inktank.com>
2013-08-21 16:45:46 -07:00
Joe Buck
520a9384c5 radosgw-admin: use check_status for task success
Alter the code to use the 'check_status=True'
option in rgwadmin() rather than following the
call with 'assert not err'. Should make the
tests a bit more clear and result in a more
useful error (throw the call stack rather than
just 'assert new err failed').

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-21 12:38:53 -07:00
Joe Buck
ff2a209f8d radosgw-admin: adding radosgw-admin tests
Adding tests for syncing buckets between
RGWs. Fulfills ticket #5605.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-21 12:38:44 -07:00
Joe Buck
549bac3ede radosgw-admin: use dynamic ports for testing
The rgw.py task was extended to  dynamically
assign port numbers to radosgateways.
This patch extends the radosgw-admin task
to use those ports rather than making out-dated
assumptions of port numbering.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-08-20 21:21:17 -07:00
Alfredo Deza
0a8a1c98b0 Merge pull request #41 from ceph/wip-3791
Various usability and documentation fixes
2013-08-19 14:10:18 -07:00
Joe Buck
558237e5f5 Detect multi-region test cases
Enable multi-region calls and tests only if
the configuration has specified a
radosgw-agent tastk.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-17 08:47:58 -07:00
Sage Weil
e625316d02 kernel: fix sha1
6f8910eca4 inadvertantly started
using the ceph sha1 for the kernel.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-16 22:34:26 -07:00
Joe Buck
bbf7c71183 radosgw-agent: adding debug logging
Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-08-16 19:26:41 -07:00
Joe Buck
8a47230d82 rename variables and log messages to be more clear
A few edits to make logging and variable names
more clear.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-08-16 19:26:33 -07:00
Joe Buck
7061e3c6dc rgw: fix domain root pool name assignment
Do not make the domain root pool the same
as the zone root pool. That causes sync issues.
Also, clarify a logging message.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-08-16 19:26:21 -07:00
Joe Buck
b883e338cd radosgw-admin: correct white space mistake
Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-08-16 19:26:09 -07:00
Warren Usui
694cd67048 Fix ARM releases to be quantal armv7l releases.
Made grub execution conditional and not done when ARM.
Use ctx parameter to change machine type to tala.
Fix kernel assignments when running ARM systems.

Fixes: #5000
Signed-off-by: Warren Usui <warren.usui@inktank.com>
2013-08-16 15:44:54 -07:00