]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 years agoUse os_type instead of vm_type. Add os_version
Sandon Van Ness [Tue, 23 Jul 2013 22:50:50 +0000 (15:50 -0700)]
Use os_type instead of vm_type. Add os_version

Use os_type instead of vm_type for more generic naming
for when we start re-imaging bare metal. Also added a
os_version dictionary for default versions of distros
that we want over-riding what downburst defaults are.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoRemove btrfs-tools and xfsprogs install step.
Sandon Van Ness [Sat, 13 Jul 2013 03:56:07 +0000 (20:56 -0700)]
Remove btrfs-tools and xfsprogs install step.

We already install btrfs-tools and xfsprogs with ceph-qa-chef
Doing it here was just causing problems on non-ubuntu
distros and I really see no point for it to have it now.

12 years agoAllow Overrides for ceph-deploy task
Sandon Van Ness [Sat, 13 Jul 2013 03:54:23 +0000 (20:54 -0700)]
Allow Overrides for ceph-deploy task

This is needed so we can set the ceph branch for ceph-deploy
to use via the main yaml which is created via the suite
scheduler.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoWorkaround repopriority of yum local repo.
Sandon Van Ness [Sat, 13 Jul 2013 03:24:19 +0000 (20:24 -0700)]
Workaround repopriority of yum local repo.

Because of issues with package name differences vps are
setup to use repopriority and our local repo (which has
some ceph/librados stuff in it) gets high priority so
the ceph.repo that is created on the machine from
ceph-release basically gets ignored. This change makes
it so ceph.repo is the same priority level as our local
repo.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoDon't install kernels on non-ubuntu VPS
Sandon Van Ness [Sat, 13 Jul 2013 03:20:45 +0000 (20:20 -0700)]
Don't install kernels on non-ubuntu VPS

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoRe-create guest if it doesn't come up right.
Sandon Van Ness [Sat, 13 Jul 2013 03:19:51 +0000 (20:19 -0700)]
Re-create guest if it doesn't come up right.

In some rare cases (mainly centos/rhel after creating the
guest with downburst it does not come up right. It
gets a kernel panic at boot. Usually just turning it off
and then back on again is enough but to be on the safe
side I figured it should be re-created instead. This
insures you don't get hung jobs from a guest that didn't
come up correctly.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoAdd description option to lock.lock()
Sandon Van Ness [Sat, 13 Jul 2013 03:16:28 +0000 (20:16 -0700)]
Add description option to lock.lock()

For some reason lock_many() has a description but lock()
does not. This was useful in my testing of unlocking and
re-locking VPS machines to destroy.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoUse ceph.com mirror instea of github for ceph-qa-chef on VPS.
Sandon Van Ness [Sat, 13 Jul 2013 03:13:47 +0000 (20:13 -0700)]
Use ceph.com mirror instea of github for ceph-qa-chef on VPS.

Github.com is unreliable so use the ceph mirror instead.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoList IP address in orchestra.run output.
Sandon Van Ness [Sat, 13 Jul 2013 03:10:36 +0000 (20:10 -0700)]
List IP address in orchestra.run output.

Figuring out which machines output is coming from when things
are being executed on multiple machines can be a huge pain.
This prints the IP in the logs so you can easily see where one
machine stops and another begins.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoFix Missed parenthesis.
Sandon Van Ness [Sat, 13 Jul 2013 03:08:06 +0000 (20:08 -0700)]
Fix Missed parenthesis.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoVM: Use mac addresses from DB instead of randomizing.
Sandon Van Ness [Mon, 8 Jul 2013 23:54:22 +0000 (16:54 -0700)]
VM: Use mac addresses from DB instead of randomizing.

In order to make IP addresses less likely to change and to allow
a smaller DHCP pool to be used I generated static MAC addresses
for all the vpm entries in the DB. I also put the correct entries
for all the other types of machines as well for their primary
(eth0) mac address as well in order to keep things standardized
and so there is another location where we have this information.

Without this fix going through a few tests would exhaust the DHCP
pool which at the time was around 460 IP addresses for virtual
machines and has since been upped to ~690 IP addresses.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>
12 years agoFix VM issues.
Sandon Van Ness [Thu, 4 Jul 2013 02:07:35 +0000 (19:07 -0700)]
Fix VM issues.

Fix of #5494 although bad description. Instead of adding a wait
the code used to detect if the guest was back up is fixed. The
previous code appeared to assume only one machine and broke
when it was waiting for multiple machines if the guests did not
come up within 10 seconds of each other

Make nuke not do the normal stuff if the machine is a VPS as we
just destroy them when they get unlocked.

Instead of getting downburst options from ~/.teuthology.yaml get
it from the yaml given to teuthology for the test/task instead.

Fixed an error that would make all the default downburst values
not take effect if any of them were set via a yaml.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>
12 years agoceph: don't check leaks on client.* (i.e., radosgw)
Sage Weil [Wed, 3 Jul 2013 16:59:21 +0000 (09:59 -0700)]
ceph: don't check leaks on client.* (i.e., radosgw)

...until we fix them.  This way we can see other valgrind issues.

12 years agoradosgw-admin: add missing quote
Sage Weil [Mon, 1 Jul 2013 21:21:55 +0000 (14:21 -0700)]
radosgw-admin: add missing quote

12 years agoradosgw-admin: test 'bucket list' command (all buckets)
Sage Weil [Mon, 1 Jul 2013 21:21:48 +0000 (14:21 -0700)]
radosgw-admin: test 'bucket list' command (all buckets)

Verifies fix for #5455
Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoUpdate keys if they have changed before locking
Sandon Van Ness [Thu, 27 Jun 2013 21:08:09 +0000 (14:08 -0700)]
Update keys if they have changed before locking

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoceph: disable logrotate
Sage Weil [Thu, 27 Jun 2013 00:48:03 +0000 (17:48 -0700)]
ceph: disable logrotate

This screwed up the log archival step at the end, and generally makes a
mess of automated runs.

Fixe: #5451

12 years agodump_stuck: fix test
Sage Weil [Tue, 25 Jun 2013 19:45:22 +0000 (12:45 -0700)]
dump_stuck: fix test

The mon-osd-report-timeout setting shouldn't be there!  We will set the
other item explicitly, and remove both from the suite yaml.

Fixes: #5440
12 years agoMerge pull request #15 from ceph/wip-ulimits
Sage Weil [Mon, 24 Jun 2013 23:18:36 +0000 (16:18 -0700)]
Merge pull request #15 from ceph/wip-ulimits

Reviewed-by: Warren Usui <warren.usui@inktank.com>
12 years agoMerge pull request #16 from ceph/wip-5431
Sage Weil [Mon, 24 Jun 2013 18:01:48 +0000 (11:01 -0700)]
Merge pull request #16 from ceph/wip-5431

Reviewed-by: Warren Usui <warren.usui@inktank.com>
12 years agorados: fix multiclient tests
Sage Weil [Mon, 24 Jun 2013 03:44:38 +0000 (20:44 -0700)]
rados: fix multiclient tests

Each client (not run) gets its own pool!

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agodump_stuck: fix race with osd start
Sage Weil [Sun, 23 Jun 2013 23:21:45 +0000 (16:21 -0700)]
dump_stuck: fix race with osd start

Occasionally we don't wait long enough for the osd to start and
mark itself up.  Keep trying until flush succeeds.

Fixes: #5431
Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoenable-coredump -> adjust-ulimits
Sage Weil [Sun, 23 Jun 2013 16:15:28 +0000 (09:15 -0700)]
enable-coredump -> adjust-ulimits

and set max_files to be big, too!

12 years agoMerge remote-tracking branch 'remotes/origin/wip-sandon-cephdeploy'
Sandon Van Ness [Fri, 21 Jun 2013 22:53:53 +0000 (15:53 -0700)]
Merge remote-tracking branch 'remotes/origin/wip-sandon-cephdeploy'

12 years agoMerge pull request #14 from clee/cleanup
Sage Weil [Fri, 21 Jun 2013 22:27:49 +0000 (15:27 -0700)]
Merge pull request #14 from clee/cleanup

Clean up nested-if logic

Reviewed-by: Sage Weil <sage@inktank.com>
12 years agoWipe out existing id_rsa.pub and id_rsa before pushing ssh keys
Sandon Van Ness [Fri, 21 Jun 2013 01:36:58 +0000 (18:36 -0700)]
Wipe out existing id_rsa.pub and id_rsa before pushing ssh keys

A very simple change. Just touch a file first (to create it if it
doesn't yet exist so the delete doesn't error out) and then delete
it before pushing the keys to the file. This should avoid the
id_rsa.pub and id_rsa files from getting messed up due to previous
runs which were interrupted or failed (or if those files exist for
some reason). This appears to be what was causing breaking in the
ceph-deploy nightlies.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoClean up nested-if logic
Chris Lee [Thu, 20 Jun 2013 20:42:33 +0000 (13:42 -0700)]
Clean up nested-if logic

12 years agotask/peering_speed_test.py: add test which summarizes pg peering speed
Samuel Just [Tue, 4 Jun 2013 21:12:07 +0000 (14:12 -0700)]
task/peering_speed_test.py: add test which summarizes pg peering speed

Running this regularly may warn us about slow peering.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agotask/: add args.py
Samuel Just [Tue, 4 Jun 2013 21:11:29 +0000 (14:11 -0700)]
task/: add args.py

The usage doc string for a task is tedious to write and
hard to keep reconciled with the code as defaults are changed.
args.py includes a helper to put it all in one place.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoschedule_suite.sh: specify admin_socket branch in overrides yaml
Sage Weil [Wed, 19 Jun 2013 20:35:50 +0000 (13:35 -0700)]
schedule_suite.sh: specify admin_socket branch in overrides yaml

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoInclude MySQLdb
Warren Usui [Wed, 19 Jun 2013 18:29:38 +0000 (11:29 -0700)]
Include MySQLdb
Fixes: #5120
12 years agoFix to ignore ssh-key checking if running on virtual machines or
Warren Usui [Tue, 18 Jun 2013 21:23:22 +0000 (14:23 -0700)]
Fix to ignore ssh-key checking if running on virtual machines or
if a line that reads 'sshkey: ignore' is in the yaml file.

Fix #5364
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoMake reset of ssh key code conditional on being a virtual machine.
Warren Usui [Wed, 12 Jun 2013 21:21:14 +0000 (14:21 -0700)]
Make reset of ssh key code conditional on being a virtual machine.
Add and use is_vm to determine if we are running on a virtual machine.

Fix #5364
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoadmin_socket: fetch test from correct branch
Sage Weil [Wed, 19 Jun 2013 17:36:49 +0000 (10:36 -0700)]
admin_socket: fetch test from correct branch

12 years agovalgrind: give up and ignore all leveldb leaks
Sage Weil [Wed, 19 Jun 2013 16:08:17 +0000 (09:08 -0700)]
valgrind: give up and ignore all leveldb leaks

Hopefully if it is our fault we will have our own struct wrapping the
leveldb resource that we leak.

12 years agoUse authorized_keys2 instead of authorized_keys
Sandon Van Ness [Mon, 17 Jun 2013 23:24:37 +0000 (16:24 -0700)]
Use authorized_keys2 instead of authorized_keys

Instead of going through the trouble of adding/removing lines
from authorized_keys which has all our normal keys in it, instead
push keys to the unused authorized_keys2 file which makes the key
management significantly simpler as that file can just be wiped
out each time instead of worrying about preserving contents.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoUse authorized_keys2 instead of authorized_keys
Sandon Van Ness [Mon, 17 Jun 2013 23:24:37 +0000 (16:24 -0700)]
Use authorized_keys2 instead of authorized_keys

Instead of going through the trouble of adding/removing lines
from authorized_keys which has all our normal keys in it, instead
push keys to the unused authorized_keys2 file which makes the key
management significantly simpler as that file can just be wiped
out each time instead of worrying about preserving contents.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agovalgrind: another leveldb leak
Sage Weil [Mon, 17 Jun 2013 20:53:10 +0000 (13:53 -0700)]
valgrind: another leveldb leak

12 years agomisc: let clients use any pool
Sage Weil [Sun, 16 Jun 2013 21:53:49 +0000 (14:53 -0700)]
misc: let clients use any pool

rados.py, for example, creates new pools for each instance.

12 years agoceph_manager: fix ceph tell mon.*
Sage Weil [Sun, 16 Jun 2013 20:11:50 +0000 (13:11 -0700)]
ceph_manager: fix ceph tell mon.*

Need -- to make cli stop parsing (or quote the options).
Otherwise, the options will be parsed/applied to the cli's
librados instance.

12 years agono need for ceph --concise argument
Sage Weil [Sun, 16 Jun 2013 16:10:25 +0000 (09:10 -0700)]
no need for ceph --concise argument

12 years agoceph_manager: use new ceph tell mon.* syntax
Samuel Just [Fri, 14 Jun 2013 17:30:58 +0000 (10:30 -0700)]
ceph_manager: use new ceph tell mon.* syntax

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
12 years agorados: fix up for parallel work
Sage Weil [Fri, 14 Jun 2013 05:27:50 +0000 (22:27 -0700)]
rados: fix up for parallel work

- use a separate pool for each client
- create pool at start, destroy pool at end
- use all clients, if not explicitly specified

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoadding a newline to auth key data
tamil [Fri, 14 Jun 2013 00:13:09 +0000 (17:13 -0700)]
adding a newline to auth key data

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoMerge branch 'master' of github.com:ceph/teuthology
tamil [Thu, 13 Jun 2013 23:27:05 +0000 (16:27 -0700)]
Merge branch 'master' of github.com:ceph/teuthology

12 years agomodified ceph-deploy to throw appropriate exceptions
tamil [Thu, 13 Jun 2013 23:26:42 +0000 (16:26 -0700)]
modified ceph-deploy to throw appropriate exceptions

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agostop stripping leading \n from osd commands
Sage Weil [Thu, 13 Jun 2013 21:51:21 +0000 (14:51 -0700)]
stop stripping leading \n from osd commands

leaving them in for mon command, but not for any good reason.

12 years agoMerge branch 'wip-RhelFix-wusui'
Warren Usui [Thu, 13 Jun 2013 00:05:51 +0000 (17:05 -0700)]
Merge branch 'wip-RhelFix-wusui'

12 years agovalgrind: make leveldb thread suppression more general
Sage Weil [Wed, 12 Jun 2013 02:33:59 +0000 (19:33 -0700)]
valgrind: make leveldb thread suppression more general

The thread can get created from a range of callers; ignore them all.

12 years agoUse install -d for /var/log/ceph.
Warren Usui [Tue, 11 Jun 2013 23:50:09 +0000 (16:50 -0700)]
Use install -d for /var/log/ceph.
Additional fix needed for #4946

Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoFix capitalization of CentOS
Warren Usui [Tue, 11 Jun 2013 21:14:07 +0000 (14:14 -0700)]
Fix capitalization of CentOS

Fixes: #5313
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoadded support for rhel
tamil [Mon, 10 Jun 2013 22:41:48 +0000 (15:41 -0700)]
added support for rhel

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoteuthology-lock --summary: allow --machine-type=all
Dan Mick [Wed, 5 Jun 2013 00:46:05 +0000 (17:46 -0700)]
teuthology-lock --summary:  allow --machine-type=all

Somehow this got lost; putting it back

Signed-off-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit e4eb4aa23b66a5b33cf6ff14305ae8c3d328fb50)

12 years agoceph: ignore ceph-osd leaks for now :(
Sage Weil [Mon, 10 Jun 2013 17:45:05 +0000 (10:45 -0700)]
ceph: ignore ceph-osd leaks for now :(

12 years agoMerge branch 'wip-teuthVm-wusui'
Warren Usui [Mon, 10 Jun 2013 16:46:42 +0000 (09:46 -0700)]
Merge branch 'wip-teuthVm-wusui'

12 years agovalgrind: glibc/boost_thread leak suppressions
Sage Weil [Sun, 9 Jun 2013 05:26:31 +0000 (22:26 -0700)]
valgrind: glibc/boost_thread leak suppressions

12 years agoceph_manager: drop -- before --format=json arg
Sage Weil [Sat, 8 Jun 2013 04:58:41 +0000 (21:58 -0700)]
ceph_manager: drop -- before --format=json arg

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agovalgrind: more leveldb whitelisting
Sage Weil [Sat, 1 Jun 2013 04:15:41 +0000 (21:15 -0700)]
valgrind: more leveldb whitelisting

12 years agoSupport added for running scheduled tasks on virtual machines.
Warren Usui [Fri, 7 Jun 2013 01:43:43 +0000 (18:43 -0700)]
Support added for running scheduled tasks on virtual machines.
    This included:
    A). changes made so that full path names on some files were used
        (scheduled tasks started in different home directories).
    B.) Changes to insure tasks come up on the beanstalkc queue properly,
    C.) Finding and inserting the libvirt eqivalent code for vm machines
        in order to simulate ipmi actions,
    D.) Fix host key code, report valgrind issue more clearly.
    E.) Some message and downburst call changes.

    Fix #4988
    Fix #5122
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agomerged system_value for rpms
tamil [Sat, 8 Jun 2013 00:40:39 +0000 (17:40 -0700)]
merged system_value for rpms

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agosupport install task for fedora
tamil [Fri, 7 Jun 2013 23:00:29 +0000 (16:00 -0700)]
support install task for fedora

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoMerge branch 'wip-RhelInstall-wusui'
Warren Usui [Fri, 7 Jun 2013 22:00:39 +0000 (15:00 -0700)]
Merge branch 'wip-RhelInstall-wusui'

12 years agoAdd RHEL support to teuthology
Warren Usui [Fri, 7 Jun 2013 21:35:08 +0000 (14:35 -0700)]
Add RHEL support to teuthology

Fix #4946
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agotask/install.py: extraneous subscript in upgrade() for only some remotes
Dan Mick [Thu, 6 Jun 2013 22:41:40 +0000 (15:41 -0700)]
task/install.py: extraneous subscript in upgrade() for only some remotes

Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agoteuthology-lock --summary: allow --machine-type=all
Dan Mick [Wed, 5 Jun 2013 00:46:05 +0000 (17:46 -0700)]
teuthology-lock --summary:  allow --machine-type=all

Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agoceph_manager: don't say you have no arguments and then list them
Dan Mick [Tue, 4 Jun 2013 23:11:19 +0000 (16:11 -0700)]
ceph_manager: don't say you have no arguments and then list them

Calling ceph pg dump --format=json works better without -- before pg
(how did this work before?...)

Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agoceph: fix valgrind grep output parsing
Sage Weil [Tue, 4 Jun 2013 16:07:53 +0000 (09:07 -0700)]
ceph: fix valgrind grep output parsing

When you pass a single file to zgrep you don't get the filename prefix,
which confuses the split line a few lines down.

12 years agoceph: debug valgrind error
Sage Weil [Mon, 3 Jun 2013 16:57:17 +0000 (09:57 -0700)]
ceph: debug valgrind error

  File "/var/lib/teuthworker/teuthology-master/teuthology/task/ceph.py", line 215, in valgrind_post
    (file, kind) = line.split(':')
ValueError: need more than 1 value to unpack

12 years agovalgrind: add another leveldb suppression
Sage Weil [Fri, 31 May 2013 05:07:30 +0000 (22:07 -0700)]
valgrind: add another leveldb suppression

12 years agovalgrind: update suppressions for leveldb, libc leaks from mon
Sage Weil [Thu, 30 May 2013 18:25:32 +0000 (11:25 -0700)]
valgrind: update suppressions for leveldb, libc leaks from mon

These result in clean valgrind leak checks on the mon (at least with my
limited vstart testing).

12 years agoRhel support added
Warren Usui [Fri, 17 May 2013 17:39:15 +0000 (10:39 -0700)]
Rhel support added

Fixes: #4946
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoceph: fix valgrind log check
Sage Weil [Wed, 22 May 2013 20:22:21 +0000 (13:22 -0700)]
ceph: fix valgrind log check

- logs are gzipped; use zgrep
- wait for the proc to exit before looking at stdout

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoschedule_suite.sh: resolve ceph sha1 using deb gitbuilder, not tarball
Sage Weil [Wed, 22 May 2013 16:25:40 +0000 (09:25 -0700)]
schedule_suite.sh: resolve ceph sha1 using deb gitbuilder, not tarball

The tarball one is old and largely obsolete.

12 years agothrashosds: sync before doing powercycle testing
Sage Weil [Mon, 20 May 2013 19:26:49 +0000 (12:26 -0700)]
thrashosds: sync before doing powercycle testing

Hopefully fixes #5112

12 years agoschedule_suite.sh: 8hr -> 10hr suite timeout
Sage Weil [Mon, 20 May 2013 18:23:50 +0000 (11:23 -0700)]
schedule_suite.sh: 8hr -> 10hr suite timeout

Still missing some slow rbd tests.

12 years agoinstall: make overrides grouped by project
Sage Weil [Sat, 18 May 2013 01:53:02 +0000 (18:53 -0700)]
install: make overrides grouped by project

This lets us set different overrides for e.g. ceph vs samba, and makes it
so the schedule_teuthology.sh overrides don't specify a ceph sha1 for
samba installs.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient config will be done only after the cluster is operational.
tamil [Fri, 17 May 2013 19:08:45 +0000 (12:08 -0700)]
client config will be done only after the cluster is operational.

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoset permission for config file
tamil [Thu, 16 May 2013 20:14:06 +0000 (13:14 -0700)]
set permission for config file

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoschedule_suite.sh: put sha1 in install: overrides, not ceph:
Sage Weil [Thu, 16 May 2013 18:29:42 +0000 (11:29 -0700)]
schedule_suite.sh: put sha1 in install: overrides, not ceph:

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoadded UserKnownHostsfile to ssh config
tamil [Thu, 16 May 2013 16:49:40 +0000 (09:49 -0700)]
added UserKnownHostsfile to ssh config

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoFix scrub_test.py permission error
David Zafman [Tue, 14 May 2013 23:17:10 +0000 (16:17 -0700)]
Fix scrub_test.py permission error

Add description of yaml file including log-whitelist
Add sudo to dd that corrupts data

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>:wq
12 years agoqemu: load the kvm module before trying to use it
Josh Durgin [Mon, 13 May 2013 21:19:59 +0000 (14:19 -0700)]
qemu: load the kvm module before trying to use it

It should be loaded before this, but in some cases it is not for some reason.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoschedule_suite.sh: bump suite timeout from 6->8 hours
Sage Weil [Sun, 12 May 2013 00:07:14 +0000 (17:07 -0700)]
schedule_suite.sh: bump suite timeout from 6->8 hours

This captures the current slow rbd tasks.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agolocaldir: create/cleanup mnt.foo dir on local fs
Sage Weil [Sat, 11 May 2013 06:01:04 +0000 (23:01 -0700)]
localdir: create/cleanup mnt.foo dir on local fs

This creates and cleans up a local mnt dir that can be consumed
by other tasks (like workunit, samba, etc), just like any
other client (ceph-fuse, kclient), except it is just a dir on
the local fs.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoDo not scan for vm locks when listing all machines.
Warren Usui [Fri, 10 May 2013 17:18:44 +0000 (10:18 -0700)]
Do not scan for vm locks when listing all machines.

Fixes: #4830
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoRevert "radosgw-admin: Test bucket list for bucket starting with underscore."
Yehuda Sadeh [Fri, 10 May 2013 17:18:42 +0000 (10:18 -0700)]
Revert "radosgw-admin: Test bucket list for bucket starting with underscore."

This reverts commit fa70eb8f67371568f47ae237606be63024164214.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agonuke: don't require noipmi in ctx
Josh Durgin [Fri, 10 May 2013 01:20:59 +0000 (18:20 -0700)]
nuke: don't require noipmi in ctx

This is called from run.py too, which won't have ctx.noipmi.
The default of using impmi is fine for now for run.py.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agodefault project to ceph and extra_pkgs to none
tamil [Wed, 8 May 2013 23:05:34 +0000 (16:05 -0700)]
default project to ceph and extra_pkgs to none

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoMerge branch 'wip-teuth4768a-wusui'
Warren Usui [Wed, 8 May 2013 02:27:51 +0000 (19:27 -0700)]
Merge branch 'wip-teuth4768a-wusui'

Conflicts:
teuthology/task/install.py

12 years agoinstall: default to ceph project throughout
Sage Weil [Tue, 7 May 2013 23:00:15 +0000 (16:00 -0700)]
install: default to ceph project throughout

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph_manager: add timeout option to revive, increase for power_cycle
Samuel Just [Mon, 6 May 2013 21:10:11 +0000 (14:10 -0700)]
ceph_manager: add timeout option to revive, increase for power_cycle

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoMerge branch 'next'
Sage Weil [Tue, 7 May 2013 04:31:36 +0000 (21:31 -0700)]
Merge branch 'next'

12 years agoinstall: only remove ceph data of project is ceph
Sage Weil [Tue, 7 May 2013 01:03:41 +0000 (18:03 -0700)]
install: only remove ceph data of project is ceph

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agotask/cifs-mount.py: Task for mounting cifs
Sam Lang [Wed, 1 May 2013 15:56:04 +0000 (10:56 -0500)]
task/cifs-mount.py: Task for mounting cifs

The cifs-mount task mounts a smb endpoint from the
first available smbd server (the samba.0 role).  This
task is similar to the ceph-fuse task, file system
tests can be run on the resulting mount point.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
12 years agotask/samba.py: Samba task to setup/start smbd
Sam Lang [Wed, 1 May 2013 15:55:53 +0000 (10:55 -0500)]
task/samba.py: Samba task to setup/start smbd

The samba task sets up samba on all 'samba' roles
with ceph as the backend storage module.  The task
creates a smb.conf file that points to ceph, and
starts smbd.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
12 years agotask/daemon-helper: Add nostdin option
Sam Lang [Thu, 2 May 2013 15:49:50 +0000 (10:49 -0500)]
task/daemon-helper: Add nostdin option

Some daemons (smbd) will try to read from stdin and check if its a
socket, using that for sending/receiving messages.  If /dev/null is
used for stdin, the daemon aborts.  This patch adds a 'nostdin' option
to the daemon-helper so that the daemon can be started without /dev/null
as stdin.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
12 years agotask/install.py: Allow installation of non-ceph
Sam Lang [Wed, 1 May 2013 15:55:38 +0000 (10:55 -0500)]
task/install.py: Allow installation of non-ceph

Generalizes the install task to specify a "project" which defaults to
'ceph', but can be configured to install different project packages,
for example:

install:
  project: samba
  extra_packages: samba

The default install task uses 'ceph' as the project, and relies on an
existing set of defined packages to install.  For other projects, the
packages to be installed must be specified with the extra_packages
field.  Multiple install tasks can be specified:

install:
install:
  project: samba
  extra_packages: samba

Which installs ceph packages and then samba packages.

Also, cleanup in nuke.py so that nuke and install use the same list of
packages when doing the remove steps.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
12 years agoFix teuthology installations on physical Centos machines.
Warren Usui [Wed, 1 May 2013 03:40:22 +0000 (20:40 -0700)]
Fix teuthology installations on physical Centos machines.
Yum installs of packages specify a pacakge number.  Initial
install of yum source changed to not fail if already done.
Added yum cleans where necessary.

Fixes: #4768
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agos3tests: add force-branch with higher precdence than 'branch'
Sage Weil [Thu, 2 May 2013 20:47:46 +0000 (13:47 -0700)]
s3tests: add force-branch with higher precdence than 'branch'

This way we can force a branch despite something in overrides.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agonuke.py: Allow ipmi power cycling to be skipped
Sam Lang [Tue, 30 Apr 2013 20:10:35 +0000 (15:10 -0500)]
nuke.py: Allow ipmi power cycling to be skipped

Some nodes don't have ipmi setup.  Allow nuke to
skip the ipmi checking if -i (--noipmi) is specified.

Signed-off-by: Sam Lang <sam.lang@inktank.com>