]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
9 years agoMerge pull request #825 from ceph/wip-kill-doc
Dan Mick [Tue, 22 Mar 2016 17:53:12 +0000 (10:53 -0700)]
Merge pull request #825 from ceph/wip-kill-doc

Mention that -kill must be run on the master node

9 years agoMention that -kill must be run on the master node 825/head
Zack Cerza [Tue, 22 Mar 2016 16:49:40 +0000 (10:49 -0600)]
Mention that -kill must be run on the master node

There isn't currently a remote kill-a-process feature.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #824 from ceph/wip-ver-update
Zack Cerza [Fri, 18 Mar 2016 21:06:31 +0000 (15:06 -0600)]
Merge pull request #824 from ceph/wip-ver-update

rh version update

9 years agoInstall ceph-fuse for 2.0 by default for tests to work 824/head
Vasu Kulkarni [Thu, 17 Mar 2016 23:56:42 +0000 (19:56 -0400)]
Install ceph-fuse for 2.0 by default for tests to work

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoPackage name split, ceph is now ceph-mon, ceph-osd
Vasu Kulkarni [Thu, 17 Mar 2016 23:28:14 +0000 (19:28 -0400)]
Package name split, ceph is now ceph-mon, ceph-osd

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoAdd ceph-selinux to pkg list for 1.3.2 builds
Vasu Kulkarni [Thu, 17 Mar 2016 21:33:08 +0000 (17:33 -0400)]
Add ceph-selinux to pkg list for 1.3.2 builds

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #797 from dachary/wip-openstack-override-clone
Zack Cerza [Thu, 17 Mar 2016 15:46:06 +0000 (09:46 -0600)]
Merge pull request #797 from dachary/wip-openstack-override-clone

openstack: allow override of openstack:clone:

9 years agoMerge pull request #822 from dachary/wip-14997-openstack-stale-keypairs
Zack Cerza [Thu, 17 Mar 2016 15:40:38 +0000 (09:40 -0600)]
Merge pull request #822 from dachary/wip-14997-openstack-stale-keypairs

openstack: protect against stale keypairs

9 years agoopenstack: protect against stale keypairs 822/head
Loic Dachary [Tue, 8 Mar 2016 07:56:20 +0000 (14:56 +0700)]
openstack: protect against stale keypairs

http://tracker.ceph.com/issues/14997 Fixes: #14997

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoUpdate rh_version supported in downstream
Vasu Kulkarni [Thu, 17 Mar 2016 02:53:53 +0000 (22:53 -0400)]
Update rh_version supported in downstream

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #821 from ceph/wip-yum-priorities
Dan Mick [Thu, 17 Mar 2016 01:30:38 +0000 (18:30 -0700)]
Merge pull request #821 from ceph/wip-yum-priorities

install: Fix non-idempotent check_obsoletes tweak

Reviewed-by: Dan Mick<dmick@redhat.com>
9 years agoMerge pull request #813 from smithfarm/wip-fix-siteconfig
Zack Cerza [Wed, 16 Mar 2016 23:15:48 +0000 (17:15 -0600)]
Merge pull request #813 from smithfarm/wip-fix-siteconfig

docs/siteconfig.rst: adapt comments to reality

9 years agodocs/siteconfig.rst: consistency 813/head
Nathan Cutler [Tue, 8 Mar 2016 08:18:40 +0000 (09:18 +0100)]
docs/siteconfig.rst: consistency

Change "count: 0" to "count: 3" for consistency with the comment.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoinstall: Fix non-idempotent check_obsoletes tweak 821/head
Zack Cerza [Wed, 16 Mar 2016 18:13:25 +0000 (12:13 -0600)]
install: Fix non-idempotent check_obsoletes tweak

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #820 from ceph/wip-nrpe
vasukulkarni [Wed, 16 Mar 2016 17:37:19 +0000 (10:37 -0700)]
Merge pull request #820 from ceph/wip-nrpe

selinux: Whitelist nrpe

9 years agoselinux: Whitelist nagios' nrpe 820/head
Zack Cerza [Wed, 16 Mar 2016 17:24:38 +0000 (11:24 -0600)]
selinux: Whitelist nagios' nrpe

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoselinux: Fix linter complaints
Zack Cerza [Wed, 16 Mar 2016 17:23:23 +0000 (11:23 -0600)]
selinux: Fix linter complaints

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoceph.conf: do not warn on straw calc version = 0
Sage Weil [Mon, 14 Mar 2016 21:33:31 +0000 (17:33 -0400)]
ceph.conf: do not warn on straw calc version = 0

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #818 from dachary/wip-14799-valgrind
Sage Weil [Fri, 11 Mar 2016 17:37:02 +0000 (12:37 -0500)]
Merge pull request #818 from dachary/wip-14799-valgrind

valgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0

9 years agovalgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0 818/head
Loic Dachary [Fri, 11 Mar 2016 03:49:51 +0000 (10:49 +0700)]
valgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0

http://tracker.ceph.com/issues/14799 Fixes: #14799

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #817 from ceph/wip-valgrind-supp
Dan Mick [Fri, 11 Mar 2016 02:53:01 +0000 (18:53 -0800)]
Merge pull request #817 from ceph/wip-valgrind-supp

valgrind: ignore boost thread-local warning

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agovalgrind: ignore boost thread-local warning 817/head
Greg Farnum [Thu, 10 Mar 2016 22:56:34 +0000 (14:56 -0800)]
valgrind: ignore boost thread-local warning

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #814 from ceph/wip-15014
Dan Mick [Thu, 10 Mar 2016 22:03:26 +0000 (14:03 -0800)]
Merge pull request #814 from ceph/wip-15014

install task: Make package lists configurable

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #816 from ceph/wip-big-vps
Dan Mick [Thu, 10 Mar 2016 18:02:52 +0000 (10:02 -0800)]
Merge pull request #816 from ceph/wip-big-vps

lock: Pass canonicalized hostname to create_if_vm

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agolock: Pass canonicalized hostname to create_if_vm 816/head
Zack Cerza [Thu, 10 Mar 2016 17:17:10 +0000 (10:17 -0700)]
lock: Pass canonicalized hostname to create_if_vm

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoinstall: Remove old "lib deps" cruft 814/head
Zack Cerza [Tue, 8 Mar 2016 22:55:28 +0000 (15:55 -0700)]
install: Remove old "lib deps" cruft

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agonuke: Use install_task.get_package_list()
Zack Cerza [Tue, 8 Mar 2016 22:29:00 +0000 (15:29 -0700)]
nuke: Use install_task.get_package_list()

(Properly named task.install.get_package_list())

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoinstall: Add get_package_list()
Zack Cerza [Tue, 8 Mar 2016 21:38:31 +0000 (14:38 -0700)]
install: Add get_package_list()

Move package lists out of the module and into packages.yaml. Enable
overriding package lists via the job config.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #815 from ceph/wip-14855
Zack Cerza [Wed, 9 Mar 2016 20:19:48 +0000 (13:19 -0700)]
Merge pull request #815 from ceph/wip-14855

misc.get_wwn_id_map: not finding wwns is not an error

9 years agomisc.get_wwn_id_map: not finding wwns is not an error 815/head
Dan Mick [Wed, 9 Mar 2016 19:27:34 +0000 (11:27 -0800)]
misc.get_wwn_id_map: not finding wwns is not an error

Fixes: #14855
Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #790 from ceph/wip-fixdenials
Zack Cerza [Tue, 8 Mar 2016 23:08:46 +0000 (16:08 -0700)]
Merge pull request #790 from ceph/wip-fixdenials

Add whitelist option and fix for cephtest denials

9 years agoAdd whitelist option and fix for cephtest denials 790/head
Vasu Kulkarni [Sat, 20 Feb 2016 17:52:46 +0000 (12:52 -0500)]
Add whitelist option and fix for cephtest denials

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #812 from ceph/wip-gevent
Dan Mick [Tue, 8 Mar 2016 00:24:16 +0000 (16:24 -0800)]
Merge pull request #812 from ceph/wip-gevent

Unpin gevent and avoid patching subprocess

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoUnpin gevent and avoid patching subprocess 812/head
Zack Cerza [Mon, 7 Mar 2016 23:47:50 +0000 (16:47 -0700)]
Unpin gevent and avoid patching subprocess

Recently, gevent updated to 1.1.0, breaking a few things like misc.sh().
PR #810 pinned gevent to 1.0.2, but I wanted to properly investigate the
issue to not be stuck on an old version. Some git bisects later, I
discovered that gevent began patching the subprocess module by default
in:

https://github.com/gevent/gevent/commit/fc73e9afa34d811ede5d62531025d2e3876b8c01

Unpinning gevent and also telling it not to patch subprocess fixes the
issue.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #811 from ceph/wip-prime
Samuel Just [Mon, 7 Mar 2016 22:08:06 +0000 (14:08 -0800)]
Merge pull request #811 from ceph/wip-prime

mon osd prime pg temp = true

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoceph.conf: mon osd prime pg temp = true 811/head
Sage Weil [Mon, 7 Mar 2016 21:56:59 +0000 (16:56 -0500)]
ceph.conf: mon osd prime pg temp = true

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #809 from smithfarm/wip_doc_fake_fs
Zack Cerza [Mon, 7 Mar 2016 17:37:35 +0000 (10:37 -0700)]
Merge pull request #809 from smithfarm/wip_doc_fake_fs

doc: update documentation of make_fake_fstools()

9 years agoMerge pull request #808 from smithfarm/wip-doc-teuos
Zack Cerza [Mon, 7 Mar 2016 17:37:20 +0000 (10:37 -0700)]
Merge pull request #808 from smithfarm/wip-doc-teuos

README.rst: mention teuthology-openstack in Provided Utilities

9 years agoMerge pull request #810 from dachary/wip-14990-gevent
Zack Cerza [Mon, 7 Mar 2016 16:34:20 +0000 (09:34 -0700)]
Merge pull request #810 from dachary/wip-14990-gevent

pin gevent 1.0.2

9 years agopin gevent 1.0.2 810/head
Loic Dachary [Sat, 5 Mar 2016 17:01:24 +0000 (00:01 +0700)]
pin gevent 1.0.2

http://tracker.ceph.com/issues/14990 Fixes: #14990

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agodoc: update documentation of make_fake_fstools() 809/head
Nathan Cutler [Sun, 6 Mar 2016 10:43:47 +0000 (11:43 +0100)]
doc: update documentation of make_fake_fstools()

When the documentation of make_fake_fstools() was written, the function
evidently only returned two values. Now it returns four values. Additional
return values might be added later.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoREADME.rst: mention teuthology-openstack in Provided Utilities 808/head
Nathan Cutler [Sat, 5 Mar 2016 17:41:58 +0000 (18:41 +0100)]
README.rst: mention teuthology-openstack in Provided Utilities

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #807 from ceph/wip-repo-set-remote
Andrew Schoen [Fri, 4 Mar 2016 16:48:26 +0000 (10:48 -0600)]
Merge pull request #807 from ceph/wip-repo-set-remote

repo_utils: Call git set remote-url

9 years agorepo_utils: Call git set remote-url 807/head
Zack Cerza [Fri, 4 Mar 2016 16:23:31 +0000 (09:23 -0700)]
repo_utils: Call git set remote-url

This will cause git repos on-disk to be updated to point at the correct
remote based on config.ceph_git_base_url

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #804 from dachary/wip-openstack-vault
Zack Cerza [Wed, 2 Mar 2016 18:47:04 +0000 (11:47 -0700)]
Merge pull request #804 from dachary/wip-openstack-vault

openstack: create default ~/.vault_pass.txt

9 years agoMerge pull request #806 from dachary/wip-openstack-sitepackage
Zack Cerza [Wed, 2 Mar 2016 16:19:57 +0000 (09:19 -0700)]
Merge pull request #806 from dachary/wip-openstack-sitepackage

openstack: do not use sitepackages for openstack-integration tests

9 years agoMerge pull request #805 from dachary/wip-openstack-test-selection
Zack Cerza [Wed, 2 Mar 2016 16:19:35 +0000 (09:19 -0700)]
Merge pull request #805 from dachary/wip-openstack-test-selection

openstack: test selection for openstack-integration

9 years agoopenstack: do not use sitepackages for openstack-integration tests 806/head
Loic Dachary [Sun, 28 Feb 2016 06:27:22 +0000 (13:27 +0700)]
openstack: do not use sitepackages for openstack-integration tests

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: test selection for openstack-integration 805/head
Loic Dachary [Sun, 28 Feb 2016 05:33:41 +0000 (12:33 +0700)]
openstack: test selection for openstack-integration

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: create default ~/.vault_pass.txt 804/head
Loic Dachary [Sun, 28 Feb 2016 04:57:48 +0000 (11:57 +0700)]
openstack: create default ~/.vault_pass.txt

It is now required by teuthology.

http://tracker.ceph.com/issues/14914 Fixes: #14914

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: allow override of openstack:clone: 797/head
Loic Dachary [Wed, 2 Dec 2015 14:06:26 +0000 (15:06 +0100)]
openstack: allow override of openstack:clone:

When running from a wip teuthology branch, it is inconvenient to tweak
~/.teuthology.yaml. Add --teuthology-git-url and --teuthology-branch to
take precendence and override the defaults.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #794 from dachary/wip-openstack-wait
Zack Cerza [Tue, 1 Mar 2016 16:57:00 +0000 (09:57 -0700)]
Merge pull request #794 from dachary/wip-openstack-wait

openstack: add --wait to block until the suite finishes

9 years agoMerge pull request #802 from dachary/wip-openstack-neutron
Zack Cerza [Mon, 29 Feb 2016 20:23:52 +0000 (13:23 -0700)]
Merge pull request #802 from dachary/wip-openstack-neutron

openstack: openstacklient >= 2.1.0 does not depend on neutronclient

9 years agoMerge pull request #801 from dachary/wip-openstack-centos-7-2
Zack Cerza [Mon, 29 Feb 2016 20:23:36 +0000 (13:23 -0700)]
Merge pull request #801 from dachary/wip-openstack-centos-7-2

openstack: package CentOS 7.2 data file

9 years agoMerge pull request #800 from dachary/wip-openstack-cleanup
Zack Cerza [Mon, 29 Feb 2016 20:23:18 +0000 (13:23 -0700)]
Merge pull request #800 from dachary/wip-openstack-cleanup

openstack: only destroy target/ceph- VMs on restart

9 years agoMerge pull request #799 from dachary/wip-openstack-timeout
Zack Cerza [Mon, 29 Feb 2016 20:21:25 +0000 (13:21 -0700)]
Merge pull request #799 from dachary/wip-openstack-timeout

openstack: default to 9h job timeout

9 years agoMerge pull request #796 from dachary/wip-archive-upload
Zack Cerza [Mon, 29 Feb 2016 20:20:05 +0000 (13:20 -0700)]
Merge pull request #796 from dachary/wip-archive-upload

suite/openstack: add --archive-upload-url

9 years agoMerge pull request #795 from dachary/wip-openstack-suite-exit-code
Zack Cerza [Mon, 29 Feb 2016 20:18:49 +0000 (13:18 -0700)]
Merge pull request #795 from dachary/wip-openstack-suite-exit-code

suite/openstack: implement the exit code

9 years agoopenstack: openstacklient >= 2.1.0 does not depend on neutronclient 802/head
Loic Dachary [Sat, 27 Feb 2016 07:04:29 +0000 (14:04 +0700)]
openstack: openstacklient >= 2.1.0 does not depend on neutronclient

Explicitly require it python-neutronclient.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: package CentOS 7.2 data file 801/head
Loic Dachary [Mon, 18 Jan 2016 07:07:09 +0000 (14:07 +0700)]
openstack: package CentOS 7.2 data file

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: only destroy target/ceph- VMs on restart 800/head
Loic Dachary [Thu, 14 Jan 2016 07:37:27 +0000 (08:37 +0100)]
openstack: only destroy target/ceph- VMs on restart

Obsolete resources will be taken care of by the teuthology-nuke
--stale-openstack cron job. We just want to avoid running into obsolete
targets.

The ceph-* targets which are created by the buildpackages task must also
be disposed of.

The timestamps dir is wiped out, except for packages-repository, if
it exists.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: default to 9h job timeout 799/head
Loic Dachary [Thu, 14 Jan 2016 07:01:55 +0000 (08:01 +0100)]
openstack: default to 9h job timeout

Because a few job take more than 6h. Ideally this could be overriden on
a case by case basis.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agosuite/openstack: add --archive-upload-url 796/head
Loic Dachary [Wed, 2 Dec 2015 11:19:48 +0000 (12:19 +0100)]
suite/openstack: add --archive-upload-url

When uploading job results with --upload, it may be non-trivial to
figure out the public facing URL where the job will be visible. When
used via teuthology-openstack, it defaults to

    http://teuthology-logs.public.ceph.com

so that using --wait --upload --teardown displays the URLs of the
uploaded job results that are accessible even after the cluster is
gone.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agosuite/openstack: implement the exit code 795/head
Loic Dachary [Wed, 2 Dec 2015 11:05:13 +0000 (12:05 +0100)]
suite/openstack: implement the exit code

Make it so the exit code of the command reflects the success or failure
of the suite. This is useful when running with --wait.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: add --wait to block until the suite finishes 794/head
Loic Dachary [Sun, 29 Nov 2015 11:51:45 +0000 (12:51 +0100)]
openstack: add --wait to block until the suite finishes

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #791 from ceph/wip-ceph-ansible
Dan Mick [Fri, 26 Feb 2016 20:22:08 +0000 (12:22 -0800)]
Merge pull request #791 from ceph/wip-ceph-ansible

ceph_ansible: provide devices, monitor_interface, public_network

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoSet network-related hostvars if necessary 791/head
Zack Cerza [Wed, 24 Feb 2016 17:36:24 +0000 (10:36 -0700)]
Set network-related hostvars if necessary

Specifically, monitor_interface and public_network

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd Remote.{ip_address, interface, cidr}
Zack Cerza [Wed, 24 Feb 2016 17:30:06 +0000 (10:30 -0700)]
Add Remote.{ip_address, interface, cidr}

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoUse misc.get_scratch_devices() when necessary
Zack Cerza [Tue, 23 Feb 2016 18:18:19 +0000 (11:18 -0700)]
Use misc.get_scratch_devices() when necessary

That is, if osd_auto_discovery is disabled.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRefactor hosts file generation
Zack Cerza [Tue, 23 Feb 2016 17:38:56 +0000 (10:38 -0700)]
Refactor hosts file generation

This is in preparation to enable us to write host-specific vars to the
file.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #793 from ceph/wip-suite-error
Dan Mick [Fri, 26 Feb 2016 01:09:00 +0000 (17:09 -0800)]
Merge pull request #793 from ceph/wip-suite-error

Add a warning when gitbuilder 404s

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoAdd a warning when gitbuilder 404s 793/head
Zack Cerza [Fri, 26 Feb 2016 00:59:51 +0000 (17:59 -0700)]
Add a warning when gitbuilder 404s

When determining the ceph hash, we usually ask gitbuilder. When that
fails, the error is misleading but it would take a bit of refactoring to
truly fix it. Let's at least put a useful warning before the confusing error
message.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #792 from ceph/wip-os-version-str
Dan Mick [Thu, 25 Feb 2016 02:01:39 +0000 (19:01 -0700)]
Merge pull request #792 from ceph/wip-os-version-str

get_distro_version: Always return a string

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoget_distro_version: Always return a string 792/head
Zack Cerza [Wed, 24 Feb 2016 23:53:25 +0000 (16:53 -0700)]
get_distro_version: Always return a string

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoUnpin requests version
Zack Cerza [Fri, 19 Feb 2016 17:14:52 +0000 (10:14 -0700)]
Unpin requests version

setuptools 20.2 won't parse this version requirement. 2.9.1 appears to
work just fine anyway.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #789 from ceph/wip-ceph-ansible
Dan Mick [Fri, 19 Feb 2016 04:43:59 +0000 (20:43 -0800)]
Merge pull request #789 from ceph/wip-ceph-ansible

Add ceph_ansible task

Reviewed-by: Dan Mick <mick@redhat.com>
9 years agoAdd ceph_ansible task 789/head
Zack Cerza [Tue, 9 Feb 2016 17:39:57 +0000 (10:39 -0700)]
Add ceph_ansible task

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoansible: Patch more aggressively in unit tests
Zack Cerza [Thu, 18 Feb 2016 22:18:14 +0000 (15:18 -0700)]
ansible: Patch more aggressively in unit tests

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoansible: Don't modify plays
Zack Cerza [Fri, 12 Feb 2016 16:16:24 +0000 (09:16 -0700)]
ansible: Don't modify plays

We were applying hosts=all to each play when using a generated playbook.
I can't remember why I thought that was a good idea, and it's tripping
up CephAnsible.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoansible: Run ansible-playbook in repo dir
Zack Cerza [Wed, 10 Feb 2016 23:11:21 +0000 (16:11 -0700)]
ansible: Run ansible-playbook in repo dir

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoansible: Place generated playbooks in repo dir
Zack Cerza [Wed, 10 Feb 2016 23:07:05 +0000 (16:07 -0700)]
ansible: Place generated playbooks in repo dir

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoansible: write hosts file in _write_hosts_file()
Zack Cerza [Tue, 9 Feb 2016 22:30:45 +0000 (15:30 -0700)]
ansible: write hosts file in _write_hosts_file()

This is to make implementing the CephAnsible task cleaner.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #788 from ceph/wip-worker-debug
Dan Mick [Wed, 17 Feb 2016 22:17:13 +0000 (14:17 -0800)]
Merge pull request #788 from ceph/wip-worker-debug

worker: When running a job, log the full command

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoworker: When running a job, log the full command 788/head
Zack Cerza [Wed, 17 Feb 2016 22:00:30 +0000 (15:00 -0700)]
worker: When running a job, log the full command

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #785 from ceph/wip-timing-fix
Dan Mick [Wed, 10 Feb 2016 22:26:23 +0000 (14:26 -0800)]
Merge pull request #785 from ceph/wip-timing-fix

Fix bug when running archiveless jobs

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #784 from ceph/wip-no-debug
Zack Cerza [Wed, 10 Feb 2016 22:13:04 +0000 (15:13 -0700)]
Merge pull request #784 from ceph/wip-no-debug

task/install: only install debug packages if debuginfo: true

9 years agoFix bug when running archiveless jobs 785/head
Zack Cerza [Wed, 10 Feb 2016 17:41:32 +0000 (10:41 -0700)]
Fix bug when running archiveless jobs

We were trying to tell the timer to write to a nonexistent file

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agotask/install: only install debug packages if debuginfo: true 784/head
Sage Weil [Tue, 9 Feb 2016 22:57:43 +0000 (17:57 -0500)]
task/install: only install debug packages if debuginfo: true

Note that our kludge to handle extras does not include debuginfo packages,
which means we won't get those for ceph-deploy runs for now.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #782 from ceph/wip-timer
Dan Mick [Fri, 5 Feb 2016 20:02:22 +0000 (12:02 -0800)]
Merge pull request #782 from ceph/wip-timer

Task timing

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoSet config.archive_path if it's not set already 782/head
Zack Cerza [Wed, 3 Feb 2016 00:30:04 +0000 (17:30 -0700)]
Set config.archive_path if it's not set already

This will only affect non-scheduled jobs

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoCollect timing data for task execution
Zack Cerza [Tue, 2 Feb 2016 23:42:08 +0000 (16:42 -0700)]
Collect timing data for task execution

Just before we execute a task's enter or exit method, create a new timer
mark. If the archive is enabled, each timer.mark() call writes (or
re-writes) all the timing data to timing.yaml inside the archive.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd teuthology.timer
Zack Cerza [Tue, 2 Feb 2016 23:28:00 +0000 (16:28 -0700)]
Add teuthology.timer

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #773 from dachary/wip-subset-fix
Zack Cerza [Mon, 1 Feb 2016 17:35:38 +0000 (10:35 -0700)]
Merge pull request #773 from dachary/wip-subset-fix

fix a --subset bug that misses facets in some cases

9 years agomatrix: reimpliment Sum 773/head
Samuel Just [Mon, 30 Nov 2015 19:13:48 +0000 (11:13 -0800)]
matrix: reimpliment Sum

See the docstring for details on the new implementation.  The
old one didn't really satisfy the minscanlen properties at the
tail of the sequence.

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agomatrix: fix Product index offset and minscanlen value
Samuel Just [Mon, 30 Nov 2015 19:12:31 +0000 (11:12 -0800)]
matrix: fix Product index offset and minscanlen value

Incrementing the index on each iteration is problematic because you
may not see a particular element for 2*minscanlen indices.
Decrementing it ensures we'll see any particular submat element every
max(minscanlen) + 1 indicies.

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agosuite: add randomized tests verifying subset coverage
Samuel Just [Tue, 1 Dec 2015 20:07:18 +0000 (12:07 -0800)]
suite: add randomized tests verifying subset coverage

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agomatrix: add __str__
Samuel Just [Mon, 30 Nov 2015 19:09:44 +0000 (11:09 -0800)]
matrix: add __str__

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agosuite: ensure that convolutions are cycled out to satisfy mincyclicity
Samuel Just [Tue, 24 Nov 2015 16:18:58 +0000 (08:18 -0800)]
suite: ensure that convolutions are cycled out to satisfy mincyclicity

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agosuite: fix rounding bug in _build_matrix
Samuel Just [Tue, 1 Dec 2015 20:09:03 +0000 (12:09 -0800)]
suite: fix rounding bug in _build_matrix

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #781 from ceph/wip-tidy
Dan Mick [Fri, 29 Jan 2016 17:55:08 +0000 (09:55 -0800)]
Merge pull request #781 from ceph/wip-tidy

task/internal: list leftover files during tidy stage

Reviewed-by: Dan Mick <dmick@redhat.com>