]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
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>
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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
Zack Cerza [Fri, 2 Dec 2016 20:39:39 +0000 (13:39 -0700)]
suite: Correct rerun behavior when no jobs match
Also remove a stray print statement
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 2 Dec 2016 19:53:58 +0000 (12:53 -0700)]
Merge pull request #992 from ceph/wip-kernel-reboot-xenial
kernel: fix reboot into the new kernel on xenial
Zack Cerza [Fri, 2 Dec 2016 17:50:55 +0000 (10:50 -0700)]
Merge pull request #987 from ceph/wip-misdirected-ops
ceph.conf: osd debug misdirected ops = true
Zack Cerza [Fri, 2 Dec 2016 17:50:00 +0000 (10:50 -0700)]
Merge pull request #969 from jcsp/wip-generate-caps
misc: remove generate_caps
Zack Cerza [Wed, 30 Nov 2016 21:23:18 +0000 (14:23 -0700)]
worker: Use suite_relpath if set
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 30 Nov 2016 21:22:10 +0000 (14:22 -0700)]
run: Use suite_relpath if set
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 30 Nov 2016 21:03:52 +0000 (14:03 -0700)]
suite: add --suite-relpath option
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 30 Nov 2016 20:41:28 +0000 (13:41 -0700)]
worker: Use 'suite_repo' in job config if present
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 30 Nov 2016 20:58:42 +0000 (13:58 -0700)]
suite: add --suite-repo option
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 1 Dec 2016 18:17:31 +0000 (11:17 -0700)]
repo_utils: Use shallow clones of git repos
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 1 Dec 2016 18:17:20 +0000 (11:17 -0700)]
repo_utils: Give cloned repos more unique names
Signed-off-by: Zack Cerza <zack@redhat.com>
Ilya Dryomov [Thu, 1 Dec 2016 15:36:42 +0000 (16:36 +0100)]
kernel: fix reboot into the new kernel on xenial
shutdown is a symlink to systemctl on xenial, and on "shutdown -r now"
network gets shut down before ssh has a chance to close gracefully.
There have been multiple complaints about this and some distantly
related fixes have made it into recent systemds [1].
This doesn't seem to happen on centos, probably because of different
systemd versions or sshd configuration, so this band-aid is for ubuntu
only. "systemctl --no-block reboot" is nicer, but not available on
trusty.
[1] https://github.com/systemd/systemd/issues/2390
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Sage Weil [Thu, 1 Dec 2016 21:00:59 +0000 (16:00 -0500)]
Merge pull request #991 from athanatos/wip-rerun
matrix.py: actually generate sorted descriptons
Samuel Just [Thu, 1 Dec 2016 19:30:49 +0000 (11:30 -0800)]
matrix.py: actually generate sorted descriptons
The existing code compares strings and tuples which, based on what seems
to be happening, is at best counterintuitive and at worst
non-deterministic.
Signed-off-by: Samuel Just <sjust@redhat.com>
Dan Mick [Fri, 18 Nov 2016 19:37:26 +0000 (11:37 -0800)]
Merge pull request #988 from ceph/wip-shaman-repo
ShamanProject: don't write broken repos
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Fri, 18 Nov 2016 18:45:14 +0000 (11:45 -0700)]
misc: avoid a circular import with .packaging
Import DEFAULT_OS_VERSION from .orchestra.opsys, where it is originally
defined.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 18 Nov 2016 18:34:29 +0000 (11:34 -0700)]
ShamanProject: don't write broken repos
We saw several cases where repo file contents were actually small HTML
files containing "502 Bad Gateway" errors. This will cause ShamanProject
to raise an exception if that happens - and not write broken repo files.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Nov 2016 21:04:56 +0000 (14:04 -0700)]
Merge pull request #940 from ceph/wip-rh-changes
rh specific changes
Sage Weil [Thu, 17 Nov 2016 19:24:29 +0000 (13:24 -0600)]
ceph.conf: osd debug misdirected ops = true
Signed-off-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Thu, 17 Nov 2016 17:29:33 +0000 (11:29 -0600)]
Merge pull request #985 from ceph/wip-shaman-kernel
kernel task support for shaman
Zack Cerza [Fri, 11 Nov 2016 16:05:18 +0000 (09:05 -0700)]
task.kernel: Support fetching kernels from Shaman
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Nov 2016 00:20:49 +0000 (17:20 -0700)]
Add ShamanProject.scm_version
This new property returns .['extra]['version'] from the Shaman query
result.
Signed-off-by: Zack Cerza <zack@redhat.com>
Vasu Kulkarni [Wed, 16 Nov 2016 22:53:47 +0000 (14:53 -0800)]
Remove rh prefix from function names
remove rh-prefix from funciton names and
fix review comments
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Tue, 6 Sep 2016 21:07:33 +0000 (14:07 -0700)]
unit tests for install function
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Tue, 15 Nov 2016 22:26:51 +0000 (14:26 -0800)]
uninstall based on packages defined in downstream.yaml
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Tue, 15 Nov 2016 22:18:17 +0000 (14:18 -0800)]
function to install debian downstream packages
Install debian downstream packages based on packages
defined in rh/downstream.yaml defined in suites dir
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Tue, 15 Nov 2016 22:04:48 +0000 (14:04 -0800)]
function to setup debian downstream repo
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Tue, 15 Nov 2016 21:55:57 +0000 (13:55 -0800)]
use downstream.yaml to install packages and version check
remove hardcoded checks instead use downstream.yaml
defined in suites dir rh/downstream.yaml
for packages and version checks
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Tue, 15 Nov 2016 21:52:06 +0000 (13:52 -0800)]
use rh/downstream.yaml to define packages
Remove hardcoded checks, use rh/downstream.yaml
from suite dir to define packages to install
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Zack Cerza [Tue, 15 Nov 2016 23:55:58 +0000 (16:55 -0700)]
Merge pull request #984 from ceph/wip-dash-m
lock: -m alias for --machine-type
Sage Weil [Tue, 15 Nov 2016 19:01:04 +0000 (14:01 -0500)]
lock: -m alias for --machine-type
Just like suite.py.
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Tue, 15 Nov 2016 15:52:21 +0000 (08:52 -0700)]
Merge pull request #983 from ceph/wip-local-kernel-regex
kernel: update get_sha1_from_pkg_name() regex
Ilya Dryomov [Mon, 14 Nov 2016 09:48:02 +0000 (10:48 +0100)]
kernel: update get_sha1_from_pkg_name() regex
ceph-build kernel packages will be named -ceph-g${SHA1:0:12}. As the
first step towards using ceph-build, change the local package regex.
With this, I'm able to download post ceph/ceph-build#540 packages and
install them as a local deb/rpm.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Sun, 13 Nov 2016 04:26:11 +0000 (12:26 +0800)]
Merge pull request #980 from jcsp/wip-python-rgw
teuthology/nuke: update for python-rgw
Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
David Galloway [Fri, 11 Nov 2016 15:31:26 +0000 (10:31 -0500)]
Merge pull request #981 from ceph/wip-unpin-ansible
Revert "Pin ansible to <2.2.0"
John Spray [Thu, 10 Nov 2016 15:28:03 +0000 (15:28 +0000)]
teuthology/nuke: update for python-rgw
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Thu, 10 Nov 2016 18:10:33 +0000 (11:10 -0700)]
Revert "Pin ansible to <2.2.0"
This reverts commit
f2576e7a719a129a3c8be603bd9993d2b1ec94f2 .
We finally heeded all the deprecation warnings.
Signed-off-by: Zack Cerza <zack@redhat.com>
Kefu Chai [Thu, 10 Nov 2016 07:43:12 +0000 (15:43 +0800)]
Merge pull request #979 from tchaikov/wip-remove-libcephfs
teuthology: update nuke for libcephfs2
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Thu, 10 Nov 2016 07:27:39 +0000 (15:27 +0800)]
teuthology: update nuke for libcephfs2
try to remove libcephfs2 as well.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Wed, 9 Nov 2016 20:01:19 +0000 (12:01 -0800)]
Merge pull request #974 from ceph/wip-install-subpackage
Make the install task a subpackage
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Tue, 8 Nov 2016 17:17:40 +0000 (10:17 -0700)]
ShamanProject: add repo installation and removal
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 2 Nov 2016 22:17:32 +0000 (16:17 -0600)]
Move repo installation to GitbuilderProject
Signed-off-by: Zack Cerza <zack@redhat.com>
Sage Weil [Tue, 8 Nov 2016 15:57:50 +0000 (10:57 -0500)]
ceph.conf: bdev debug aio = true
detect aio stalls
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Wed, 2 Nov 2016 21:56:30 +0000 (15:56 -0600)]
Add NoRemoteError
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 8 Nov 2016 00:22:18 +0000 (17:22 -0700)]
Create a task.install.redhat submodule
This will hold most of the code specific to RHCS
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 8 Nov 2016 00:30:05 +0000 (17:30 -0700)]
Create a task.install.deb submodule
This will hold most of the code specific to Debian-based systems
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 8 Nov 2016 00:35:39 +0000 (17:35 -0700)]
Create a task.install.rpm submodule
This will hold most of the code specific to RPM-based systems
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 1 Nov 2016 22:54:45 +0000 (16:54 -0600)]
Create a task.install.util submodule
This will hold miscellaneous code that doesn't need to be top-level and
isn't distro-specific
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 1 Nov 2016 23:30:36 +0000 (17:30 -0600)]
Linter fixes
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 1 Nov 2016 22:52:08 +0000 (16:52 -0600)]
Make the install task a subpackage
Signed-off-by: Zack Cerza <zack@redhat.com>
David Galloway [Mon, 7 Nov 2016 17:09:44 +0000 (12:09 -0500)]
Merge pull request #977 from ceph/wip-fix-vm
Move edit_sudoers.sh to task/internal/
Zack Cerza [Mon, 7 Nov 2016 17:00:40 +0000 (10:00 -0700)]
Merge pull request #978 from SUSE/wip-fix-suse-user-data
openstack: fix location of network script in openSUSE user-data
Nathan Cutler [Mon, 7 Nov 2016 16:42:47 +0000 (17:42 +0100)]
openstack: fix location of network script in openSUSE user-data
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Zack Cerza [Mon, 7 Nov 2016 16:33:00 +0000 (09:33 -0700)]
Move edit_sudoers.sh to task/internal/
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Fri, 4 Nov 2016 21:06:27 +0000 (14:06 -0700)]
Merge pull request #975 from ceph/wip-install-excludes
install: apply exclude_packages globally
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Fri, 4 Nov 2016 18:44:04 +0000 (12:44 -0600)]
install: apply exclude_packages globally
Previously, we were only applying the setting for upgrades
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 4 Nov 2016 15:23:19 +0000 (09:23 -0600)]
nuke: Call the check_lock function, not the module
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Thu, 3 Nov 2016 20:09:24 +0000 (13:09 -0700)]
Merge pull request #823 from ceph/wip-internal
Task module refactoring
Reviewed-by: Dan Mick <dmick@redhat.com>
Sage Weil [Thu, 3 Nov 2016 13:38:53 +0000 (09:38 -0400)]
ceph.conf: mon allow pool delete = true
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Wed, 2 Nov 2016 21:08:56 +0000 (15:08 -0600)]
Merge pull request #973 from dmick/wip-pull-directory
Change pull_directory to use a remote tar streaming to the local extract
Dan Mick [Wed, 2 Nov 2016 20:02:59 +0000 (13:02 -0700)]
Merge pull request #970 from ceph/wip-shaman-tags
ShamanProject: query tags
Reviewed-by: Dan Mick <dmick@redhat.com>
Dan Mick [Wed, 2 Nov 2016 04:27:13 +0000 (21:27 -0700)]
Use remote.get_tar_stream in misc.pull_directory
Avoids remote and local temp files, and subsequent read/write
thrashing of local dir. Since some of those directories are
multiple tens or hundreds of gigabytes, the extra file load
is important.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 2 Nov 2016 04:21:16 +0000 (21:21 -0700)]
Add orchestra.remote.get_tar_stream(); like get_tar but no tmpfile
Avoid creating a temporary file either on the remote or on the
local host; just open a connection to a remote tar and let 'er
rip. Intended to be used by get_directory to avoid temp files
and local read/write hammering.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 2 Nov 2016 04:24:26 +0000 (21:24 -0700)]
misc.pull_directory: fix misplaced log message, remove useless continue
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 21:50:39 +0000 (15:50 -0600)]
Move task.internal.syslog to its own module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 21:47:13 +0000 (15:47 -0600)]
Move internal.vm_setup to its own module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 20:27:51 +0000 (14:27 -0600)]
Move internal.check_lock to its own module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 20:27:09 +0000 (14:27 -0600)]
Move internal.lock_machines to its own module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 16:04:20 +0000 (10:04 -0600)]
Make the internal task a subpackage
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 20:01:32 +0000 (14:01 -0600)]
run_tasks: support tasks that are subpackages
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 1 Nov 2016 17:15:31 +0000 (11:15 -0600)]
Pin ansible to <2.2.0
Until we fix the deprecations
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 19 Oct 2016 21:17:19 +0000 (15:17 -0600)]
ShamanProject: translate tags to sha1s
Since Shaman doesn't want to have to know about tags, let's do the
translation from tag->sha1 ourselves using 'git ls-remote'.
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Fri, 28 Oct 2016 17:31:31 +0000 (10:31 -0700)]
Merge pull request #965 from ceph/wip-exiter
Don't leak console-logging processes when a job is killed
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Thu, 20 Oct 2016 15:52:38 +0000 (09:52 -0600)]
Merge pull request #971 from ceph/wip-ceph-mgr
teuthology: update nuke for ceph-mgr
John Spray [Wed, 28 Sep 2016 16:23:29 +0000 (17:23 +0100)]
teuthology: update nuke for ceph-mgr
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Wed, 19 Oct 2016 21:01:12 +0000 (15:01 -0600)]
Move suite.util.build_git_url to repo_utils
Signed-off-by: Zack Cerza <zack@redhat.com>