Commit Graph

900 Commits

Author SHA1 Message Date
Sage Weil
4431e1efab install: be slightly more efficient
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 21:49:22 -08:00
Sage Weil
00986ce080 install: be more careful about package removal
- call apt separately for each package; it will error out annoyingly if
there is one in the list not in the APT sources.
- use dpkg with appropriate force to clean up broken half-installs.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 21:46:37 -08:00
Sage Weil
7d8a72a379 ceph-fuse: install -dbg package, too
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 21:36:47 -08:00
Sage Weil
c64cd20103 radosgw-admin: fix sleep syntax error
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 21:02:16 -08:00
Sage Weil
ecb563b221 install: install libcephfs1[-dbg]
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 16:27:52 -08:00
Sage Weil
28f11d037f ceph_manager: drop extra line
Ooops, from 0c990f3add.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 16:21:42 -08:00
Sage Weil
9996bdbe6e run: print pass/FAIL as final line
Makes it easy to tell at a glance if your last test passed or not.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-20 15:27:23 -08:00
Yehuda Sadeh
6c2f4a2bbe Merge remote-tracking branch 'origin/wip-3634' 2013-02-20 14:10:50 -08:00
Sage Weil
0c990f3add ceph_manager: eventually time out while waiting for admin socket
Otherwise we get stuck in a loop if an osd crashes unexpectedly, the
task never fails, and we don't collect all the evidence.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-19 22:24:27 -08:00
Sage Weil
3de89969db schedule_suite.sh: drop obligatory install task
Added these to ceph-qa-suite.git instead.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-19 22:15:18 -08:00
Sage Weil
9617dcc6b2 Merge branch 'unstable'
Conflicts:
	teuthology/task/workunit.py
2013-02-19 21:04:24 -08:00
Sage Weil
1a0e201d65 ceph: fix valgrind log check
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 16:43:04 -08:00
Sage Weil
50331e0478 cleanup-run.sh: figure out owner
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 16:24:00 -08:00
Sage Weil
2653b5a07b install: clean up flavor, distro, arch detection
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 15:40:43 -08:00
Sage Weil
60fee7a97e schedule_suite.sh: include install task in all jobs
This is probably temporary.  It's simpler than adding the task to every
job in the suite.  We'll want to do that later when we want to test
alternative install methods (like ceph-deploy's install function).

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 15:40:43 -08:00
Joe Buck
84d7f37fdb testing: export TESTDIR in workunit task.
Some command-line tools need to reference the path
to the test directory, which is created at run-time.
We export this as TESTDIR

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by:  Sam Lang <sam.lang@inktank.com>
2013-02-18 15:22:52 -08:00
Sage Weil
3f7c9bcaa4 move the install to a separate task.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 15:06:52 -08:00
Sage Weil
176a3408c9 testrados -> ceph_test_rados
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:20 -08:00
Sage Weil
bf6e846d89 cleanup-run.sh: <owner> <run name>
Sloppy... this assumes the run is in the description as the archive dir.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:06 -08:00
Sage Weil
4869b494c9 lock: allow filtering by description, description substring
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:06 -08:00
Sage Weil
2a344c1079 rgw: sudo
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:06 -08:00
Sage Weil
ed82d87566 fix a few archive/log stragglers
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:06 -08:00
Sage Weil
38b30c646f ceph: make gitbuilder host configurable
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:06 -08:00
Sage Weil
b1c9864a7a ceph: install -dbg packages, too
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:06 -08:00
Sage Weil
d8b6bf94ec ceph: create /var/run/ceph
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
969a6def3b ceph-fuse: sudo
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
4eb047b4ea sudo for admin socket commands
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
0ad55b3604 cfuse -> ceph-fuse 2013-02-18 13:39:05 -08:00
Sage Weil
88ebc27f16 ceph: store logs in normal location
We need to switch around how these are compressed and pulled, since they
aren't in the regular archive dir anymore.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
d1d36241b7 ceph: use default data, keyring locations
This required reordering the cluster setup so that we do the ceph-osd
--mkfs --mkkey prior to gathering keys and initializing the monitors.

Also, run daemons as root.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
7a61b237d6 ceph: don't uninstall librados, librbd
This forces uninstall of kvm too, which is expensive.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
bc9ecf7813 ceph: pass package version to apt-get install
This avoids problems when a different or newer version of the package is
already installed.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
c9d3dea320 avoid secretfile, except for kclient
Only mount.ceph needs the secret in a standalone file.  Remove other users,
and simplify that one.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
45ddbe636e rgw: specify keyring location
Otherwise we look at the default /var/lib/ceph/radosgw/ceph-$id/keyring.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
a54200d444 nuke: tolerate failed dpkg --configure -a/apt-get -f install
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
4dc6c8b275 install radosgw
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
333c7260bc rbd: remove merge cruft
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:05 -08:00
Sage Weil
8b971611f2 ceph: simplify apt-key management
Run apt-key as root. No need to initialize ubuntu user's gpg.  Fix
whitespace.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:04 -08:00
Sage Weil
eadefec8ff ceph: put client keyrings in /etc/ceph/ceph.$name.keyring
And make it world readable, for ubuntu's sake.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:04 -08:00
Sage Weil
149be93639 nuke: dpkg --configure -a and apt-get -f install
Installing debs means we are more likely to hit a case where we interrupt
apt/dpkg.  Try to mop up as best we can in nuke.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:04 -08:00
Sage Weil
3400ea39ba nuke: whitespace
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:04 -08:00
Sage Weil
27fec2377f ceph: simpilfy package removal
apt-get doesn't have a nice way to tell if the package is not install and
we don't need to purge it.  Well, not one I found in 5 minutes.  Just
do a big purge and assume it works, or failed because there was nothing to
be done.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:04 -08:00
Sage Weil
28116db6a0 nuke: remove librados, librbd
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:04 -08:00
Sage Weil
a529bb725f ceph: install ceph-mds, ceph-common
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:04 -08:00
Sage Weil
5235fc18a0 ceph: fix purge
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:39:03 -08:00
Sander Pool
c525e1061b Install ceph debs and use installed debs
The ceph task installs ceph using the debian
packages now, and all invocations of binaries installed
in {tmpdir}/binary/usr/local/bin/ are replace with
the use of the binaries installed in standard locations
by the debs.

Author:    Sander Pool <sander.pool@inktank.com>
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-02-18 13:39:03 -08:00
Sage Weil
d790eeb451 nuke: testrados -> ceph_test_rados
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-18 13:38:54 -08:00
Sage Weil
7a5fd05edd misc: replace : with - in testdir name
The :'s break the list in $PATH.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-17 22:13:45 -08:00
Sage Weil
f931cad8f1 schedule_suite.sh: fix s3branch
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-15 09:33:27 -08:00
Sage Weil
9513f2f206 rbd_fsx: binary name now has ceph_ prefix
Signed-off-by: Sage Weil <sage@inktank.com>
2013-02-15 09:12:25 -08:00