]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
5 years agoadd note that ceph.conf.template should no longer be modified 1322/head
Patrick Donnelly [Wed, 9 Oct 2019 18:11:33 +0000 (11:11 -0700)]
add note that ceph.conf.template should no longer be modified

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #1320 from kshtsk/wip-fog-python3
David Galloway [Wed, 9 Oct 2019 13:44:10 +0000 (09:44 -0400)]
Merge pull request #1320 from kshtsk/wip-fog-python3

fog: get rid of StringIO usage for python3 portability

5 years agofog: get rid of StringIO usage for python3 portability 1320/head
Kyr Shatskyy [Wed, 9 Oct 2019 11:18:23 +0000 (13:18 +0200)]
fog: get rid of StringIO usage for python3 portability

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1317 from kshtsk/wip-python3-use-isinstance
kshtsk [Wed, 9 Oct 2019 08:57:28 +0000 (10:57 +0200)]
Merge pull request #1317 from kshtsk/wip-python3-use-isinstance

suite/matrix: use isinstance for python3 compatibility

5 years agorun_tasks: use isinstance() instead of type() 1317/head
Kyr Shatskyy [Tue, 8 Oct 2019 17:40:51 +0000 (19:40 +0200)]
run_tasks: use isinstance() instead of type()

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoteuthology/exit: use isinstance for python3 compatibility
Kyr Shatskyy [Tue, 8 Oct 2019 17:35:42 +0000 (19:35 +0200)]
teuthology/exit: use isinstance for python3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosuite/matrix: use isinstance for python3 compatibility
Kyr Shatskyy [Tue, 8 Oct 2019 17:20:21 +0000 (19:20 +0200)]
suite/matrix: use isinstance for python3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1315 from kshtsk/wip-future-print
kshtsk [Tue, 8 Oct 2019 09:39:22 +0000 (11:39 +0200)]
Merge pull request #1315 from kshtsk/wip-future-print

use python3 compatible print

5 years agoMerge pull request #1307 from kshtsk/beanstalkc3
kshtsk [Mon, 7 Oct 2019 12:30:57 +0000 (14:30 +0200)]
Merge pull request #1307 from kshtsk/beanstalkc3

beanstalk: switch to py3 compatible package

5 years agotest_build_matrix: use python3 compatible print 1315/head
Kyr Shatskyy [Mon, 7 Oct 2019 11:06:01 +0000 (13:06 +0200)]
test_build_matrix: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoprovision/cloud: use python3 compatible syntax
Kyr Shatskyy [Mon, 7 Oct 2019 11:02:17 +0000 (13:02 +0200)]
provision/cloud: use python3 compatible syntax

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoparallel: use python3 compatible syntax for print
Kyr Shatskyy [Mon, 7 Oct 2019 10:59:36 +0000 (12:59 +0200)]
parallel: use python3 compatible syntax for print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotask/install: use future print for python3 compatibility
Kyr Shatskyy [Mon, 7 Oct 2019 10:58:33 +0000 (12:58 +0200)]
task/install: use future print for python3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoopenstack: use python3 compatible print
Kyr Shatskyy [Mon, 7 Oct 2019 10:40:25 +0000 (12:40 +0200)]
openstack: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agopackaging: use python3 compatible print
Kyr Shatskyy [Mon, 7 Oct 2019 10:30:53 +0000 (12:30 +0200)]
packaging: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agocontextutil: python3 compatibility
Kyr Shatskyy [Mon, 7 Oct 2019 10:28:33 +0000 (12:28 +0200)]
contextutil: python3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agopython3: fix print syntax
Kyr Shatskyy [Mon, 7 Oct 2019 10:26:40 +0000 (12:26 +0200)]
python3: fix print syntax

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agolock/cli: use python3 compatible print
Kyr Shatskyy [Mon, 7 Oct 2019 10:24:59 +0000 (12:24 +0200)]
lock/cli: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoschedule: use python3 compatible print
Kyr Shatskyy [Mon, 7 Oct 2019 10:17:17 +0000 (12:17 +0200)]
schedule: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agols: use future print for python3 compatibility
Kyr Shatskyy [Mon, 7 Oct 2019 10:15:50 +0000 (12:15 +0200)]
ls: use future print for python3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoresults: use python3 compatible print
Kyr Shatskyy [Mon, 7 Oct 2019 10:11:43 +0000 (12:11 +0200)]
results: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotask/install: fix tab inconstent indents
Kyr Shatskyy [Mon, 7 Oct 2019 10:09:43 +0000 (12:09 +0200)]
task/install: fix tab inconstent indents

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agobeanstalk: use python3 compatible print
Kyr Shatskyy [Mon, 7 Oct 2019 10:04:35 +0000 (12:04 +0200)]
beanstalk: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agokill: use python3 compatible print
Kyr Shatskyy [Mon, 7 Oct 2019 10:04:01 +0000 (12:04 +0200)]
kill: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoFix tab inconsistent indent
Kyr Shatskyy [Mon, 7 Oct 2019 10:01:26 +0000 (12:01 +0200)]
Fix tab inconsistent indent

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoUse future print for python3 compatibility
Kyr Shatskyy [Mon, 7 Oct 2019 09:48:25 +0000 (11:48 +0200)]
Use future print for python3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agodescribe_tests: use python3 compatible print
Kyr Shatskyy [Mon, 7 Oct 2019 09:51:21 +0000 (11:51 +0200)]
describe_tests: use python3 compatible print

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoopenstack: avoid using print for writing files
Kyr Shatskyy [Thu, 3 Oct 2019 12:02:09 +0000 (14:02 +0200)]
openstack: avoid using print for writing files

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1314 from kshtsk/wip-no-iteritems
Gregory Farnum [Fri, 4 Oct 2019 22:15:01 +0000 (15:15 -0700)]
Merge pull request #1314 from kshtsk/wip-no-iteritems

Get rid of iteritems and xrange

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agopython3: get rid of iteritems 1314/head
Kyr Shatskyy [Thu, 3 Oct 2019 13:31:51 +0000 (15:31 +0200)]
python3: get rid of iteritems

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoansible: use py3 compatible octals
Kyr Shatskyy [Thu, 3 Oct 2019 00:37:59 +0000 (02:37 +0200)]
ansible: use py3 compatible octals

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agopython3: get rid of xrange
Kyr Shatskyy [Thu, 3 Oct 2019 00:25:16 +0000 (02:25 +0200)]
python3: get rid of xrange

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1309 from jtlayton/fixes
Nathan Cutler [Thu, 3 Oct 2019 13:40:13 +0000 (15:40 +0200)]
Merge pull request #1309 from jtlayton/fixes

Minor bugfixes for teuthology

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #1313 from kshtsk/wip-open-instead-file
kshtsk [Thu, 3 Oct 2019 12:10:25 +0000 (14:10 +0200)]
Merge pull request #1313 from kshtsk/wip-open-instead-file

python3: use open() function instead file() class

6 years agopython3: use open() function instead file() class 1313/head
Kyr Shatskyy [Wed, 2 Oct 2019 19:08:18 +0000 (21:08 +0200)]
python3: use open() function instead file() class

Since python3 does not have file() we should stop using it.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1310 from kshtsk/wip-all-ipv4-octets-in-target-names
kshtsk [Wed, 2 Oct 2019 23:11:45 +0000 (01:11 +0200)]
Merge pull request #1310 from kshtsk/wip-all-ipv4-octets-in-target-names

openstack: encode instance name with the full IP

6 years agoRemove BaseException.message deprecation warning 1310/head
Kyr Shatskyy [Fri, 27 Sep 2019 22:19:18 +0000 (00:19 +0200)]
Remove BaseException.message deprecation warning

DeprecationWarning: BaseException.message has been deprecated as of Python 2.6

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoUse yaml.safe_load to suppress deprecation warning
Kyr Shatskyy [Fri, 27 Sep 2019 21:24:38 +0000 (23:24 +0200)]
Use yaml.safe_load to suppress deprecation warning

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoopenstack: encode instance name with the full IP
Loic Dachary [Tue, 3 Nov 2015 22:52:41 +0000 (23:52 +0100)]
openstack: encode instance name with the full IP

Using only the last two numbers is problematic when mixing multiple
OpenStack clusters.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Conflicts:
teuthology/provision.py

6 years agoMerge pull request #847 from kmroz/wip-docs
kshtsk [Fri, 27 Sep 2019 19:15:44 +0000 (21:15 +0200)]
Merge pull request #847 from kmroz/wip-docs

docs: add SUSE to list of bootstrapable operating systems

6 years agoMerge pull request #1092 from gohighsec/master
kshtsk [Fri, 27 Sep 2019 07:10:40 +0000 (09:10 +0200)]
Merge pull request #1092 from gohighsec/master

docs: use kernel version distro instead of jewel in the example of ru…

6 years agodescribe_tests: skip over hidden directories 1309/head
Jeff Layton [Wed, 18 Sep 2019 16:28:44 +0000 (12:28 -0400)]
describe_tests: skip over hidden directories

The ceph/qa directory has a bunch of .qa symlinks under it that cause
teuthology-describe-tests to hit symlink loops. Just skip any dentry
with a name that starts with '.'.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
6 years agobootstrap: force usage of python2 in virtualenv command
Jeff Layton [Wed, 18 Sep 2019 16:24:56 +0000 (12:24 -0400)]
bootstrap: force usage of python2 in virtualenv command

None of this code seems to be python3 ready, so force the virtualenv
command in the bootstrap script to use python2 on a box where both are
available.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
6 years agoMerge pull request #1302 from rishabh-d-dave/rewrite-remote-mktemp
kshtsk [Tue, 10 Sep 2019 11:54:26 +0000 (13:54 +0200)]
Merge pull request #1302 from rishabh-d-dave/rewrite-remote-mktemp

orchestra/remote: rewrite mktemp to use coreutils mktemp

6 years agoMerge pull request #1303 from rhcs-dashboard/wip-minimal-reqs
Gregory Farnum [Wed, 28 Aug 2019 18:08:16 +0000 (11:08 -0700)]
Merge pull request #1303 from rhcs-dashboard/wip-minimal-reqs

setup.py: move mysqlclient/coverage to optional deps

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agobeanstalk: switch to py3 compatible package 1307/head
Kyr Shatskyy [Thu, 6 Jun 2019 13:46:46 +0000 (15:46 +0200)]
beanstalk: switch to py3 compatible package

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1300 from smithfarm/wip-install-no-purge
kshtsk [Wed, 28 Aug 2019 08:06:18 +0000 (10:06 +0200)]
Merge pull request #1300 from smithfarm/wip-install-no-purge

install: drop purge_data and related code

6 years agoinstall: drop purge_data and related code 1300/head
Nathan Cutler [Wed, 10 Jul 2019 09:20:33 +0000 (11:20 +0200)]
install: drop purge_data and related code

purge_data was used to remove any Ceph daemon metadata remaining after the
teardown phase of the install task runs. In particular, the ceph task was
known to leave OSD metadata behind in the OSD directories under /var/lib/ceph.

While the install task causes the ceph-osd package to be installed and creates
directories under /var/lib/ceph, it is the ceph task that actually
populates these directories. Thus, their "unpopulation" should be
implemented in the ceph task, and not here in the install task.

(If the directories were empty after the ceph task teardown phase, they would be
removed when the install task removes the ceph-osd package from the system. But
the package management tool refuses to remove them when they contain files not
owned by a package.)

Not running purge_data during the teardown phase of the install task makes it
easier to implement alternative deployment tasks (i.e. tests that deploy Ceph
clusters, but do not call ceph.py).

In the final analysis, however, this code is no longer needed now that all test
nodes (virtual and bare metal) are reimaged between runs.

This commit does not move purge_data into the ceph task because the author felt
that the ceph task should take more care to clean up after itself. For example,
nowadays there are ceph CLI commands for removing OSDs.

Aside: this commit also drops two lines of dead code that flake8 was
complaining about.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #1305 from kshtsk/wip-safe-load
Gregory Farnum [Wed, 28 Aug 2019 03:15:09 +0000 (20:15 -0700)]
Merge pull request #1305 from kshtsk/wip-safe-load

suite/run: use yaml.safe_load

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agosuite/run: use yaml.safe_load 1305/head
Kyr Shatskyy [Tue, 9 Jul 2019 21:49:24 +0000 (23:49 +0200)]
suite/run: use yaml.safe_load

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1304 from batrick/selinux-smartd
Kefu Chai [Fri, 23 Aug 2019 18:09:03 +0000 (02:09 +0800)]
Merge pull request #1304 from batrick/selinux-smartd

selinux: ignore smartd

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoselinux: ignore smartd 1304/head
Patrick Donnelly [Fri, 23 Aug 2019 17:58:36 +0000 (10:58 -0700)]
selinux: ignore smartd

The failures [1]:

    2019-08-22T22:11:34.747 INFO:teuthology.orchestra.run.smithi195:> sudo grep 'avc: .*denied' /var/log/audit/audit.log | grep -v '\(comm="dmidecode"\|chronyd.service\|name="cephtest"\|scontext=system_u:system_r:nrpe_t:s0\|scontext=system_u:system_r:pcp_pmlogger_t\|scontext=system_u:system_r:pcp_pmcd_t:s0\|comm="rhsmd"\|scontext=system_u:system_r:syslogd_t:s0\|tcontext=system_u:system_r:nrpe_t:s0\|comm="updatedb"\)'
    2019-08-22T22:11:34.810 INFO:teuthology.orchestra.run.smithi195.stdout:type=AVC msg=audit(1566509255.666:7592): avc:  denied  { read } for  pid=8598 comm="smartd" name="nvme0" dev="devtmpfs" ino=13028 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=chr_file permissive=1
    2019-08-22T22:11:34.810 INFO:teuthology.orchestra.run.smithi195.stdout:type=AVC msg=audit(1566509255.666:7592): avc:  denied  { open } for  pid=8598 comm="smartd" path="/dev/nvme0" dev="devtmpfs" ino=13028 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=chr_file permissive=1
    2019-08-22T22:11:34.810 INFO:teuthology.orchestra.run.smithi195.stdout:type=AVC msg=audit(1566509255.666:7593): avc:  denied  { ioctl } for  pid=8598 comm="smartd" path="/dev/nvme0" dev="devtmpfs" ino=13028 ioctlcmd=4e41 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=chr_file permissive=1
    2019-08-22T22:11:34.810 INFO:teuthology.orchestra.run.smithi195.stdout:type=AVC msg=audit(1566511059.828:8008): avc:  denied  { read } for  pid=8598 comm="smartd" name="nvme0" dev="devtmpfs" ino=13028 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=chr_file permissive=1
    2019-08-22T22:11:34.810 INFO:teuthology.orchestra.run.smithi195.stdout:type=AVC msg=audit(1566511059.828:8008): avc:  denied  { open } for  pid=8598 comm="smartd" path="/dev/nvme0" dev="devtmpfs" ino=13028 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=chr_file permissive=1
    2019-08-22T22:11:34.811 INFO:teuthology.orchestra.run.smithi195.stdout:type=AVC msg=audit(1566511059.828:8009): avc:  denied  { ioctl } for  pid=8598 comm="smartd" path="/dev/nvme0" dev="devtmpfs" ino=13028 ioctlcmd=4e41 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=chr_file permissive=1

[1] /ceph/teuthology-archive/pdonnell-2019-08-22_20:06:33-fs-wip-pdonnell-testing-20190822.163036-distro-basic-smithi/4242071/teuthology.log

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agosetup.py: move myqslclient to optional deps 1303/head
Ernesto Puerta [Thu, 22 Aug 2019 15:33:56 +0000 (17:33 +0200)]
setup.py: move myqslclient to optional deps

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoorchestra/remote: rewrite mktemp to use coreutils mktemp 1302/head
Rishabh Dave [Wed, 7 Aug 2019 11:25:34 +0000 (16:55 +0530)]
orchestra/remote: rewrite mktemp to use coreutils mktemp

Use mktemp instead of Python's tempfile.mktemp since coreutils is more
easily available.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
6 years agoMerge pull request #1301 from rishabh-d-dave/remote-add-mkdtemp
kshtsk [Tue, 13 Aug 2019 14:57:11 +0000 (16:57 +0200)]
Merge pull request #1301 from rishabh-d-dave/remote-add-mkdtemp

orchestra/remote: add a method to create temporary directory

6 years agoorchestra/remote: add a method to create temporary directory 1301/head
Rishabh Dave [Wed, 7 Aug 2019 09:48:19 +0000 (15:18 +0530)]
orchestra/remote: add a method to create temporary directory

Signed-off-by: Rishabh Dave <ridave@redhat.com>
6 years agoMerge pull request #1299 from kshtsk/wip-kernel-none
kshtsk [Thu, 11 Jul 2019 05:57:07 +0000 (07:57 +0200)]
Merge pull request #1299 from kshtsk/wip-kernel-none

suite/run: add support 'none' for kernel branch parameter

6 years agosuite/run: add support 'none' for kernel branch parameter 1299/head
Kyr Shatskyy [Tue, 9 Jul 2019 13:41:57 +0000 (15:41 +0200)]
suite/run: add support 'none' for kernel branch parameter

This can be useful when one wants to disable kernel hash

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoMerge pull request #1282 from kshtsk/wip-suse-disable-ansible
Nathan Cutler [Wed, 10 Jul 2019 09:07:12 +0000 (11:07 +0200)]
Merge pull request #1282 from kshtsk/wip-suse-disable-ansible

initial_tasks: make it possible to disable ansible

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge PR #1298 into master
Patrick Donnelly [Sun, 7 Jul 2019 17:21:03 +0000 (10:21 -0700)]
Merge PR #1298 into master

* refs/pull/1298/head:
teuthology/orchestra/daemon: fix the log type
teuthology/orchestra/daemon: Check if stdin is valid

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoteuthology/orchestra/daemon: fix the log type 1298/head
Jos Collin [Wed, 3 Jul 2019 13:26:21 +0000 (18:56 +0530)]
teuthology/orchestra/daemon: fix the log type

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agoteuthology/orchestra/daemon: Check if stdin is valid
Jos Collin [Wed, 3 Jul 2019 12:45:55 +0000 (18:15 +0530)]
teuthology/orchestra/daemon: Check if stdin is valid

As there is self.proc.stdin.close() in stop(), there are chances
of write failing with IOError("File is closed").

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agoMerge PR #1296 into master
Patrick Donnelly [Tue, 2 Jul 2019 00:13:18 +0000 (17:13 -0700)]
Merge PR #1296 into master

* refs/pull/1296/head:
teuthology/console: allow deferring login after reset

Reviewed-by: David Galloway <dgallowa@redhat.com>
6 years agoteuthology/console: allow deferring login after reset 1296/head
Patrick Donnelly [Mon, 1 Jul 2019 18:45:27 +0000 (11:45 -0700)]
teuthology/console: allow deferring login after reset

Fixes: http://tracker.ceph.com/issues/37681
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #1295 into master
Patrick Donnelly [Mon, 1 Jul 2019 13:56:39 +0000 (06:56 -0700)]
Merge PR #1295 into master

* refs/pull/1295/head:
orchestra/daemon: Fix proc AttributeError: 'NoneType'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoorchestra/daemon: Fix proc AttributeError: 'NoneType' 1295/head
Jos Collin [Fri, 28 Jun 2019 12:00:40 +0000 (17:30 +0530)]
orchestra/daemon: Fix proc AttributeError: 'NoneType'

Fixes the chance of calling signal() on a  daemon which is not running.

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agoinitial_tasks: make it possible to disable ansible 1282/head
Kyr Shatskyy [Fri, 21 Jun 2019 12:56:32 +0000 (14:56 +0200)]
initial_tasks: make it possible to disable ansible

Introduce ceph_cm_ansible option in order to ommit 'ansible.cephlab'
task, so alternative way of target node provisioning can be selected

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
6 years agoMerge pull request #1289 from kshtsk/fix-testexiter
Zack Cerza [Tue, 11 Jun 2019 18:17:41 +0000 (12:17 -0600)]
Merge pull request #1289 from kshtsk/fix-testexiter

imports: make imports absolute

6 years agoMerge pull request #1293 from kshtsk/add-param-to-config-load
Zack Cerza [Tue, 11 Jun 2019 18:17:27 +0000 (12:17 -0600)]
Merge pull request #1293 from kshtsk/add-param-to-config-load

config: add parameter for config load

6 years agoMerge pull request #1294 from ceph/update-deps
Zack Cerza [Fri, 7 Jun 2019 15:03:24 +0000 (09:03 -0600)]
Merge pull request #1294 from ceph/update-deps

Update dependencies to address security issues

6 years agopip-compile -P ansible 1294/head
Zack Cerza [Tue, 4 Jun 2019 20:25:10 +0000 (14:25 -0600)]
pip-compile -P ansible

6 years agopip-compile -P paramiko
Zack Cerza [Tue, 4 Jun 2019 20:19:38 +0000 (14:19 -0600)]
pip-compile -P paramiko

6 years agopip-compile -P pyopenssl
Zack Cerza [Tue, 4 Jun 2019 20:19:08 +0000 (14:19 -0600)]
pip-compile -P pyopenssl

6 years agopip-compile -P cryptography
Zack Cerza [Tue, 4 Jun 2019 20:18:42 +0000 (14:18 -0600)]
pip-compile -P cryptography

6 years agopip-compile -P requests
Zack Cerza [Tue, 4 Jun 2019 20:18:12 +0000 (14:18 -0600)]
pip-compile -P requests

6 years agopip-compile -P pyyaml
Zack Cerza [Tue, 4 Jun 2019 20:17:46 +0000 (14:17 -0600)]
pip-compile -P pyyaml

6 years agopip-compile -P jinja2
Zack Cerza [Tue, 4 Jun 2019 20:17:13 +0000 (14:17 -0600)]
pip-compile -P jinja2

6 years agopy3: make imports python2/3 compatible 1289/head
Kyr Shatskyy [Thu, 2 May 2019 13:45:25 +0000 (15:45 +0200)]
py3: make imports python2/3 compatible

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
6 years agoconfig: add parameter for config load 1293/head
Kyr Shatskyy [Mon, 3 Jun 2019 16:26:55 +0000 (18:26 +0200)]
config: add parameter for config load

This patch makes it possible to load config file directly
from the given path or data object, for testing purposes
and allows to remove silly notification about missing
teuthology.yaml file.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
6 years agoMerge pull request #1287 from kshtsk/wip-suse-libcloud-userdata-cfg
Zack Cerza [Mon, 3 Jun 2019 15:34:06 +0000 (09:34 -0600)]
Merge pull request #1287 from kshtsk/wip-suse-libcloud-userdata-cfg

libcloud: read userdata from config

6 years agolibcloud: add test for userdata read from config 1287/head
Kyr Shatskyy [Thu, 23 May 2019 14:08:09 +0000 (16:08 +0200)]
libcloud: add test for userdata read from config

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
6 years agoMerge pull request #1291 from batrick/i39554
Gregory Farnum [Thu, 9 May 2019 22:58:14 +0000 (15:58 -0700)]
Merge pull request #1291 from batrick/i39554

orchestra/run: add omit_sudo arg used by vstart_runner

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoorchestra/run: add omit_sudo arg used by vstart_runner 1291/head
Patrick Donnelly [Wed, 8 May 2019 03:34:23 +0000 (20:34 -0700)]
orchestra/run: add omit_sudo arg used by vstart_runner

Introduced-by: ceph/ceph.git:3e0a1361f78452d79c283f70b5dc2b865d62cb61
Fixes: https://tracker.ceph.com/issues/39554
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #1281 from kshtsk/wip-suse-fix-install-rpms
Zack Cerza [Fri, 3 May 2019 16:45:30 +0000 (10:45 -0600)]
Merge pull request #1281 from kshtsk/wip-suse-fix-install-rpms

install/rpm: add install_ceph_packages and repos_only options

6 years agolibcloud: read userdata from config
Kyr Shatskyy [Fri, 12 Apr 2019 19:51:28 +0000 (19:51 +0000)]
libcloud: read userdata from config

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
6 years agoinstall/rpm: add install_ceph_packages and repos_only options 1281/head
Nathan Cutler [Fri, 13 Apr 2018 12:16:42 +0000 (14:16 +0200)]
install/rpm: add install_ceph_packages and repos_only options

This commit adds two new boolean options to the install task:

install_ceph_packages (defaults to "True") - controls whether or not ceph
packages are installed. Note: the "librados2" and "ceph-test" packages get
installed even if this option is set to False.

repos_only (defaults to "False") - when this option is set to "True",
the install task merely adds repos and does nothing else.

The new options currently work only on RPM systems: on DEB systems they are
ignored.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #1288 from kshtsk/suse-chrony
Zack Cerza [Fri, 3 May 2019 00:30:12 +0000 (18:30 -0600)]
Merge pull request #1288 from kshtsk/suse-chrony

task/clock: add chrony support

6 years agotask/clock: add chrony support 1288/head
Nathan Cutler [Sat, 11 Feb 2017 18:28:03 +0000 (19:28 +0100)]
task/clock: add chrony support

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
6 years agoMerge pull request #1290 from kshtsk/fix-tox-mock
Gregory Farnum [Thu, 2 May 2019 18:05:00 +0000 (11:05 -0700)]
Merge pull request #1290 from kshtsk/fix-tox-mock

tox: set mock version to 2.0.0

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agotest/test_exit: set mock version to 2.0.0 1290/head
Kyr Shatskyy [Thu, 2 May 2019 14:37:20 +0000 (16:37 +0200)]
test/test_exit: set mock version to 2.0.0

After upgrade mock from 2.0.0 to 3.0.3 the TestExiter started failing
with incorrect call_count.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
6 years agoMerge pull request #1279 from kshtsk/wip-suse-fixes-1
Zack Cerza [Tue, 30 Apr 2019 21:12:56 +0000 (15:12 -0600)]
Merge pull request #1279 from kshtsk/wip-suse-fixes-1

suse related fixes

6 years agoMerge pull request #1280 from kshtsk/wip-suse-fix-reconnect
Zack Cerza [Tue, 30 Apr 2019 16:57:24 +0000 (10:57 -0600)]
Merge pull request #1280 from kshtsk/wip-suse-fix-reconnect

fix reconnect

6 years agoMerge pull request #1286 from ceph/wip-yuval-add-pubsub-deps
Zack Cerza [Tue, 30 Apr 2019 16:55:17 +0000 (10:55 -0600)]
Merge pull request #1286 from ceph/wip-yuval-add-pubsub-deps

rgw/pubsub: add dependencies needed for pubsub tests

6 years agoMerge pull request #1274 from ceph/wip-move-valgrind_supp
Kefu Chai [Tue, 30 Apr 2019 11:34:12 +0000 (19:34 +0800)]
Merge pull request #1274 from ceph/wip-move-valgrind_supp

valgrind.supp: move the whitelist file to /qa dir of ceph.git

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #1285 from gekios/wip-ceph-dev-env-fix
Zack Cerza [Fri, 26 Apr 2019 18:38:07 +0000 (12:38 -0600)]
Merge pull request #1285 from gekios/wip-ceph-dev-env-fix

openstack: always pass branch and repo parameters

6 years agoopenstack: always pass branch and repo parameters 1285/head
gkyratsas [Wed, 24 Apr 2019 14:37:43 +0000 (16:37 +0200)]
openstack: always pass branch and repo parameters

We need to always pass the parameters below in order to make it work using
environment variables:
--ceph
--ceph-repo
--suite-repo
--suite-branch
--teuthology-branch

Signed-off-by: gkyratsas <gkyratsas@suse.com>
Conflicts:
teuthology/openstack/__init__.py

6 years agotest/opsys add opensuse 15.1 case 1279/head
Kyr Shatskyy [Tue, 16 Apr 2019 17:31:35 +0000 (19:31 +0200)]
test/opsys add opensuse 15.1 case

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
6 years agosyslog.py: whitelist innocent tcmu-runner log message
Nathan Cutler [Wed, 27 Mar 2019 10:58:29 +0000 (11:58 +0100)]
syslog.py: whitelist innocent tcmu-runner log message

When running the new iSCSI smoke test, tcmu-runner emits a syslog
message that was not whitelisted:

2019-03-27T10:00:17.292154+00:00 target192168000056 tcmu-runner[37366]: 2019-03-27 10:00:17.291 37366 [INFO] load_our_module:537: Inserted module 'target_core_user'

Since the message is at severity level INFO, it was causing teuthology
to raise a red flag.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agotask: internal/syslog: expand salt exclusion
Nathan Cutler [Mon, 17 Jul 2017 16:32:38 +0000 (18:32 +0200)]
task: internal/syslog: expand salt exclusion

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Conflicts:
teuthology/task/internal/syslog.py

6 years agotask: syslog: salt INFO messages generate false negatives
Nathan Cutler [Thu, 13 Jul 2017 21:09:11 +0000 (23:09 +0200)]
task: syslog: salt INFO messages generate false negatives

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Conflicts:
teuthology/task/internal/syslog.py