Sage Weil
9e4a3f0399
Merge remote-tracking branch 'gh/wip-3633'
2013-01-10 18:04:55 -08:00
Sage Weil
9ca69e738a
ceph: malloc check =3 means we hear on stderr too
2013-01-02 20:44:33 -08:00
Sage Weil
06310994df
ceph: enable malloc debugging for ceph-osd
2013-01-02 12:31:54 -08:00
Joao Eduardo Luis
ed586c1bb0
task: ceph: don't wait for 'healthy' if 'wait-for-healthy' is false.
...
This new config option obviously defaults to 'true' in order to not only
maintain compatibility, but because it makes sense.
Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
2012-12-31 16:11:50 +00:00
Sage Weil
fa63dd4213
valgrind: enumerate warnings in log; check leaks from client, mon only
2012-11-17 21:01:52 -08:00
David Zafman
939c3aee7f
New kcon_most task that enables most ceph kernel logging
...
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -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
Sage Weil
b800496bb4
ceph: fix cpu_profile default
2012-08-19 20:16:43 -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
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
f70b825042
ceph: fix mkfs/mount option defaults
...
Later code expects a list, not None.
2012-07-21 20:18:24 -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
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
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
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
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
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
1a43c3443b
Added blktrace task
...
Signed-off-by: Mark Nelson <nhm@clusterfaq.org>
2012-06-27 19:38:12 -05:00
Sage Weil
7523ff3e58
ceph: simplify 'cluster' mon log handling
...
It's not a special file in the mon_data directory anymore, but intead
something in archive that will get slurped up normally. Make sure we
grep for badness from the proper location.
2012-06-06 13:32:56 -07:00
Sage Weil
d3f855ec81
fix up dist var
...
This lets you override the default (now precise) in the ceph config yaml,
e.g.
- ceph:
dist: oneiric
branch: master
2012-05-31 21:39:33 -07:00
Dan Mick
af4fe154d8
Change hardcoded oneiric to precise
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2012-05-31 17:09:20 -07:00
Samuel Just
749826c29b
allow use of a separate journal block device
2012-03-27 17:18:44 -07:00
Sage Weil
94f0ba1efe
run valgrind with cwd set to /tmp/cephtest/archive/coredump
...
This lets us capture the vgcore.* files, which always go to valgrind's
cwd.
Fixes : #1953
2012-03-18 10:48:51 -07:00
Sage Weil
1a01ccaafb
Pull from new gitbuilder.ceph.com locations.
...
Simplifies the flavor stuff into a tuple of
<package,type,flavor,dist,arch>
where package is ceph, kenrel, etc.
type is tarball, deb
flavor is basic, gcov, notcmalloc
arch is x86_64, i686 (uname -m)
dist is oneiric, etc. (lsb_release -s -c)
2012-03-13 10:02:26 -07:00
Josh Durgin
3bfb8d696e
ceph, ceph-fuse: simplify valgrind argument additions
2012-02-24 12:05:35 -08:00
Sage Weil
9ec047226f
refactor all valgrind users to use a get_valgrind_args() helper
...
This avoids much annoying, duplicated code.
2012-02-24 12:05:35 -08:00
Sage Weil
90fdc84086
ceph: always create valgrind logs dir
...
Other tasks use it too. It's more annoying to conditionally create it.
2012-02-24 12:05:35 -08:00
Sage Weil
7af6e46c94
ceph: always try to process valgrind logs
...
Check for errors in valgrind logs even if there is no valgrind option
the ceph task config stanza. Other tasks can run via valgrind (ceph-fuse,
rgw). If the logs aren't there, this is harmless.
2012-02-24 12:05:35 -08:00
Sage Weil
c5688e6570
ceph: valgrind trumps coverage when picking a flavor
...
valgrind will crash if we don't use notcmalloc; coverage will silently
fail to collect coverage info.
2012-02-20 15:17:52 -08:00
Sage Weil
7ff9f044e7
ceph: allow valgrind per-type (not just per-name)
2012-02-20 07:04:45 -08:00
Sage Weil
af4ce44233
ceph: use any fs, not just btrfs, on scratch devices
...
The
btrfs: true
syntax is replaced with
fs: btrfs
or ext4, xfs.
2012-02-13 15:28:24 -08:00
Josh Durgin
0cd16cf03d
ceph: always add logger for daemons
...
The extra log function added redundant info and didn't allow different
levels.
2012-02-02 09:36:04 -08:00
Josh Durgin
7af7c66bd0
ceph: rename type parameter to type_
...
type is a built-in and shouldn't be aliased.
2012-02-02 09:35:58 -08:00
Josh Durgin
7146db9215
ceph: use the correct comparison operator
...
is compares identity (i.e. address in cpython), not value.
2012-02-02 09:27:04 -08:00
Josh Durgin
e7672b6433
ceph: sync before unmounting btrfs devices
...
There may still be writes in flight, since the osds may not have
shutdown cleanly. This should prevent EBUSY when unmounting.
Fixes : #1997
2012-02-02 09:26:45 -08:00
Josh Durgin
1364b8826f
ceph: delay raising exceptions until all daemons are stopped
...
If a daemon crashes, the exception is raised when we stop it. This
caused some daemons to continue running during cleanup, since the rest
of the daemons of the same type would not be shut down. Also log each
daemon that crashed, for easier debugging.
Fixes : #1744
2012-02-02 09:26:25 -08:00
Tommi Virtanen
09bed16408
Allow user to provide flavor to use.
...
With this, you can use Ubuntu 11.10 machines with teuthology by saying::
tasks:
- ceph:
flavor: oneiric
...
2012-01-31 07:59:43 -08:00
Sage Weil
b58f9560ea
ceph: ignore all leaks
...
unless/until we figure out where the DefinitelyLost records are coming
from.. at first glance they look bogus.
2012-01-16 09:55:47 -08:00
Sage Weil
40fb86ff81
ceph: take single arg or list for valgrind args
2012-01-16 09:22:45 -08:00
Sage Weil
c88ec5719e
combined mon, osd, mds starter functions
2012-01-15 22:54:09 -08:00
Sage Weil
50463ffddd
verify all osds start before checking health
...
Just checking health isn't good enough, since it races with OSD startup:
we can have a healthy cluster with 0 (or something else < total) OSDs.
2012-01-11 12:54:08 -08:00
Josh Durgin
f4883ebf09
ceph: let the user running ceph-osd remove subvolumes
...
This will prevent EPERM when using the SNAP_DESTROY ioctl,
so the filestore will use btrfs snaps.
2012-01-10 16:07:04 -08:00
Tommi Virtanen
d8fc151365
Clean up C++isms.
2011-11-17 17:00:44 -08:00
Josh Durgin
f85f5dd7e3
ceph: deep merge overrides, so e.g. log whitelists can be overridden
2011-11-17 13:07:03 -08:00
Sage Weil
6d39cc1146
ceph: keep ceph.conf at ctx.ceph.conf
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-11-08 22:17:00 -08:00
Josh Durgin
bcded7f163
ceph: add whitelist for cluster log errors
...
Some messages are expected when thrashing osds or creating unfound
objects.
Fixes : #1622
2011-10-17 14:42:08 -07:00