Commit Graph

435 Commits

Author SHA1 Message Date
Josh Durgin
57bb434def Fix errors found by pyflakes
A bunch of unused imports and variables.
2012-09-21 16:46:24 -07:00
Sage Weil
0395df3157 ignore 'lock held when returning to user space' from btrfs sb_internal crap 2012-09-19 16:42:02 -07:00
Sam Lang
a101e49190 replace tab with spaces
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-09-18 16:31:39 -07:00
Sam Lang
5ce4d70e4b fix error on teardown failing to unmount /mnt 2012-09-18 15:56:08 -07:00
Josh Durgin
c8c7014fc0 rbd: fix typo and cast to int before comparing format 2012-09-13 14:29:43 -07:00
Josh Durgin
055bf73d50 rbd: only specify --format if not using the default
This lets older versions that do not support --format still work with
format 1 images.
2012-09-12 11:31:28 -07:00
Alex Elder
f64cedf4db rbd: allow xfstests task to specify rbd image formats
This adds the ability to specify the rbd image format to use for the
scratch and test devices for the rbd.xfstests task.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2012-09-10 19:38:21 -05:00
Alex Elder
73a29cdf91 rbd: allow image format to be specified
This adds the ability to specify an rbd image format (either 1 or 2)
for an rbd image.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2012-09-10 19:37:25 -05:00
tamil
39efbbcc2d Suppress valgrind error "Invalid write 8"
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-09-10 15:02:47 -07:00
Yehuda Sadeh
d6c2ded087 radosgw-admin: update task for new usage reporting
Usage reporting output has been modified, also use the new
--categories input param.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-09-10 11:24:25 -07:00
Sage Weil
3473c2ed1d s3tests: run against arbitrary branch/sha1 of s3-tests.git 2012-09-10 11:08:57 -07:00
Sage Weil
db8037d998 debian ntp servers 2012-09-09 14:23:12 -07:00
Mike Ryan
f8e1f5c222 task: die on ceph error or coredump
This task allows ceph to signal to teuth that it should die immediately
by touching a file under /tmp/cephtest

Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-09-04 09:52:38 -07:00
Sage Weil
dc1c247abc disable lockdep recursive warnings until #3040 is fixed 2012-08-24 19:23:34 -07:00
Sage Weil
b6b302890f internal: fix escaping of \b in syslog grep 2012-08-23 11:00:39 -07:00
Sage Weil
82cefa2477 suppress this valgrind error
<error>
  <unique>0x4</unique>
  <tid>1</tid>
  <kind>InvalidWrite</kind>
  <what>Invalid write of size 8</what>
  <stack>
    <frame>
      <ip>0x400A299</ip>
      <obj>/lib/x86_64-linux-gnu/ld-2.15.so</obj>
      <fn>do_lookup_x</fn>
      <dir>/build/buildd/eglibc-2.15/elf</dir>
      <file>dl-lookup.c</file>
      <line>250</line>
    </frame>
    <frame>
      <ip>0x403122F</ip>
    </frame>
    <frame>
      <ip>0x400A522</ip>
      <obj>/lib/x86_64-linux-gnu/ld-2.15.so</obj>
      <fn>_dl_lookup_symbol_x</fn>
      <dir>/build/buildd/eglibc-2.15/elf</dir>
      <file>dl-lookup.c</file>
      <line>739</line>
    </frame>
  </stack>
  <auxwhat>Address 0x7feffeec8 is on thread 1's stack</auxwhat>
</error>

pops up recently
2012-08-23 11:00:39 -07:00
Sage Weil
b800496bb4 ceph: fix cpu_profile default 2012-08-19 20:16:43 -07:00
Sage Weil
7d50411ca9 rbd.xfstests: default to 1gb (not 250mb) image 2012-08-18 20:10:54 -07:00
Mike Ryan
5b7ec43e0e task: run osd/mds/mon with Google CPU profiler via cpu_profile option
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-08-17 13:47:13 -07:00
Mike Ryan
7f6591b556 ceph: support tmpfs_journal option to put journal on tmpfs
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-08-16 15:50:10 -07:00
Mike Ryan
3b85b2311b task: verify scrub detects files whose contents changed
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-08-02 11:14:51 -07:00
Mike Ryan
8665bdc164 task: scrub OSDs periodically
Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-08-02 11:14:51 -07:00
Sage Weil
e4e239e268 kernel: push a local .deb instead of using gitbuilder
This lets you specify a path to an existing kernel deb
to be pushed and installed on the remote node.

Limitations:
 - We don't build the deb for you.  figuring out what
   filename 'make deb-pkg' is building is annoying.
 - We need to be able to figure out the sha1 from the provided
   path.  It shouldn't be a problem, given the way make deb-pkg
   names the debs.
2012-07-29 12:40:13 -07:00
Sage Weil
1c93d5ab4d syslog check: fix false-positive BUG matches in random strings 2012-07-29 12:15:51 -07:00
Sage Weil
a0847694a5 osd_recovery: also test unfound discovery
This tests for bug #2866.
2012-07-28 10:53:09 -07:00
Sage Weil
8dd09cb21d osd_recovery: test incomplete pg recovery
4-osd test to reproduce #2860 and confirm the fix.
2012-07-28 10:23:18 -07:00
Sage Weil
a9f2bf622f ceph_manager: wait_for_active 2012-07-28 10:23:18 -07:00
Sage Weil
731d520900 ceph_manager: count 'incomplete' as 'down' 2012-07-28 10:23:18 -07:00
tamil
0d6ce42405 Fixed the code to pass 'yes' during mkfs
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-07-26 13:48:11 -07:00
tamil
2b75ddef63 Added '-y' option for mkfs.ext4
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-07-25 16:38:25 -07:00
Sage Weil
9bc86171ac admin_socket: make test optional
If it's not there, we just verify the output is valid json.
2012-07-24 15:26:06 -07:00
Sage Weil
f70b825042 ceph: fix mkfs/mount option defaults
Later code expects a list, not None.
2012-07-21 20:18:24 -07:00
Samuel Just
e1c98e7d19 tasks: add multibench task for testing pool creation
Also adds support for specifying a pool for radosbench
to create and then cleanup instead of "data".

Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-07-19 15:51:55 -07:00
Sage Weil
c49daeca2f clock: print skew with ntp servers to log to help debug time issues 2012-07-18 13:44:59 -07:00
Sage Weil
12dc0ad101 ceph: archive mon data to a .tgz
Saves bandwidth, time, and space.
2012-07-17 10:00:59 -07:00
Sage Weil
ff0f4742fe set machine description to ctx.archive when auto-locking machines for a run 2012-07-16 10:53:25 -07:00
Sage Weil
f37214e114 kernel: fix kernel installation when kdb: is specified
This normalize check would only trigger if a *single* key was specified.
Change it so that it triggers as long as all keys are in the list of valid
keys. This lets us specify both kdb: true and a sha1/branch/tag.

Phew!
2012-07-13 13:57:22 -07:00
Sage Weil
b0985e446b ceph: add default btrfs mkfs options 2012-07-13 11:30:21 -07:00
Sage Weil
014fb97f5f ceph: cleanup/simplify mount/mkfs options 2012-07-13 11:30:07 -07:00
Sage Weil
d0c9e49bb8 workunit: allow overrides
Pull top-level overrides into our config.  This lets you do:

overrides:
  workunit:
    branch: foo
tasks:
...
- workunit:
  clients:
    all:
    - foo
...
2012-07-13 11:13:41 -07:00
Sage Weil
a50bf67223 workunit: allow branch/sha1/tag to be specified
Pull the workunit(s) from the branch/tag/sha1 specified in the config.
2012-07-13 11:13:41 -07:00
Josh Durgin
58126b01fd workunit: pass branch/sha1 to test
Some tests download things from the ceph repo. Let them know which
version to use through the CEPH_REF environment variable.
2012-07-13 10:01:50 -07:00
tamil
1741cb6c90 Added functionality to get mkfs and mount options for file systems
from the config file,if present. Otherwise, default options are used.

The default value for inode size is changed to 2k when creating xfs.

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-07-12 18:02:29 -07:00
Sage Weil
51148b81e6 radosgw-admin: use --bucket instead of old --bucket-id
The --bucket-id support was removed.
2012-07-12 08:33:29 -07:00
Sage Weil
3abc412812 internal: archive mon data dirs
These can be useful for debugging, and are usually pretty small.

Fixes: #2714
2012-07-11 14:14:46 -07:00
Sage Weil
cff2cfa217 internal: move pulling archive w/ tar to helper 2012-07-11 14:10:00 -07:00
Sage Weil
45fcca1fea valgrind: add strptime suppressions
Precise's strptime triggers valgrind false positives.

Use ship_utilities to push the valgrind.supp file over, which is a bit
slippy.
2012-07-04 14:29:55 -07:00
tamil
e07b711325 Added a debug message
The debug message is to print the string that should be JSON.
This is to track a nightly run failure.

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-07-03 16:04:12 -07:00
Sage Weil
38aa344def ceph: fix valgrind error check
grep all the logs, not the dir... doh!
2012-07-02 08:44:38 -07:00
Mark Nelson
2e5853f485 Now using daemon-helper
Signed-off-by: Mark Nelson <nhm@clusterfaq.org>
2012-06-29 14:36:30 -05:00