]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
7 years agoDaemonGroup: Avoid using systemd by default 934/head
Zack Cerza [Thu, 12 Oct 2017 19:16:01 +0000 (13:16 -0600)]
DaemonGroup: Avoid using systemd by default

To use systemd, any tasks which create a DaemonGroup object must pass
use_systemd=True. This could be accomplished by looking for a flag in
the job config. Note that this option is mainly for regression testing;
it may be removed in the future, where the default is to use systemd
when possible.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoSystemDState: Use correct output_cmd for rgw
Zack Cerza [Wed, 3 May 2017 21:33:56 +0000 (15:33 -0600)]
SystemDState: Use correct output_cmd for rgw

We had this right for systemctl commands, but not for the journalctl
command.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonGroup.add_daemon(): Properly start daemons
Zack Cerza [Tue, 2 May 2017 23:59:58 +0000 (17:59 -0600)]
DaemonGroup.add_daemon(): Properly start daemons

For some reason we weren't calling restart() inside add_daemons() for
systemd.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoSystemDState: Tweak logging
Zack Cerza [Tue, 2 May 2017 18:55:32 +0000 (12:55 -0600)]
SystemDState: Tweak logging

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonGroup: Don't use systemd with valgrind
Zack Cerza [Tue, 2 May 2017 17:24:15 +0000 (11:24 -0600)]
DaemonGroup: Don't use systemd with valgrind

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonGroup: Detect and use systemd
Zack Cerza [Tue, 2 May 2017 17:14:59 +0000 (11:14 -0600)]
DaemonGroup: Detect and use systemd

Don't rely on a configuration item to tell us whether or not to use
systemd.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoRemote: add init_system property
Zack Cerza [Tue, 2 May 2017 17:09:40 +0000 (11:09 -0600)]
Remote: add init_system property

So far, this only exists to answer the question: "does this host use
systemd?" - in which case it will return 'systemd'. Else it will return
None.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoSystemDState: Treat PIDs as strings when killing
Zack Cerza [Tue, 2 May 2017 15:18:58 +0000 (09:18 -0600)]
SystemDState: Treat PIDs as strings when killing

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoSplit DaemonState in two
Zack Cerza [Thu, 27 Apr 2017 21:46:33 +0000 (15:46 -0600)]
Split DaemonState in two

Put systemd stuff in SystemDState

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoorchestra/daemon: Convert to a subpackage
Zack Cerza [Thu, 27 Apr 2017 21:01:08 +0000 (15:01 -0600)]
orchestra/daemon: Convert to a subpackage

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState: Raise on startup failure
Zack Cerza [Tue, 25 Apr 2017 20:11:54 +0000 (14:11 -0600)]
DaemonState: Raise on startup failure

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState: Use consistent daemon IDs
Zack Cerza [Wed, 26 Apr 2017 17:33:50 +0000 (11:33 -0600)]
DaemonState: Use consistent daemon IDs

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState.check_status(): support systemd
Zack Cerza [Tue, 25 Apr 2017 20:02:33 +0000 (14:02 -0600)]
DaemonState.check_status(): support systemd

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState: Drop use of self.id
Zack Cerza [Tue, 18 Apr 2017 20:44:46 +0000 (14:44 -0600)]
DaemonState: Drop use of self.id

... we already had self.id_

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonGroup: Simplify setting self.use_init
Zack Cerza [Thu, 13 Apr 2017 22:11:28 +0000 (16:11 -0600)]
DaemonGroup: Simplify setting self.use_init

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoorchestra/daemon: Tweak logging
Zack Cerza [Thu, 13 Apr 2017 17:54:05 +0000 (11:54 -0600)]
orchestra/daemon: Tweak logging

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState: Factor out PID discovery
Zack Cerza [Thu, 13 Apr 2017 17:43:48 +0000 (11:43 -0600)]
DaemonState: Factor out PID discovery

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState: Don't needlessly reset self.id
Zack Cerza [Thu, 13 Apr 2017 17:35:01 +0000 (11:35 -0600)]
DaemonState: Don't needlessly reset self.id

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoorchestra/daemon: Fix linter errors
Zack Cerza [Thu, 13 Apr 2017 17:28:19 +0000 (11:28 -0600)]
orchestra/daemon: Fix linter errors

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState: factor out command generation
Zack Cerza [Thu, 13 Apr 2017 17:22:21 +0000 (11:22 -0600)]
DaemonState: factor out command generation

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoChanges for daemon-helper to work with systemd
Vasu Kulkarni [Tue, 16 Aug 2016 21:45:04 +0000 (14:45 -0700)]
Changes for daemon-helper to work with systemd

when cluster is setup using ceph-ansible or ceph-deploy
use systemd commands to kill/revive deamons.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1111 from ceph/wip-pg-limit
Sage Weil [Tue, 19 Sep 2017 12:11:58 +0000 (07:11 -0500)]
Merge pull request #1111 from ceph/wip-pg-limit

ceph.conf: set new pg max per osd limit

8 years agoceph.conf: set new pg max per osd limit 1111/head
Sage Weil [Sun, 17 Sep 2017 21:37:44 +0000 (16:37 -0500)]
ceph.conf: set new pg max per osd limit

This is replacing the old one, but we need to keep the old one for
upgrades etc.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #1091 from ceph/wip-fix-cephlab-overrides
Zack Cerza [Wed, 13 Sep 2017 21:47:42 +0000 (15:47 -0600)]
Merge pull request #1091 from ceph/wip-fix-cephlab-overrides

[ansible-doc-fix]: correct the doc to fix the overrides name

8 years agoMerge pull request #1109 from ceph/wip-openstack-log
Zack Cerza [Tue, 12 Sep 2017 21:24:56 +0000 (15:24 -0600)]
Merge pull request #1109 from ceph/wip-openstack-log

task/internal/syslog: blacklist openstack datasource log

8 years agotask/internal/syslog: blacklist openstack datasource log 1109/head
David Galloway [Tue, 12 Sep 2017 20:47:48 +0000 (16:47 -0400)]
task/internal/syslog: blacklist openstack datasource log

Caused OVH node jobs to fail when it shouldn't have

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #1107 from ceph/wip-prune-fail
David Galloway [Fri, 1 Sep 2017 19:42:49 +0000 (15:42 -0400)]
Merge pull request #1107 from ceph/wip-prune-fail

prune: Optionally remove failed jobs entirely

8 years agoprune: Use summary.yaml to determine age of job 1107/head
Zack Cerza [Fri, 1 Sep 2017 17:48:58 +0000 (11:48 -0600)]
prune: Use summary.yaml to determine age of job

If a job has been partially pruned, its directory's mtime will get
bumped, causing total removal to be delayed by potentially months.
Looking at the mtime of summary.yaml should provide results that are
more intuitive.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoprune: Optionally remove failed jobs entirely
Zack Cerza [Thu, 31 Aug 2017 16:46:26 +0000 (10:46 -0600)]
prune: Optionally remove failed jobs entirely

This works exactly like --pass, except it defaults to being disabled

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1101 from ceph/wip-ansible-fixes
Zack Cerza [Wed, 30 Aug 2017 19:38:17 +0000 (13:38 -0600)]
Merge pull request #1101 from ceph/wip-ansible-fixes

[tasks/ceph-ansible]: use site.yml from the ceph-ansible repo

8 years agohandle libselinux init issues similar to one seen in 1101/head
Vasu Kulkarni [Tue, 29 Aug 2017 03:09:42 +0000 (20:09 -0700)]
handle libselinux init issues similar to one seen in
https://bugzilla.redhat.com/show_bug.cgi?id=1364703

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoDefault ansible version to 2.3.2
Vasu Kulkarni [Mon, 28 Aug 2017 20:53:12 +0000 (13:53 -0700)]
Default ansible version to 2.3.2

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoneeds system-site-package since libselinux modules not available
Vasu Kulkarni [Mon, 28 Aug 2017 18:43:30 +0000 (11:43 -0700)]
needs system-site-package since libselinux modules not available
from within virtualenv

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoCreate rbd pool since it doesn't exist by default for luminous+ builds
Vasu Kulkarni [Mon, 21 Aug 2017 20:29:11 +0000 (13:29 -0700)]
Create rbd pool since it doesn't exist by default for luminous+ builds

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agouse site.yml from the ceph-ansible repo
Vasu Kulkarni [Fri, 18 Aug 2017 00:51:43 +0000 (17:51 -0700)]
use site.yml from the ceph-ansible repo

we have been using custome site.yml from within the task which is not
accurate when compared to the file provided by ceph-ansible repo, instead
use the sample file as the main playbook for tests.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1106 from ceph/wip-remove-rwg-timeout
Sage Weil [Mon, 28 Aug 2017 13:30:34 +0000 (08:30 -0500)]
Merge pull request #1106 from ceph/wip-remove-rwg-timeout

Removed default_idle_timeout

8 years agoRemoved default_idle_timeout 1105/head 1106/head
Yuri Weinstein [Fri, 25 Aug 2017 20:19:51 +0000 (13:19 -0700)]
Removed default_idle_timeout

Fixes http://tracker.ceph.com/issues/21140

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
8 years agoMerge pull request #1093 from rzarzynski/wip-cwd-in-remote-process
Zack Cerza [Tue, 22 Aug 2017 18:37:55 +0000 (12:37 -0600)]
Merge pull request #1093 from rzarzynski/wip-cwd-in-remote-process

RemoteProcess: command can be now executed in specified directory.

8 years agoRemoteProcess: add an unit test for the cwd parameter. 1093/head
Radoslaw Zarzynski [Tue, 22 Aug 2017 17:30:39 +0000 (19:30 +0200)]
RemoteProcess: add an unit test for the cwd parameter.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
8 years agoMerge pull request #1102 from zenglg/master
Zack Cerza [Tue, 22 Aug 2017 18:06:13 +0000 (12:06 -0600)]
Merge pull request #1102 from zenglg/master

Supprted for CentOS

8 years agopython-pip --> python2-pip 1102/head
Zeng Linggang [Mon, 21 Aug 2017 07:10:30 +0000 (15:10 +0800)]
python-pip --> python2-pip

In CentOS, Fedora and Redhat, there is only python2-pip, no python-pip.

8 years agoSupported for CentOS
Zeng Linggang [Mon, 21 Aug 2017 07:01:04 +0000 (15:01 +0800)]
Supported for CentOS

8 years agoMerge pull request #1096 from batrick/usage-fix
David Galloway [Wed, 16 Aug 2017 18:18:13 +0000 (14:18 -0400)]
Merge pull request #1096 from batrick/usage-fix

misc. doc/usage improvements

8 years agoMerge pull request #1100 from ceph/wip-vps-disk
Dan Mick [Tue, 15 Aug 2017 22:49:51 +0000 (15:49 -0700)]
Merge pull request #1100 from ceph/wip-vps-disk

downburst: Decrease disk size to 100GB

8 years agodownburst: Decrease disk size to 100GB 1100/head
David Galloway [Tue, 15 Aug 2017 14:45:46 +0000 (10:45 -0400)]
downburst: Decrease disk size to 100GB

The first VPS on every VPSHOST runs off the VPSHOST root drive.  Because
of this, the root drive is filling up due to the addition of another OSD
drive: https://github.com/ceph/teuthology/pull/1099

This not only results in nagios alerts but could also result in needless
job failures.  OSD drives/partitions are already only 100G on smithi so
this should be fine.

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocorrect the doc to fix the overrides name 1091/head
Vasu Kulkarni [Thu, 6 Jul 2017 21:18:25 +0000 (14:18 -0700)]
correct the doc to fix the overrides name

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1099 from ceph/wip-vps-add-osd
David Galloway [Mon, 7 Aug 2017 17:23:47 +0000 (13:23 -0400)]
Merge pull request #1099 from ceph/wip-vps-add-osd

[teuthology/provision]: Increase number of drives for vps to 4

8 years agoIncrease number of drives to 4 per vm 1099/head
Vasu Kulkarni [Thu, 3 Aug 2017 21:29:55 +0000 (14:29 -0700)]
Increase number of drives to 4 per vm

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoceph.conf: do not warn on mon_osd_down_out_interval=0
Sage Weil [Sat, 22 Jul 2017 19:03:41 +0000 (15:03 -0400)]
ceph.conf: do not warn on mon_osd_down_out_interval=0

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodocs: add missing required options to ex cmds 1096/head
Patrick Donnelly [Fri, 21 Jul 2017 14:23:09 +0000 (07:23 -0700)]
docs: add missing required options to ex cmds

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoteuthology-suite: add required -m to usage
Patrick Donnelly [Fri, 21 Jul 2017 14:21:39 +0000 (07:21 -0700)]
teuthology-suite: add required -m to usage

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #1094 from ceph/wip-apt-get-force-yes
Zack Cerza [Thu, 20 Jul 2017 18:31:28 +0000 (11:31 -0700)]
Merge pull request #1094 from ceph/wip-apt-get-force-yes

packaging: pass --force-yes to allow for unsigned deb packages

8 years agoMerge pull request #1095 from jcsp/wip-clog-debug
Sage Weil [Thu, 20 Jul 2017 02:42:44 +0000 (21:42 -0500)]
Merge pull request #1095 from jcsp/wip-clog-debug

teuthology: set cluster log level to debug

8 years agoteuthology: set cluster log level to debug 1095/head
John Spray [Wed, 19 Jul 2017 23:24:02 +0000 (00:24 +0100)]
teuthology: set cluster log level to debug

Since we're testing, we always want the full thing.  This
used to not really matter because almost everything was
going to the clog at info level, but as of luminous things like
the cluster map version echos are at debug level.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agopackaging: pass --force-yes to allow for unsigned deb packages 1094/head
Ilya Dryomov [Wed, 19 Jul 2017 13:00:14 +0000 (15:00 +0200)]
packaging: pass --force-yes to allow for unsigned deb packages

rbd_fio task has been switched to {install,remove}_package().  This
commit mirrors ceph.git commit d14f2da437a3 ("task/rbd_fio: allow for
unsigned packages"):

"Similar to what the teuthology install.py task does, add --force-yes to
the apt-get install so that unsigned packages are successfully
installed. It is needed when the buildpackages task is used to create
packages on the fly."

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoceph.conf: debug mgr = 20
Sage Weil [Wed, 12 Jul 2017 13:37:16 +0000 (09:37 -0400)]
ceph.conf: debug mgr = 20

We fixed the pgmap update bug!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #1085 from ceph/wip-collect-logs
Zack Cerza [Tue, 11 Jul 2017 16:39:37 +0000 (10:39 -0600)]
Merge pull request #1085 from ceph/wip-collect-logs

[task/ceph_ansible]: collect logs when the test fails

8 years agoRemoteProcess: command can be now executed in specified directory.
Radoslaw Zarzynski [Tue, 11 Jul 2017 12:19:57 +0000 (12:19 +0000)]
RemoteProcess: command can be now executed in specified directory.

RemoteProcess, a class built around Paramiko's exec_command(),
currently lacks support for the "cwd" parameter. It specifies
the directory in which the requested command should be executed.
This stays in contrast to LocalRemoteProcess from the vstart
runner as it wraps Python's subprocess, and thus naturally
offers the feature. The patch unifies these two implementations.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
8 years agoceph.conf: crush-failure-domain=osd in ec profile
Sage Weil [Thu, 6 Jul 2017 18:46:32 +0000 (14:46 -0400)]
ceph.conf: crush-failure-domain=osd in ec profile

Leave the old ruleset- one too for old ceph versions.  We can remove it
when luminous is the oldest version we want to test (or we move ceph.conf
into ceph.git instead of teuthology.git).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph.conf: debug mgr = 30 for a bit
Sage Weil [Wed, 5 Jul 2017 16:13:06 +0000 (12:13 -0400)]
ceph.conf: debug mgr = 30 for a bit

Looking for http://tracker.ceph.com/issues/20208

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph.conf: do not warn about too few pgs
Sage Weil [Thu, 29 Jun 2017 22:23:04 +0000 (18:23 -0400)]
ceph.conf: do not warn about too few pgs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoRemove gzip as its done by pull_directory function 1085/head
Vasu Kulkarni [Thu, 29 Jun 2017 20:58:55 +0000 (13:58 -0700)]
Remove gzip as its done by pull_directory function

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1089 from ceph/wip-bootstrap-deadlock
David Galloway [Thu, 29 Jun 2017 16:18:14 +0000 (12:18 -0400)]
Merge pull request #1089 from ceph/wip-bootstrap-deadlock

When bootstrapping teuthology, avoid deadlocks

8 years agoWhen bootstrapping teuthology, avoid deadlocks 1089/head
Zack Cerza [Thu, 29 Jun 2017 15:32:57 +0000 (09:32 -0600)]
When bootstrapping teuthology, avoid deadlocks

Use Popen.communicate() instead of Popen.wait()

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1080 from ceph/wip-deps
David Galloway [Thu, 29 Jun 2017 15:35:56 +0000 (11:35 -0400)]
Merge pull request #1080 from ceph/wip-deps

requirements.txt: Add nose and update libvirt-python

8 years agoMerge pull request #1088 from tchaikov/wip-get-upgrade-version
Zack Cerza [Wed, 28 Jun 2017 17:05:56 +0000 (11:05 -0600)]
Merge pull request #1088 from tchaikov/wip-get-upgrade-version

task/install: should pass `node` as `config` to get_upgrade_version()

8 years agotask/install: should pass `node` as `config` to get_upgrade_version() 1088/head
Kefu Chai [Wed, 28 Jun 2017 14:44:56 +0000 (22:44 +0800)]
task/install: should pass `node` as `config` to get_upgrade_version()

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #1086 from smithfarm/wip-20392
Nathan Cutler [Wed, 28 Jun 2017 09:22:49 +0000 (11:22 +0200)]
Merge pull request #1086 from smithfarm/wip-20392

Drop swift.py task

Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #1087 from smithfarm/wip-16521-rebase
Zack Cerza [Tue, 27 Jun 2017 21:22:14 +0000 (15:22 -0600)]
Merge pull request #1087 from smithfarm/wip-16521-rebase

Pre-upgrade sanity check

8 years agoinstall: s/_get_gitbuilder_project/_get_gitbuilder_project/g 1087/head
Nathan Cutler [Tue, 27 Jun 2017 21:09:43 +0000 (23:09 +0200)]
install: s/_get_gitbuilder_project/_get_gitbuilder_project/g

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotest_upgrade_common: add mock for get_package_version
Jan Fajerski [Wed, 25 Jan 2017 10:47:56 +0000 (11:47 +0100)]
test_upgrade_common: add mock for get_package_version

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
8 years agoinstall._upgrade_is_downgrade unit test
Nathan Cutler [Wed, 29 Jun 2016 23:19:54 +0000 (01:19 +0200)]
install._upgrade_is_downgrade unit test

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoinstall.upgrade: implement pre-upgrade sanity check
Nathan Cutler [Wed, 29 Jun 2016 08:04:16 +0000 (10:04 +0200)]
install.upgrade: implement pre-upgrade sanity check

Add a pre-upgrade sanity check to the install.upgrade task. This sanity check:

1. determines the version of Ceph installed on the remote ("installed_version")
2. determines the version of Ceph in the target gitbuilder repo
("upgrade_version")
3. if "installed_version" is greater than "upgrade_version", fail immediately

Since the upgrade itself cannot succeed if upgrade_version < installed_version,
it's better to fail before attempting the upgrade.

Before this patch, we were failing in the verify_package_version() sanity check
which is run after attempting (and failing) to upgrade the packages.

Fixes: http://tracker.ceph.com/issues/16521
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
8 years agoDrop swift.py task 1086/head
Nathan Cutler [Sun, 25 Jun 2017 06:51:19 +0000 (08:51 +0200)]
Drop swift.py task

Complete the move of This task into ceph/ceph.git

Fixes: http://tracker.ceph.com/issues/20392
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #1084 from tchaikov/wip-20171
Zack Cerza [Mon, 26 Jun 2017 16:12:11 +0000 (10:12 -0600)]
Merge pull request #1084 from tchaikov/wip-20171

task/internal/syslog: blacklist log from ceph-create-keys

8 years agocollect logs when the test fails
Vasu Kulkarni [Thu, 22 Jun 2017 22:36:11 +0000 (15:36 -0700)]
collect logs when the test fails

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1083 from ceph/wip-ansible-purge
Zack Cerza [Thu, 22 Jun 2017 21:27:00 +0000 (15:27 -0600)]
Merge pull request #1083 from ceph/wip-ansible-purge

purge cluster during teardown

8 years agoMerge pull request #1070 from ceph/wip-ansible-mgr
Zack Cerza [Thu, 22 Jun 2017 17:44:46 +0000 (11:44 -0600)]
Merge pull request #1070 from ceph/wip-ansible-mgr

[tasks/ansible] Add support for mgr role

8 years agopurge cluster during teardown 1083/head
Vasu Kulkarni [Wed, 21 Jun 2017 18:18:27 +0000 (11:18 -0700)]
purge cluster during teardown

It achieves 2 things
a) tests out purge-cluster and iron out any issues as we find them
b) can make ceph-ansible tests run on any nodes in lab (smithi, mira etc)

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agorun gather facts at the start 1070/head
Vasu Kulkarni [Tue, 20 Jun 2017 20:49:15 +0000 (13:49 -0700)]
run gather facts at the start

since we are using custom playbook inside task, we need
to run gather facts before other playbooks are run.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agotask/internal/syslog: blacklist log from ceph-create-keys 1084/head
Kefu Chai [Thu, 22 Jun 2017 05:28:49 +0000 (13:28 +0800)]
task/internal/syslog: blacklist log from ceph-create-keys

the log format of ceph-create-keys is "$level:$name:$message"

Fixes: http://tracker.ceph.com/issues/20171
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoAdd support for mgr role
Vasu Kulkarni [Thu, 27 Apr 2017 18:19:02 +0000 (11:19 -0700)]
Add support for mgr role

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoremove any stale /var/run/ceph
Vasu Kulkarni [Wed, 14 Jun 2017 22:36:17 +0000 (15:36 -0700)]
remove any stale /var/run/ceph

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1082 from ceph/wip-stale-improve
Zack Cerza [Thu, 15 Jun 2017 17:34:31 +0000 (11:34 -0600)]
Merge pull request #1082 from ceph/wip-stale-improve

remove any stale /var/run/ceph

8 years agoremove any stale /var/run/ceph 1082/head
Vasu Kulkarni [Wed, 14 Jun 2017 22:36:17 +0000 (15:36 -0700)]
remove any stale /var/run/ceph

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1081 from ceph/wip-ansible-deb
Zack Cerza [Wed, 14 Jun 2017 22:06:00 +0000 (16:06 -0600)]
Merge pull request #1081 from ceph/wip-ansible-deb

[tasks/ceph-ansible]: Add debug output for ceph-ansible runs

8 years agoAdd debug output for ceph-ansible runs 1081/head
Vasu Kulkarni [Wed, 14 Jun 2017 20:58:57 +0000 (13:58 -0700)]
Add debug output for ceph-ansible runs

As requested by Andrew and Alfredo to debug failed ansible jobs
properly

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoUpdate libvirt-python 1080/head
Zack Cerza [Wed, 14 Jun 2017 18:18:39 +0000 (12:18 -0600)]
Update libvirt-python

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoAdd missing nose requirement
Zack Cerza [Wed, 14 Jun 2017 18:16:33 +0000 (12:16 -0600)]
Add missing nose requirement

We forgot to run pip-compile in PR #1069

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1079 from ceph/wip-kernel-usage
Ilya Dryomov [Mon, 12 Jun 2017 08:07:13 +0000 (10:07 +0200)]
Merge pull request #1079 from ceph/wip-kernel-usage

suite: update usage for -k

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
8 years agosuite: update usage for -k 1079/head
Ilya Dryomov [Thu, 8 Jun 2017 10:15:24 +0000 (12:15 +0200)]
suite: update usage for -k

-k defaults to distro since e1f5a3a76971 ("use distro kernel as default
for all tests").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #1078 from ceph/wip-distro-kernel-as-default
Zack Cerza [Wed, 7 Jun 2017 20:09:30 +0000 (14:09 -0600)]
Merge pull request #1078 from ceph/wip-distro-kernel-as-default

scripts/suite.py: use distro kernel as default for all tests

8 years agouse distro kernel as default for all tests 1078/head
Vasu Kulkarni [Wed, 7 Jun 2017 02:59:02 +0000 (19:59 -0700)]
use distro kernel as default for all tests

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1075 from ceph/wip-syslog-fix
Zack Cerza [Fri, 26 May 2017 21:07:16 +0000 (15:07 -0600)]
Merge pull request #1075 from ceph/wip-syslog-fix

task/internal/syslog: make kern.log and misc.log world-writable

8 years agotask/internal/syslog: make kern.log and misc.log world-writable 1075/head
Ilya Dryomov [Fri, 26 May 2017 19:37:52 +0000 (21:37 +0200)]
task/internal/syslog: make kern.log and misc.log world-writable

kern.log and misc.log weren't getting written to on ubuntu machines.
On centos chcon is saving the day.

Fixes: http://tracker.ceph.com/issues/16835
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #1069 from ceph/wip-nose-for-rgw-multi
vasukulkarni [Thu, 18 May 2017 17:23:08 +0000 (10:23 -0700)]
Merge pull request #1069 from ceph/wip-nose-for-rgw-multi

rgw: add nose dependency for rgw_multisite_tests task

8 years agorgw: add nose dependency for rgw_multisite_tests task 1069/head
Casey Bodley [Mon, 24 Apr 2017 19:34:13 +0000 (15:34 -0400)]
rgw: add nose dependency for rgw_multisite_tests task

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #1071 from ceph/wip-19859
Zack Cerza [Tue, 9 May 2017 15:39:27 +0000 (09:39 -0600)]
Merge pull request #1071 from ceph/wip-19859

Update default Ubuntu version to 16.04

8 years agoUpdate default Ubuntu version to 16.04 1071/head
Zack Cerza [Thu, 4 May 2017 21:14:58 +0000 (15:14 -0600)]
Update default Ubuntu version to 16.04

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1068 from tchaikov/wip-python-in-ceph-mgr
Sage Weil [Thu, 27 Apr 2017 14:43:53 +0000 (09:43 -0500)]
Merge pull request #1068 from tchaikov/wip-python-in-ceph-mgr

valgrind: suppression for python embedded in ceph-mgr