]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Sage Weil [Thu, 1 Oct 2015 18:17:26 +0000 (14:17 -0400)]
valgrind.supp: suppress ec factory leaks
fixme someday
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Thu, 1 Oct 2015 17:04:29 +0000 (11:04 -0600)]
Merge pull request #645 from ceph/wip-131version
fix for version match, 1.3.1 now maps to 0.94.3
Vasu Kulkarni [Thu, 1 Oct 2015 00:34:20 +0000 (20:34 -0400)]
fix for version match, 1.3.1 now maps to 0.94.3 instead of the prevoius 0.94.2
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Zack Cerza [Wed, 30 Sep 2015 23:23:33 +0000 (17:23 -0600)]
Merge pull request #644 from ceph/wip-valgrind
misc: do not trace children with valgrind
Sage Weil [Wed, 30 Sep 2015 19:50:00 +0000 (15:50 -0400)]
misc: do not trace children with valgrind
Fixes: #13251
Signed-off-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Mon, 28 Sep 2015 20:17:16 +0000 (15:17 -0500)]
Merge pull request #639 from ceph/wip-prun
Add teuthology-prune-logs
Zack Cerza [Mon, 28 Sep 2015 17:27:08 +0000 (11:27 -0600)]
Merge pull request #642 from dachary/wip-openstack-throttle
openstack: throttling helps the instance running the cluster
Zack Cerza [Mon, 28 Sep 2015 16:07:31 +0000 (10:07 -0600)]
Merge pull request #643 from dachary/wip-openstack-centos-6
openstack: update CentOS 6 cloud image
Loic Dachary [Sat, 26 Sep 2015 17:09:27 +0000 (19:09 +0200)]
openstack: update CentOS 6 cloud image
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Mon, 14 Sep 2015 12:04:27 +0000 (14:04 +0200)]
openstack: throttling helps the instance running the cluster
The instance throttling (not launching more than X instances per minute)
helps the instance running the teuthology cluster when running multiple
workers. The workload does not spike when launching a suite and that
allows to run more workers on a machine with the same hardware configuration.
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Wed, 29 Jul 2015 15:40:54 +0000 (09:40 -0600)]
Add teuthology-prune-logs
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 23 Sep 2015 21:17:43 +0000 (15:17 -0600)]
Merge pull request #623 from dachary/wip-13031-repositories
internal: move buildpackages before install task
Loic Dachary [Tue, 15 Sep 2015 13:45:57 +0000 (15:45 +0200)]
internal: do not check packages if task buildpackages is found
The buildpackages task is responsible for creating the packages, there
is no point in verifying they are already present.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Mon, 14 Sep 2015 11:25:02 +0000 (13:25 +0200)]
internal: move buildpackages before install task
If a buildpackages task is found, ensure it is always before the install
task because it is intended to produce the packages that will be used by
the install task.
http://tracker.ceph.com/issues/13031 Refs: #13031
Signed-off-by: Loic Dachary <loic@dachary.org>
Sage Weil [Tue, 22 Sep 2015 18:54:18 +0000 (14:54 -0400)]
Merge pull request #636 from ceph/wip-13116
ceph.conf: short cephfs data pool replay window
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Tue, 22 Sep 2015 18:01:40 +0000 (14:01 -0400)]
ceph.conf: short cephfs data pool replay window
This will make it more likely for us to hit #13116
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Mon, 21 Sep 2015 20:10:30 +0000 (14:10 -0600)]
Merge pull request #635 from ceph/wip-readme-typo
README.rst: minor grammar/style fixes (first half)
Nathan Cutler [Mon, 21 Sep 2015 20:00:01 +0000 (22:00 +0200)]
README.rst: minor grammar/style fixes (first half)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Andrew Schoen [Mon, 21 Sep 2015 19:49:27 +0000 (14:49 -0500)]
Merge pull request #634 from ceph/wip-fix-email
Fix results-email-job scheduling
Zack Cerza [Mon, 21 Sep 2015 19:41:23 +0000 (13:41 -0600)]
Fix email scheduling bug
The call to teuthology_schedule was buried inside an 'if dry_run:'
clause. That clause is unnecessary since teuthology_schedule handles
dry_run cases - we pass it the same value as an arg
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 21 Sep 2015 19:38:07 +0000 (13:38 -0600)]
Revert "suite: fixes a bug that causes the email results job to not be scheduled"
This reverts commit
be5ce3662caeadd489ffada0cdda823da0fb4abd .
Zack Cerza [Mon, 21 Sep 2015 16:21:23 +0000 (10:21 -0600)]
Merge pull request #633 from dachary/wip-openstack-ephemeral
openstack: get rid of failed attempt to use ephemerals
Zack Cerza [Mon, 21 Sep 2015 16:19:35 +0000 (10:19 -0600)]
Merge pull request #632 from dachary/wip-os-client-config
os-client-config is fixed
Loic Dachary [Mon, 7 Sep 2015 21:31:39 +0000 (23:31 +0200)]
openstack: get rid of failed attempt to use ephemerals
It's a hack at best.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sun, 20 Sep 2015 09:28:15 +0000 (11:28 +0200)]
os-client-config is fixed
No need to pin 1.6.3 since 1.7.3 has been released and fixes the
regression.
https://bugs.launchpad.net/python-openstackclient/+bug/
1496689
Signed-off-by: Loic Dachary <loic@dachary.org>
Andrew Schoen [Fri, 18 Sep 2015 14:17:44 +0000 (09:17 -0500)]
Merge pull request #630 from dachary/wip-os-client-config
openstack: workaround os-client-config 1.7.0 regression
vasukulkarni [Thu, 17 Sep 2015 17:34:14 +0000 (10:34 -0700)]
Merge pull request #631 from ceph/wip-13125
suite: fixes a bug that causes the email results job to not be scheduled
Andrew Schoen [Thu, 17 Sep 2015 16:54:44 +0000 (11:54 -0500)]
suite: fixes a bug that causes the email results job to not be scheduled
See: http://tracker.ceph.com/issues/13125
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Loic Dachary [Wed, 16 Sep 2015 23:25:41 +0000 (01:25 +0200)]
openstack: workaround os-client-config 1.7.0 regression
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Wed, 16 Sep 2015 23:32:03 +0000 (17:32 -0600)]
Merge pull request #629 from dachary/wip-openstack-centos
openstack: update CentOS image
Loic Dachary [Tue, 15 Sep 2015 21:17:25 +0000 (23:17 +0200)]
openstack: update CentOS image
Get the latest CentOS 7 cloud image.
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Mon, 14 Sep 2015 23:39:11 +0000 (17:39 -0600)]
Merge pull request #627 from dachary/wip-openstack-gitbuilder-host
openstack: explicitly set gitbuilder_host default
Zack Cerza [Mon, 14 Sep 2015 23:38:52 +0000 (17:38 -0600)]
Merge pull request #628 from dachary/wip-openstack-cleanup
openstack: cleanup the src directory when stopping the cluster
Loic Dachary [Mon, 14 Sep 2015 21:40:55 +0000 (23:40 +0200)]
openstack: cleanup the src directory when stopping the cluster
So that there is no leftover from the ceph-qa-suite clones.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Mon, 14 Sep 2015 21:31:39 +0000 (23:31 +0200)]
openstack: explicitly set gitbuilder_host default
So that it is easier to replace because there is no need to verify if
it's already present or not.
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Mon, 14 Sep 2015 15:46:50 +0000 (09:46 -0600)]
Merge pull request #626 from dachary/wip-openstack-debian
openstack: upgrade to debian 8.2.0
Zack Cerza [Mon, 14 Sep 2015 15:36:14 +0000 (09:36 -0600)]
Merge pull request #625 from dachary/wip-clone-openstack
openstack: clone from the teuthology master
Loic Dachary [Mon, 14 Sep 2015 15:23:29 +0000 (17:23 +0200)]
openstack: upgrade to debian 8.2.0
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Mon, 14 Sep 2015 12:20:57 +0000 (14:20 +0200)]
openstack: clone from the teuthology master
Do not clone from an obsolete development branch by default.
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Thu, 10 Sep 2015 21:04:14 +0000 (15:04 -0600)]
Merge pull request #621 from ceph/wip-13030
packaging: correctly select flavor when initializing with a remote
Andrew Schoen [Thu, 10 Sep 2015 20:39:48 +0000 (15:39 -0500)]
packaging: correctly select flavor when initializing with a remote
See: http://tracker.ceph.com/issues/13030
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Tue, 8 Sep 2015 19:16:03 +0000 (13:16 -0600)]
Merge pull request #618 from dachary/wip-openstack-throttle
openstack: throttle job scheduling by default
Zack Cerza [Tue, 8 Sep 2015 19:14:55 +0000 (13:14 -0600)]
Merge pull request #619 from dachary/wip-openstack-jessie
openstack: add jessie / debian 8 support
Loic Dachary [Mon, 7 Sep 2015 21:32:56 +0000 (23:32 +0200)]
openstack: add jessie / debian 8 support
http://tracker.ceph.com/issues/12988 Fixes: #12988
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Mon, 7 Sep 2015 11:42:19 +0000 (13:42 +0200)]
openstack: throttle job scheduling by default
When running a suite with 50 jobs, it will schedule about 100 instance
creation within less than a minute. It is likely to exceed the API
quotas of the OpenStack provider (number of instance creation per
minute) and lead to instance creation failures.
Set the teuthology-suite to be called with --throttle 15 by default,
that is about 60 / 15 = 4 * 2 = ~8 server creation per minute.
http://tracker.ceph.com/issues/12977 Fixes: #12977
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Mon, 7 Sep 2015 11:40:47 +0000 (13:40 +0200)]
suite: add --throttle to pause between jobs
When scheduling, wait SLEEP seconds between jobs. Useful to avoid
bursts that may be too hard on the underlying infrastructure or exceed
OpenStack API limits (server creation per minute for instance).
http://tracker.ceph.com/issues/12977 Refs: #12977
Signed-off-by: Loic Dachary <loic@dachary.org>
vasukulkarni [Tue, 8 Sep 2015 17:40:11 +0000 (10:40 -0700)]
Merge pull request #620 from ceph/wip-12995
Fix bug in using priority 0
Zack Cerza [Tue, 8 Sep 2015 17:32:54 +0000 (11:32 -0600)]
Fix bug in using priority 0
http://tracker.ceph.com/issues/12995
Signed-off-by: Zack Cerza <zack@redhat.com>
Loic Dachary [Mon, 7 Sep 2015 11:38:12 +0000 (13:38 +0200)]
openstack: fix teuthology config test for clone
The test failed because it looked for upload= instead of clone=
Signed-off-by: Loic Dachary <ldachary@dachary.org>
Sage Weil [Sun, 6 Sep 2015 12:33:41 +0000 (08:33 -0400)]
Revert "use modern paramiko"
This reverts commit
76e1b093354dd31d94dd56299d1a245ff82db72e .
I see lots of these failures:
2015-09-06T00:02:43.199 ERROR:paramiko.transport:SSHException: Key-exchange timed out waiting for key negotiation
Dan Mick [Fri, 4 Sep 2015 23:03:07 +0000 (16:03 -0700)]
Merge pull request #610 from ceph/wip-rh131-cephlab
Add version check for 1.3.1, add ansible task
Reviewed-by: Dan Mick <dmick@redhat.com>
Vasu Kulkarni [Thu, 3 Sep 2015 16:23:50 +0000 (12:23 -0400)]
Add ansible task to install repo if config provides it
If playbook is specificed as shown in doc string usage, It will run ansible task and install
the repos so that rpm's can be installed from the provided repo
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Thu, 3 Sep 2015 16:10:39 +0000 (12:10 -0400)]
Don't consume config['rhbuild'] until overrides are merged
rhbuild from config was read before overrides was merged
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Zack Cerza [Fri, 4 Sep 2015 18:57:56 +0000 (12:57 -0600)]
Merge pull request #616 from ceph/wip-modern-paramiko
use modern paramiko
Sage Weil [Fri, 4 Sep 2015 18:55:39 +0000 (14:55 -0400)]
use modern paramiko
We need >= 1.15 to connect to newer OpenSSH, such as the version used
by debian jessie.
Signed-off-by: Sage Weil <sage@redhat.com>
Vasu Kulkarni [Thu, 3 Sep 2015 16:01:51 +0000 (12:01 -0400)]
Add support for rh version 1.3.1
This adds support for RH version 1.3.1, previously it will work
with only 1.3.0 downstream builds
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Zack Cerza [Thu, 3 Sep 2015 17:46:46 +0000 (11:46 -0600)]
Merge pull request #615 from dachary/wip-openstack-doc
openstack: update HOWTO
Loic Dachary [Thu, 3 Sep 2015 16:54:18 +0000 (18:54 +0200)]
openstack: update HOWTO
Clone from master instead of a designated branch.
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Thu, 3 Sep 2015 16:25:07 +0000 (10:25 -0600)]
Remove libpython-dev for now
It's not available on precise and is breaking testing in the sepia lab
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 3 Sep 2015 15:48:46 +0000 (09:48 -0600)]
Merge pull request #613 from ceph/wip-12934
GitbuilderProject: fetch sha1 from gitbuilder if not in the config
Andrew Schoen [Thu, 3 Sep 2015 15:12:12 +0000 (10:12 -0500)]
GitbuilderProject: fetch sha1 from gitbuilder if not in the config
If the sha1 is not provided in the job config, it needs to be fetched
from gitbuilder.
See: http://tracker.ceph.com/issues/12934
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Wed, 2 Sep 2015 22:16:49 +0000 (16:16 -0600)]
Merge pull request #592 from dachary/wip-6502-openstack-v3
transparent OpenStack provisioning for teuthology-suite
Loic Dachary [Wed, 2 Sep 2015 22:05:35 +0000 (00:05 +0200)]
openstack: explains args vs argv
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Mon, 31 Aug 2015 21:18:15 +0000 (23:18 +0200)]
openstack: --upload defaults to teuthology-logs.public.ceph.com
Instead of a non-ceph domain.
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Thu, 27 Aug 2015 22:03:35 +0000 (16:03 -0600)]
Add unit tests for OpenStack config defaults
Signed-off-by: Zack Cerza <zack@redhat.com>
Loic Dachary [Fri, 28 Aug 2015 14:03:02 +0000 (16:03 +0200)]
openstack: make git clone configurable
When teuthology-openstack clone theuthology for the purpose of creating
the cluster, use the clone configuration value instead of a hardcoded value.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Fri, 28 Aug 2015 13:38:07 +0000 (15:38 +0200)]
openstack: set config default and documentation
Add documentation for the ~/.teuthology.yaml OpenStack configuration
values and set reasonable defaults.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 25 Aug 2015 08:17:05 +0000 (10:17 +0200)]
openstack: remove debug line that does not print
It misses the IP that was set previous to
20bdef4b7892178d5e0fb8fa23beae52ba143eb2
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Fri, 21 Aug 2015 16:20:25 +0000 (10:20 -0600)]
OpenStack(): Don't connect via paramiko directly
Instead, use teuthology.orchestra.connection.connect() - to take
advantage of its parsing of the ssh config. This way users won't run
into surprises when using OpenStack vs. other machine types.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 21 Aug 2015 16:16:02 +0000 (10:16 -0600)]
connect(): Optionally override key_filename
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 21 Aug 2015 16:06:47 +0000 (10:06 -0600)]
connect(): Make retries optional
Signed-off-by: Zack Cerza <zack@redhat.com>
Loic Dachary [Thu, 20 Aug 2015 22:57:56 +0000 (00:57 +0200)]
openstack: teuthology.init needs credentials to nuke
And it cannot assume it is running from the home directory of the user
although it's the case most of the time.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Wed, 19 Aug 2015 00:50:06 +0000 (02:50 +0200)]
openstack: centos-7 image must be recent
Using the CentOS 7 image available at
http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
ansible will think it runs
RedHat 7.1.1503 (Core)
and with a more recent image
http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1503.qcow2
it will think that it runs
CentOS Linux release 7.1.1503 (Core)
http://tracker.ceph.com/issues/12725 Fixes: #12725
Signed-off-by: Loic Dachary <loic@dachary.org>
tmp
Loic Dachary [Sun, 9 Aug 2015 19:59:31 +0000 (21:59 +0200)]
upload teuthology archive on completion
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sun, 19 Jul 2015 06:55:48 +0000 (08:55 +0200)]
transparent OpenStack provisioning for teuthology-suite
The teuthology-openstack command is a wrapper around teuthology-suite
that transparently creates the teuthology cluster using OpenStack
virtual machine.
For machines of machine_type == openstack in paddles, when locking a
machine, an instance is created in the matching OpenStack cluster with:
openstack server create redhat
And renamed into redhat042010 if assigned the IP x.x.42.10/16. It is then
locked in paddles which has been prepare with one slot for each
available IP in the range.
An OpenStack cluster is defined in the .teuthology.yaml file as follows:
openstack:
user-data: teuthology/openstack/openstack-{os_type}-{os_version}-user-data.txt
nameserver: 167.114.252.136
machine:
disk: 10 # GB
ram: 7000 # MB
cpus: 1
volumes:
count: 0
size: 1 # GB
flavor-select-regexp: ^vps-ssd
subnet: 167.114.224.0/19
When the machine is unlocked, it is destroyed with
openstack server delete redhat042010
The python-openstackclient command line is used instead of the
corresponding API because it is well maintained and documented.
Integration tests require an OpenStack tenant.
http://tracker.ceph.com/issues/6502 Fixes: #6502
Signed-off-by: Loic Dachary <loic@dachary.org>
Alfredo Deza [Wed, 2 Sep 2015 14:06:13 +0000 (10:06 -0400)]
Merge pull request #608 from ceph/wip-jessie
packaging: add jessie codename
Sage Weil [Wed, 2 Sep 2015 13:57:37 +0000 (09:57 -0400)]
packaging: add jessie codename
Signed-off-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Mon, 31 Aug 2015 21:48:49 +0000 (16:48 -0500)]
Merge pull request #607 from ceph/wip-suite-very-verbose
teuthology-suite: very-verbose mode
Zack Cerza [Mon, 31 Aug 2015 21:26:00 +0000 (15:26 -0600)]
teuthology-suite: very-verbose mode
If called with --dry-run --verbose --verbose (or --dry-run -vv), call
teuthology-schedule --dry-run for each job that would be scheduled. This
causes teuthology-schedule to print out each would-be job config.
Signed-off-by: Zack Cerza <zack@redhat.com>
Loic Dachary [Mon, 31 Aug 2015 15:30:54 +0000 (17:30 +0200)]
Merge pull request #606 from dachary/wip-11881-multipath
internal: ceph-deploy may have ceph-create-keys INFO in syslog
Andrew Schoen [Mon, 31 Aug 2015 14:46:25 +0000 (09:46 -0500)]
Merge pull request #605 from ceph/wip-ceph-deploy-commit
suite: pass dev-commit: <sha1> to ceph-deploy
Loic Dachary [Fri, 28 Aug 2015 21:29:35 +0000 (23:29 +0200)]
internal: ceph-deploy may have ceph-create-keys INFO in syslog
This is not a concern for error and should be ignored.
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Fri, 28 Aug 2015 20:55:05 +0000 (14:55 -0600)]
Merge pull request #604 from ceph/wip-fix-kernel-centos-version
packaging: only mangle the version string for the ceph project
Sage Weil [Fri, 28 Aug 2015 20:52:06 +0000 (16:52 -0400)]
suite: pass dev-commit: <sha1> to ceph-deploy
Use the new ceph-deploy install --dev-commit <sha1> option to inform the
install.
Signed-off-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Fri, 28 Aug 2015 20:07:18 +0000 (15:07 -0500)]
packaging: only mangle the version string for the ceph project
This parsing is not needed on other projects and it was breaking
the kernel task by trying to verify an incorrect version was installed.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Wed, 26 Aug 2015 22:32:04 +0000 (16:32 -0600)]
Merge pull request #603 from ceph/wip-12795
kernel: use packaging.GitbuilderProject to talk with gitbuilder.
Andrew Schoen [Wed, 26 Aug 2015 16:45:10 +0000 (11:45 -0500)]
kernel: use packaging.GitbuilderProject to talk with gitbuilder.
This fixes issue: http://tracker.ceph.com/issues/12795
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 24 Aug 2015 19:25:20 +0000 (14:25 -0500)]
Merge pull request #602 from ceph/wip-show-job-priority
When listing jobs, show their priority
Zack Cerza [Mon, 24 Aug 2015 17:37:59 +0000 (11:37 -0600)]
When listing jobs, show their priority
Signed-off-by: Zack Cerza <zack@redhat.com>
Andrew Schoen [Fri, 21 Aug 2015 17:09:52 +0000 (12:09 -0500)]
Merge pull request #601 from ceph/wip-ansible-test
test_execute_playbook(): patch Remote.reconnect()
Zack Cerza [Fri, 21 Aug 2015 16:56:42 +0000 (10:56 -0600)]
test_execute_playbook(): patch Remote.reconnect()
Speeds up that unit test greatly.
Signed-off-by: Zack Cerza <zack@redhat.com>
Sage Weil [Thu, 20 Aug 2015 13:29:26 +0000 (09:29 -0400)]
valgrind.supp: ignore boost::uuid randomness from uninit memory
https://svn.boost.org/trac/boost/ticket/7248
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Wed, 19 Aug 2015 16:14:47 +0000 (10:14 -0600)]
Merge pull request #600 from ceph/wip-ansible-logging
ansible: raise an AnsibleFailedError even when parsing fails
Andrew Schoen [Wed, 19 Aug 2015 16:06:22 +0000 (11:06 -0500)]
ansible: raise an AnsibleFailedError even when parsing fails
If _handle_failures fails to parse the yaml in the ansible error log, it
can still give the contents of the failure log to an AnsibleFailedError
in it's unparsed form.
I also changed the log.exception to log.error when an ParserError occurs
as I think it was confusing some having that extra traceback in the log.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Zack Cerza [Wed, 19 Aug 2015 16:01:30 +0000 (10:01 -0600)]
Merge pull request #572 from ivotron/doc-enhancement-on-lab-components
Documentation on lab components
Ivo Jimenez [Wed, 19 Aug 2015 01:15:41 +0000 (18:15 -0700)]
Adds documentation about components of a Ceph Lab
Zack Cerza [Tue, 18 Aug 2015 16:29:18 +0000 (10:29 -0600)]
Merge pull request #599 from ceph/wip-archive-ansible-log
task.ansible: archive the ansible log even if parsing fails
Andrew Schoen [Tue, 18 Aug 2015 15:09:00 +0000 (10:09 -0500)]
task.ansible: archive the ansible log even if parsing fails
This fixes a bug where if we fail to parse the ansible log it is never
archived.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Ken Dreyer [Tue, 18 Aug 2015 14:50:47 +0000 (08:50 -0600)]
Merge pull request #598 from ceph/wip-ansible-log-perms
task.ansible: set the ansible_failure.yaml file mode to 0664
Andrew Schoen [Mon, 17 Aug 2015 21:06:13 +0000 (16:06 -0500)]
task.ansible: set the ansible_failure.yaml file mode to 0664
The failure log was originally created with mode 0600 which does not
allow apache to serve the file. This changes the mode to 0664 to match
the rest of the archived files from a teuthology job.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>