]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
8 years agocloud.openstack: Exclude windows-specific sizes 1012/head
Zack Cerza [Tue, 21 Feb 2017 20:17:43 +0000 (13:17 -0700)]
cloud.openstack: Exclude windows-specific sizes

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agonuke: Do not log the namespace object
Zack Cerza [Fri, 10 Feb 2017 21:32:01 +0000 (14:32 -0700)]
nuke: Do not log the namespace object

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agocloud.openstack: Cache authentication tokens
Zack Cerza [Fri, 10 Feb 2017 17:25:53 +0000 (10:25 -0700)]
cloud.openstack: Cache authentication tokens

Constantly causing Keystone to regenerate auth tokens was the cause of
our hitting rate limits during testing. This will let us reuse auth
tokens - including across processes - to avoid hitting those limits.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoAdd cloud.util.AuthToken
Zack Cerza [Thu, 9 Feb 2017 20:50:20 +0000 (13:50 -0700)]
Add cloud.util.AuthToken

This provides a mechanism for caching OpenStack authentication tokens

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMove FileLock out of repo_utils
Zack Cerza [Thu, 9 Feb 2017 20:53:57 +0000 (13:53 -0700)]
Move FileLock out of repo_utils

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agocloud: Volume creation fails node creation
Zack Cerza [Thu, 9 Feb 2017 00:13:51 +0000 (17:13 -0700)]
cloud: Volume creation fails node creation

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agocloud: Retry failed requests in libcloud
Zack Cerza [Mon, 6 Feb 2017 21:16:13 +0000 (14:16 -0700)]
cloud: Retry failed requests in libcloud

It's common to see "429 Rate limit exceeded", at least with OVH. When we
encounter the exception associated with that exception, backoff and
retry for an interval before eventually giving up.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoupdatekeys: Fix argument parsing
Zack Cerza [Fri, 20 Jan 2017 20:00:38 +0000 (13:00 -0700)]
updatekeys: Fix argument parsing

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years ago.gitignore: .idea
Zack Cerza [Wed, 18 Jan 2017 21:03:03 +0000 (14:03 -0700)]
.gitignore: .idea

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDon't unlock VMs when destroy fails
Zack Cerza [Tue, 10 Jan 2017 19:47:21 +0000 (12:47 -0700)]
Don't unlock VMs when destroy fails

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoUpdate SSH keys when creating VMs
Zack Cerza [Fri, 6 Jan 2017 20:47:59 +0000 (13:47 -0700)]
Update SSH keys when creating VMs

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoHandle VMs missing consoles safely
Zack Cerza [Fri, 6 Jan 2017 20:01:42 +0000 (13:01 -0700)]
Handle VMs missing consoles safely

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMake teuthology.lock a subpackage
Zack Cerza [Fri, 6 Jan 2017 00:04:11 +0000 (17:04 -0700)]
Make teuthology.lock a subpackage

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMore intelligently implement is_vm()
Zack Cerza [Thu, 5 Jan 2017 20:24:11 +0000 (13:24 -0700)]
More intelligently implement is_vm()

Move to using one decent implementation instead of multiple (some naive)
implementations

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoLocking changes needed for libcloud
Zack Cerza [Wed, 4 Jan 2017 17:22:44 +0000 (10:22 -0700)]
Locking changes needed for libcloud

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoAdd libcloud backend
Zack Cerza [Thu, 8 Dec 2016 03:30:57 +0000 (20:30 -0700)]
Add libcloud backend

Initially this supports OpenStack but will grow to support other methods
of cloud-like deployment. Some assuptions are made regarding supporting
infrastructure (FIXME document these)

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1033 from ceph/wip-wait-osd-timeout
Dan Mick [Fri, 24 Feb 2017 01:25:20 +0000 (17:25 -0800)]
Merge pull request #1033 from ceph/wip-wait-osd-timeout

misc.wait_until_osds_up(): timeout after 5min

8 years agomisc.wait_until_osds_up(): timeout after 5min 1033/head
Zack Cerza [Fri, 24 Feb 2017 00:36:05 +0000 (17:36 -0700)]
misc.wait_until_osds_up(): timeout after 5min

It doesn't make any sense to wait more than a few minutes for OSDs to
come up. If they take more than five minutes, fail the job.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1030 from tchaikov/wip-suite-sha1-for-workunit
Zack Cerza [Thu, 23 Feb 2017 23:34:36 +0000 (16:34 -0700)]
Merge pull request #1030 from tchaikov/wip-suite-sha1-for-workunit

suite: use "suite_hash" as the default sha1 for workunit

8 years agoMerge pull request #1032 from ceph/wip-nuke-samba
Zack Cerza [Thu, 23 Feb 2017 17:17:35 +0000 (10:17 -0700)]
Merge pull request #1032 from ceph/wip-nuke-samba

nuke: Remove samba repos

8 years agonuke: Remove samba repos 1032/head
David Galloway [Thu, 23 Feb 2017 16:21:47 +0000 (11:21 -0500)]
nuke: Remove samba repos

Fixes: http://tracker.ceph.com/issues/19061
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agorun: allow using alternate suite repo 1030/head
Ilya Dryomov [Fri, 17 Feb 2017 11:56:20 +0000 (12:56 +0100)]
run: allow using alternate suite repo

Do the same thing we do for ceph repo to make ceph.git commit
1f82b9b9446d ("qa/tasks/workunit: use the suite repo for cloning
workunit") work for scheduled jobs.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agosuite: use "suite_hash" as the default sha1 for workunit
Kefu Chai [Thu, 16 Feb 2017 06:59:21 +0000 (14:59 +0800)]
suite: use "suite_hash" as the default sha1 for workunit

as "workunits" reside in ceph/qa/workunits, it's more intuitive to
respect suite-branch option when cloning workunits.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #1027 from ceph/wip-ceph-ansible-boot
Zack Cerza [Fri, 10 Feb 2017 20:43:36 +0000 (13:43 -0700)]
Merge pull request #1027 from ceph/wip-ceph-ansible-boot

ceph_ansible: update pip and ansible versions

8 years agoMerge pull request #1013 from ceph/wip-clock
Zack Cerza [Thu, 9 Feb 2017 23:08:21 +0000 (16:08 -0700)]
Merge pull request #1013 from ceph/wip-clock

Change to use task 'clock' instead of 'clock.check'

8 years agoupdate default ansible version to 2.2.1 1027/head
Vasu Kulkarni [Thu, 9 Feb 2017 00:16:55 +0000 (16:16 -0800)]
update default ansible version to 2.2.1

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoupgrade pip first before setuptools
Vasu Kulkarni [Thu, 9 Feb 2017 00:15:38 +0000 (16:15 -0800)]
upgrade pip first before setuptools

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1018 from jan--f/wip-bootstrap-tumbleweed
Zack Cerza [Wed, 8 Feb 2017 22:11:04 +0000 (15:11 -0700)]
Merge pull request #1018 from jan--f/wip-bootstrap-tumbleweed

bootstrap: add support for opensuse tumbleweed.

8 years agoMerge pull request #1021 from ceph/wip-suite-default
Zack Cerza [Wed, 8 Feb 2017 22:10:22 +0000 (15:10 -0700)]
Merge pull request #1021 from ceph/wip-suite-default

teuthology-suite: Drop default for --ceph

8 years agoMerge pull request #1004 from SUSE/wip-17981
Zack Cerza [Wed, 8 Feb 2017 22:00:19 +0000 (15:00 -0700)]
Merge pull request #1004 from SUSE/wip-17981

nuke: Use pkill -KILL to unconditionally wipe out hadoop processes

8 years agoMerge pull request #1026 from dmick/master
Zack Cerza [Tue, 7 Feb 2017 20:22:40 +0000 (13:22 -0700)]
Merge pull request #1026 from dmick/master

prune: use the shortest time of -p or -r to decide on processing

8 years agoprune: use the shortest time of -p or -r to decide on processing 1026/head
Dan Mick [Tue, 7 Feb 2017 20:07:47 +0000 (12:07 -0800)]
prune: use the shortest time of -p or -r to decide on processing

invoking -p 7 -r 30 was only removing passed jobs 30 days or older.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #1025 from ceph/wip-console-force-into-spy
Zack Cerza [Tue, 7 Feb 2017 17:06:09 +0000 (10:06 -0700)]
Merge pull request #1025 from ceph/wip-console-force-into-spy

console: force existing connections into spy mode if !readonly

8 years agoconsole: force existing connections into spy mode if !readonly 1025/head
Ilya Dryomov [Tue, 7 Feb 2017 09:55:45 +0000 (10:55 +0100)]
console: force existing connections into spy mode if !readonly

If someone watching the console didn't think of using "console -s", we
end up power cycling the node in an attempt to get the login prompt.
This is futile -- if the watcher is still there after the node comes
back up, our connection will get dropped to spy mode again.

Use -f to temporarily force existing connections into spy mode when we
attach to save a power cycle.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #1024 from ceph/wip-kclient-nuke-nosync
Zack Cerza [Fri, 3 Feb 2017 20:55:48 +0000 (13:55 -0700)]
Merge pull request #1024 from ceph/wip-kclient-nuke-nosync

nuke: work around a reboot -n trouble

8 years agonuke: work around a reboot -n trouble 1024/head
Ilya Dryomov [Fri, 3 Feb 2017 10:21:02 +0000 (11:21 +0100)]
nuke: work around a reboot -n trouble

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agonuke: improve stale_kernel_mount() check
Ilya Dryomov [Fri, 3 Feb 2017 09:59:43 +0000 (10:59 +0100)]
nuke: improve stale_kernel_mount() check

Commit 7db9e8b76fd5 ("nuke: bring stale kernel client handling back")
resurrected the check that was removed in commit 1d47a121b385 ("Fix
nuke, redo some cleanup functions").  It isn't sufficient though -- for
example, if a workunit already issued a umount, /etc/mtab won't have
a '^/dev/rbd' entry.

debugfs is enabled and mounted on all distros we care about.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #1022 from ceph/wip-unbreak-kclient-nuke
Zack Cerza [Wed, 1 Feb 2017 23:58:59 +0000 (16:58 -0700)]
Merge pull request #1022 from ceph/wip-unbreak-kclient-nuke

nuke: bring stale kernel client handling back

8 years agonuke: drop remove_kernel_mounts() 1022/head
Ilya Dryomov [Wed, 1 Feb 2017 19:37:49 +0000 (20:37 +0100)]
nuke: drop remove_kernel_mounts()

Calling remove_kernel_mounts() after reboot() is pretty useless.  Also,
as explained in the previous commit, there isn't much we can do in the
krbd case, so just drop it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agonuke: bring stale kernel client handling back
Ilya Dryomov [Wed, 1 Feb 2017 19:37:49 +0000 (20:37 +0100)]
nuke: bring stale kernel client handling back

Commit 1d47a121b385 ("Fix nuke, redo some cleanup functions") broke
stale kernel client map/mount handling by dropping reboot arguments.
While for kcephfs we can use 'umount -f' to avoid sync (it used to not
work, but is mostly fixed now, I believe), currently there is nothing
we can do for a local filesystem mounted on top of krbd.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoteuthology-suite: Drop default for --ceph 1021/head
Zack Cerza [Wed, 25 Jan 2017 22:20:43 +0000 (15:20 -0700)]
teuthology-suite: Drop default for --ceph

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1020 from ceph/wip-waitpid
Dan Mick [Wed, 25 Jan 2017 21:23:10 +0000 (13:23 -0800)]
Merge pull request #1020 from ceph/wip-waitpid

Tell gevent not to patch os.waitpid()

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoTell gevent not to patch os.waitpid() 1020/head
Zack Cerza [Wed, 25 Jan 2017 21:08:35 +0000 (14:08 -0700)]
Tell gevent not to patch os.waitpid()

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agobootstrap: add support for opensuse tumbleweed. 1018/head
Jan Fajerski [Wed, 25 Jan 2017 13:38:39 +0000 (14:38 +0100)]
bootstrap: add support for opensuse tumbleweed.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
8 years agoMerge pull request #1017 from ceph/wip-manhole
Dan Mick [Tue, 24 Jan 2017 19:27:17 +0000 (11:27 -0800)]
Merge pull request #1017 from ceph/wip-manhole

Use manhole to provide a way to debug hung jobs

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoUse manhole to provide a way to debug hung jobs 1017/head
Zack Cerza [Tue, 24 Jan 2017 18:56:49 +0000 (11:56 -0700)]
Use manhole to provide a way to debug hung jobs

https://pypi.python.org/pypi/manhole

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1014 from jcsp/wip-18594
Zack Cerza [Tue, 24 Jan 2017 16:47:29 +0000 (09:47 -0700)]
Merge pull request #1014 from jcsp/wip-18594

pcp: use a timeout when downloading graphite graphs

8 years agopcp: use a timeout when downloading graphite graphs 1014/head
John Spray [Thu, 19 Jan 2017 13:47:59 +0000 (13:47 +0000)]
pcp: use a timeout when downloading graphite graphs

Fixes: http://tracker.ceph.com/issues/18597
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #1011 from ceph/wip-kernel-kill-vsplitter
Zack Cerza [Tue, 17 Jan 2017 17:41:41 +0000 (10:41 -0700)]
Merge pull request #1011 from ceph/wip-kernel-kill-vsplitter

kernel: be more flexible about sha1 matching

8 years agokernel: be more flexible about sha1 matching 1011/head
Ilya Dryomov [Tue, 17 Jan 2017 14:03:46 +0000 (15:03 +0100)]
kernel: be more flexible about sha1 matching

Some rpm scripts don't allow dashes in the Release field, so let's
accept both -g and _g.  Kill _vsplitter() as Calxeda is no more.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoclock: Fix clock's use of Remote.run() 1013/head
Dan Mick [Tue, 17 Jan 2017 00:11:30 +0000 (16:11 -0800)]
clock: Fix clock's use of Remote.run()

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoUse clock by default (instead of clock.check)
Dan Mick [Fri, 13 Jan 2017 22:49:05 +0000 (14:49 -0800)]
Use clock by default (instead of clock.check)

We're seeing clocks desynchronized.  My theory is that this might
be because ntp can take five minutes or more to actually sync the
clocks, and clock.check doesn't do any setting of the clocks, just
reporting.  clock, OTOH, stops ntpd and does an ntpdate, and then
restarts ntpd, which should kickstart it with a much-closer-to-correct
time.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #1009 from ceph/wip-archive
Dan Mick [Tue, 17 Jan 2017 00:19:41 +0000 (16:19 -0800)]
Merge pull request #1009 from ceph/wip-archive

Avoid a race condition with job archive creation

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoFix a conflict with openstack requirements 1009/head
Zack Cerza [Mon, 16 Jan 2017 23:39:49 +0000 (16:39 -0700)]
Fix a conflict with openstack requirements

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoworker: Create job archive directories
Zack Cerza [Mon, 16 Jan 2017 23:16:41 +0000 (16:16 -0700)]
worker: Create job archive directories

... not just run archive directories. This is to resolve a race
condition between the job creating its archive directory and the worker
symlinking its log into that directory.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agorun: Don't fail if the archive dir exists
Zack Cerza [Mon, 16 Jan 2017 23:14:49 +0000 (16:14 -0700)]
run: Don't fail if the archive dir exists

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1006 from ceph/wip-cd-debug
Zack Cerza [Tue, 10 Jan 2017 22:47:01 +0000 (15:47 -0700)]
Merge pull request #1006 from ceph/wip-cd-debug

Remove high level of debug logging which is not required

8 years agoRemove high level of debug logging which is not required 1006/head
Vasu Kulkarni [Tue, 10 Jan 2017 17:45:45 +0000 (09:45 -0800)]
Remove high level of debug logging which is not required

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1005 from ceph/wip-prune-compress
Dan Mick [Wed, 4 Jan 2017 00:09:42 +0000 (16:09 -0800)]
Merge pull request #1005 from ceph/wip-prune-compress

prune: Compress teuthology.log

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoprune: Compress teuthology.log 1005/head
Zack Cerza [Tue, 3 Jan 2017 16:35:31 +0000 (09:35 -0700)]
prune: Compress teuthology.log

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agonuke: Use pkill -KILL to unconditionally wipe out hadoop processes 1004/head
Nathan Cutler [Tue, 27 Dec 2016 10:43:15 +0000 (11:43 +0100)]
nuke: Use pkill -KILL to unconditionally wipe out hadoop processes

In CentOS 7, the command "ps -ef | grep 'java.*hadoop' | grep -v grep | awk
'{print $2}' | xargs kill -9" produces undesirable output when no matching
processes exist.

Note: the "-f" option to pkill mimics the semantics of "ps -ef". For example,
"ps -ef | grep 'java.*hadoop'" will match a process called "sh java343hadoop",
while pkill will match that process only with the -f option:

$ ps -ef | grep "java.*hadoop" | grep -v grep
root     16165  4101  0 11:57 pts/1    00:00:00 sh java343hadoop
$ pkill -KILL "java.*hadoop"
$
$ ps -ef | grep "java.*hadoop" | grep -v grep
root     16165  4101  0 11:57 pts/1    00:00:00 sh java343hadoop
$ pkill -f -KILL "java.*hadoop"
[1]+  Killed                  sh java343hadoop

Fixes: http://tracker.ceph.com/issues/17981
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #982 from ceph/wip-rgw-multisite
Zack Cerza [Wed, 21 Dec 2016 21:15:23 +0000 (14:15 -0700)]
Merge pull request #982 from ceph/wip-rgw-multisite

swift: added "--cluster" to rgw-admin command for multisite support

8 years agoswift: added "--cluster" to rgw-admin command for multisite support 982/head
Ali Maredia [Thu, 10 Nov 2016 18:58:35 +0000 (13:58 -0500)]
swift: added "--cluster" to rgw-admin command for multisite support

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #1003 from dmick/master
Zack Cerza [Wed, 21 Dec 2016 19:39:38 +0000 (12:39 -0700)]
Merge pull request #1003 from dmick/master

spawn_sol_log: use sys.executable to find bin/python

8 years agospawn_sol_log: use sys.executable to find bin/python 1003/head
Dan Mick [Tue, 20 Dec 2016 03:44:52 +0000 (19:44 -0800)]
spawn_sol_log: use sys.executable to find bin/python

An activated virtualenv has PATH set to find Python with /usr/bin/env.
A binary run from virtualenv/bin doesn't set PATH.  Use sys.executable
to handle both invocation methods.

Fixes: http://tracker.ceph.com/issues/17986
Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #995 from ceph/wip-ceph-ansible2
Zack Cerza [Tue, 20 Dec 2016 23:11:31 +0000 (16:11 -0700)]
Merge pull request #995 from ceph/wip-ceph-ansible2

ceph-ansible task changes for tests to work with latest ceph-ansible master branch

8 years agocleanup temporary files at the end of the test 995/head
Vasu Kulkarni [Tue, 20 Dec 2016 20:39:25 +0000 (12:39 -0800)]
cleanup temporary files at the end of the test

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agopatch from ansible module instead of ceph_ansible
Vasu Kulkarni [Thu, 8 Dec 2016 17:45:36 +0000 (09:45 -0800)]
patch from ansible module instead of ceph_ansible

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoFix client keyring permissions
Vasu Kulkarni [Wed, 7 Dec 2016 06:54:54 +0000 (22:54 -0800)]
Fix client keyring permissions

Fix client keyring permission for workunits

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agounit test updates
Vasu Kulkarni [Wed, 7 Dec 2016 04:10:05 +0000 (20:10 -0800)]
unit test updates

unit test updates after subclass changes

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agocheck for ceph health function
Vasu Kulkarni [Wed, 7 Dec 2016 04:09:08 +0000 (20:09 -0800)]
check for ceph health function

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agosetup env and execute playbook
Vasu Kulkarni [Wed, 7 Dec 2016 04:07:29 +0000 (20:07 -0800)]
setup env and execute playbook

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agorh specific playbook execution
Vasu Kulkarni [Wed, 7 Dec 2016 04:04:43 +0000 (20:04 -0800)]
rh specific playbook execution

rh specific playbook execution as per docs

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoadd required functions after subclass change
Vasu Kulkarni [Wed, 7 Dec 2016 04:02:26 +0000 (20:02 -0800)]
add required functions after subclass change

add functions required after subclass change from ceph.ansible to normal
task

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agolimit number of osd's based on roles
Vasu Kulkarni [Wed, 7 Dec 2016 03:55:10 +0000 (19:55 -0800)]
limit number of osd's based on roles

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agouse ceph-client role
Vasu Kulkarni [Wed, 7 Dec 2016 03:52:05 +0000 (19:52 -0800)]
use ceph-client role

use ceph-client role for clients

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agouse Task subclass instead of Ansible
Vasu Kulkarni [Wed, 7 Dec 2016 03:24:33 +0000 (19:24 -0800)]
use Task subclass instead of Ansible

make it a subclass of Task as its more appropriate for this test and is
not dependent on ansible task.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1000 from ceph/wip-sp-tag-magic
Sage Weil [Thu, 15 Dec 2016 19:57:41 +0000 (13:57 -0600)]
Merge pull request #1000 from ceph/wip-sp-tag-magic

ShamanProject._tag_to_sha1(): retry w/ ceph.git

8 years agoShamanProject._tag_to_sha1(): retry w/ ceph.git 1000/head
Zack Cerza [Thu, 15 Dec 2016 19:33:45 +0000 (12:33 -0700)]
ShamanProject._tag_to_sha1(): retry w/ ceph.git

For upgrade tests that are otherwise using ceph-ci.git, we need to also
look in ceph.git to lookup released tags.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #999 from ceph/wip-ci
Sage Weil [Thu, 15 Dec 2016 04:01:31 +0000 (22:01 -0600)]
Merge pull request #999 from ceph/wip-ci

config: default to ceph-ci

8 years agoTestShamanProject: mock _get_package_sha1() 999/head
Zack Cerza [Wed, 14 Dec 2016 23:56:08 +0000 (16:56 -0700)]
TestShamanProject: mock _get_package_sha1()

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agotest_email_addr() mock util.fetch_repos()
Zack Cerza [Wed, 14 Dec 2016 23:45:05 +0000 (16:45 -0700)]
test_email_addr() mock util.fetch_repos()

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoconfig: default to ceph-ci.git
Sage Weil [Wed, 14 Dec 2016 22:08:26 +0000 (17:08 -0500)]
config: default to ceph-ci.git

Developers will normally be pushing branches to ceph-ci and testing against
those.  Testings branches in the canonical ceph.git will be less common
(mostly the cron jobs).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoconfig: use ceph git url for suite
Sage Weil [Wed, 14 Dec 2016 22:07:49 +0000 (17:07 -0500)]
config: use ceph git url for suite

e.g., if the user specifies --ceph-repo, we will use this for the suite,
too.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #998 from ceph/wip-suite-repo-default
Sage Weil [Wed, 14 Dec 2016 21:54:46 +0000 (15:54 -0600)]
Merge pull request #998 from ceph/wip-suite-repo-default

Reflect the move from ceph-qa-suite.git -> ceph.git

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #986 from ceph/wip-rgw-valgrind
Sage Weil [Wed, 14 Dec 2016 20:29:00 +0000 (14:29 -0600)]
Merge pull request #986 from ceph/wip-rgw-valgrind

valgrind: suppression for md_config_t string leak

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoDefault suite_relpath to 'qa' 998/head
Zack Cerza [Wed, 14 Dec 2016 19:43:29 +0000 (12:43 -0700)]
Default suite_relpath to 'qa'

To reflect the move from ceph-qa-suite.git -> ceph.git

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDefault suite repo to ceph.git
Zack Cerza [Wed, 14 Dec 2016 19:43:59 +0000 (12:43 -0700)]
Default suite repo to ceph.git

To reflect the move from ceph-qa-suite.git -> ceph.git

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #997 from ceph/wip-alt-ceph-repo
Sage Weil [Wed, 14 Dec 2016 01:28:12 +0000 (19:28 -0600)]
Merge pull request #997 from ceph/wip-alt-ceph-repo

suite: Add --ceph-repo option

8 years agorun: Use alternate ceph repo if specified 997/head
Zack Cerza [Tue, 13 Dec 2016 17:31:06 +0000 (10:31 -0700)]
run: Use alternate ceph repo if specified

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agosuite: Add --ceph-repo option
Zack Cerza [Tue, 13 Dec 2016 17:03:46 +0000 (10:03 -0700)]
suite: Add --ceph-repo option

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agovalgrind: xenial msync whitelist
Sage Weil [Fri, 9 Dec 2016 01:12:58 +0000 (19:12 -0600)]
valgrind: xenial msync whitelist

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #996 from ceph/wip-worker-reload-config
Dan Mick [Thu, 8 Dec 2016 20:08:39 +0000 (12:08 -0800)]
Merge pull request #996 from ceph/wip-worker-reload-config

worker: reload teuthology config before each job

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoworker: reload teuthology config before each job 996/head
Zack Cerza [Thu, 8 Dec 2016 19:08:47 +0000 (12:08 -0700)]
worker: reload teuthology config before each job

The new suite_repo setting was persisting between jobs, which is...
undesirable.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agovalgrind: suppression for md_config_t string leak 986/head
Casey Bodley [Thu, 17 Nov 2016 16:33:11 +0000 (11:33 -0500)]
valgrind: suppression for md_config_t string leak

Fixes: http://tracker.ceph.com/issues/17924
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #990 from ceph/wip-suite-repo
Dan Mick [Wed, 7 Dec 2016 19:08:16 +0000 (11:08 -0800)]
Merge pull request #990 from ceph/wip-suite-repo

Allow using an alternate suite repo

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #994 from ceph/wip-shaman-default
Sage Weil [Tue, 6 Dec 2016 23:04:16 +0000 (18:04 -0500)]
Merge pull request #994 from ceph/wip-shaman-default

Default use_shaman to True

8 years agoDefault use_shaman to True 994/head
Zack Cerza [Tue, 6 Dec 2016 20:24:14 +0000 (13:24 -0700)]
Default use_shaman to True

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agovalgrind.supp: xenial libstdc++ leak
Sage Weil [Sun, 4 Dec 2016 15:06:27 +0000 (10:06 -0500)]
valgrind.supp: xenial libstdc++ leak

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #993 from ceph/wip-rerun-0match
Zack Cerza [Fri, 2 Dec 2016 21:43:41 +0000 (14:43 -0700)]
Merge pull request #993 from ceph/wip-rerun-0match

suite: Correct rerun behavior when no jobs match