]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
5 years agoFix opensuse provisioning support 1369/head
Roman Grigoryev [Wed, 27 Nov 2019 12:14:28 +0000 (13:14 +0100)]
Fix opensuse provisioning support

task/selinux.py, orchestra/remote.py:
    disable SELinux for opensuse/suse distros

nuke/actions.py:
    added support for sle/opensuse distros

Signed-off-by: Roman Grigorev <rgrigorev@suse.de>
5 years agoMerge pull request #1396 from tchaikov/wip-podman-selinux
Kefu Chai [Thu, 16 Jan 2020 15:06:00 +0000 (23:06 +0800)]
Merge pull request #1396 from tchaikov/wip-podman-selinux

task/selinux: ignore SElinux denials caused by podman

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agotask/selinux: ignore SElinux denials caused by podman 1396/head
Kefu Chai [Thu, 16 Jan 2020 06:54:46 +0000 (14:54 +0800)]
task/selinux: ignore SElinux denials caused by podman

it's a workaround of https://tracker.ceph.com/issues/43635

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1394 from SUSE/bootstrap-setuptools-44
Kefu Chai [Thu, 16 Jan 2020 04:01:10 +0000 (12:01 +0800)]
Merge pull request #1394 from SUSE/bootstrap-setuptools-44

bootstrap: install setuptools 44

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1395 from ceph/fix-sysctl-core
David Galloway [Wed, 15 Jan 2020 20:58:51 +0000 (15:58 -0500)]
Merge pull request #1395 from ceph/fix-sysctl-core

tasks/internal: put kernel.core_pattern in sysctl.conf too

5 years agotasks/internal: put kernel.core_pattern in sysctl.conf too 1395/head
Sage Weil [Wed, 15 Jan 2020 19:59:32 +0000 (13:59 -0600)]
tasks/internal: put kernel.core_pattern in sysctl.conf too

This way if systemd restarts  or is reinstalled (as it is on el8 at the
moment) we won't lose this setting.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agobootstrap: install setuptools 44 1394/head
Jan Fajerski [Wed, 15 Jan 2020 11:05:44 +0000 (12:05 +0100)]
bootstrap: install setuptools 44

With setuptools 45 python2 support was dropped.

Fixes: https://tracker.ceph.com/issues/43606
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #1383 from toabctl/worker-drop-dead-code
Kefu Chai [Thu, 9 Jan 2020 05:34:09 +0000 (13:34 +0800)]
Merge pull request #1383 from toabctl/worker-drop-dead-code

worker: Drop dead code handling old releases

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1391 from batrick/i43396
Kefu Chai [Mon, 6 Jan 2020 17:46:45 +0000 (01:46 +0800)]
Merge pull request #1391 from batrick/i43396

task/selinux: ignore recent rhel8 selinux denials

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agotask/selinux: ignore recent rhel8 selinux denials 1391/head
Patrick Donnelly [Fri, 3 Jan 2020 23:19:20 +0000 (15:19 -0800)]
task/selinux: ignore recent rhel8 selinux denials

Fixes: https://tracker.ceph.com/issues/43396
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #1390 from ceph/wip-centos8
Sage Weil [Mon, 23 Dec 2019 19:42:56 +0000 (13:42 -0600)]
Merge pull request #1390 from ceph/wip-centos8

orchestra/daemon/cephadmunit: implement kill, wait

5 years agoorchestra/daemon/cephadmunit: implement kill, wait 1390/head
Sage Weil [Mon, 23 Dec 2019 16:35:18 +0000 (16:35 +0000)]
orchestra/daemon/cephadmunit: implement kill, wait

These are both needed by thrashosds.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #1387 from tchaikov/wip-requires-paramiko
Kefu Chai [Fri, 20 Dec 2019 11:10:56 +0000 (19:10 +0800)]
Merge pull request #1387 from tchaikov/wip-requires-paramiko

setup.py: move more modules back to "install_requires"

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosetup.py: move paramiko back to "install_requires" 1387/head
Kefu Chai [Tue, 17 Dec 2019 10:25:45 +0000 (18:25 +0800)]
setup.py: move paramiko back to "install_requires"

move following python modules back to "install_requires"

* apache-libcloud
* netaddr
* paramiko

they are imported even when teuthology is used by vstart_runner.py

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoworker: Drop dead code handling old releases 1383/head
Thomas Bechtold [Fri, 13 Dec 2019 12:26:13 +0000 (13:26 +0100)]
worker: Drop dead code handling old releases

We no longer need to check for branches like 'argonaut', 'bobtail',
'cuttlefish' or 'dumpling'. These are long gone.
Removing the code simplifies it a bit.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoMerge pull request #1388 from tchaikov/wip-fix-could-not-find-an-image
Kefu Chai [Wed, 18 Dec 2019 10:24:23 +0000 (18:24 +0800)]
Merge pull request #1388 from tchaikov/wip-fix-could-not-find-an-image

provision: fix the error message when a distro image is not found

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoprovision: fix the error message when a distro image is not found 1388/head
Kefu Chai [Wed, 18 Dec 2019 09:27:22 +0000 (17:27 +0800)]
provision: fix the error message when a distro image is not found

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1386 from ceph/fix-43335
Sage Weil [Tue, 17 Dec 2019 00:39:31 +0000 (18:39 -0600)]
Merge pull request #1386 from ceph/fix-43335

task/kernel: fix typo

5 years agotask/kernel: fix typo 1386/head
Sage Weil [Mon, 16 Dec 2019 23:29:45 +0000 (17:29 -0600)]
task/kernel: fix typo

menuentry, not menuitem.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #1385 from shangdehao1/master
Nathan Cutler [Mon, 16 Dec 2019 15:33:00 +0000 (16:33 +0100)]
Merge pull request #1385 from shangdehao1/master

task/install: fix UnboundLocalError of local variable repos

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #1382 from kshtsk/wip-cast-dict-keys
kshtsk [Mon, 16 Dec 2019 15:27:12 +0000 (16:27 +0100)]
Merge pull request #1382 from kshtsk/wip-cast-dict-keys

py3: cast dict keys to list

5 years agoMerge pull request #1384 from ceph/wip-centos8
Sage Weil [Mon, 16 Dec 2019 14:14:12 +0000 (08:14 -0600)]
Merge pull request #1384 from ceph/wip-centos8

task/install/daemon-helper: python3

5 years agotask/install: fix UnboundLocalError of local variable repos 1385/head
shangdehao1 [Sat, 14 Dec 2019 06:28:43 +0000 (14:28 +0800)]
task/install: fix UnboundLocalError of local variable repos

If overrides is None, repos will don't be assignmented.
In this case, will occur error "UnboundLocalError: local variable
repos referenced before assignment"

Signed-off-by: dehao.shang@intel.com
5 years agotask/install/daemon-helper: python3 1384/head
Sage Weil [Fri, 13 Dec 2019 19:57:53 +0000 (19:57 +0000)]
task/install/daemon-helper: python3

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agotest/fake_fs: fix tests for py3 compatibility 1382/head
Kyr Shatskyy [Fri, 13 Dec 2019 12:14:00 +0000 (13:14 +0100)]
test/fake_fs: fix tests for py3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotest: replace __builtin__ with module path for py3
Kyr Shatskyy [Fri, 13 Dec 2019 12:13:14 +0000 (13:13 +0100)]
test: replace __builtin__ with module path for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agolock/ops: cast dict_keys to list for py3
Kyr Shatskyy [Fri, 13 Dec 2019 11:40:47 +0000 (12:40 +0100)]
lock/ops: cast dict_keys to list for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotask/internal/syslog: use remote.sh for py3 compat
Kyr Shatskyy [Fri, 13 Dec 2019 03:11:47 +0000 (04:11 +0100)]
task/internal/syslog: use remote.sh for py3 compat

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotask/iscsi: use remote.sh instead of remote.run for py3
Kyr Shatskyy [Fri, 13 Dec 2019 03:08:28 +0000 (04:08 +0100)]
task/iscsi: use remote.sh instead of remote.run for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotox: add flake8-py3 env
Kyr Shatskyy [Fri, 13 Dec 2019 02:08:55 +0000 (03:08 +0100)]
tox: add flake8-py3 env

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotask/internal/vm_setup: get rid of cString import for py3
Kyr Shatskyy [Fri, 13 Dec 2019 01:34:28 +0000 (02:34 +0100)]
task/internal/vm_setup: get rid of cString import for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoorchestra/connection: cast 'key' to bytes for base64.decodestring
Kyr Shatskyy [Fri, 13 Dec 2019 00:54:37 +0000 (01:54 +0100)]
orchestra/connection: cast 'key' to bytes for base64.decodestring

Because base64.decodestring accepts bytes, the key variable
should be converted from string obj.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoworker: give a text file to yaml.safe_dump for py3
Kyr Shatskyy [Thu, 12 Dec 2019 23:53:44 +0000 (00:53 +0100)]
worker: give a text file to yaml.safe_dump for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agopy3: cast dict_keys to list
Kyr Shatskyy [Thu, 12 Dec 2019 22:48:43 +0000 (23:48 +0100)]
py3: cast dict_keys to list

Addresses:

  TypeError: 'dict_keys' object does not support indexing

and:

  RuntimeError: dictionary changed size during iteration

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoprune: simplify expression for py3
Kyr Shatskyy [Sat, 23 Nov 2019 17:06:04 +0000 (18:06 +0100)]
prune: simplify expression for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
5 years agoMerge pull request #1378 from ceph/wip-centos8
Sage Weil [Thu, 12 Dec 2019 22:06:39 +0000 (16:06 -0600)]
Merge pull request #1378 from ceph/wip-centos8

task/kernel,install: misc fixes for el8

5 years agotask/kernel: don't fail if we're confused by grub 1378/head
Sage Weil [Thu, 12 Dec 2019 20:05:35 +0000 (20:05 +0000)]
task/kernel: don't fail if we're confused by grub

If we don't have menuitem in the grub conf, and we dn't see /boot/loader/entries
file, just don't do grub2-set-default at all and hope for the best.  Worst
case we'll fail later because we didn't boot the right kernel.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #1380 from kshtsk/wip-py3-requirements
kshtsk [Thu, 12 Dec 2019 19:27:53 +0000 (20:27 +0100)]
Merge pull request #1380 from kshtsk/wip-py3-requirements

py3 requirements

5 years agotask/kernel: adapt to el8 grub2 /boot/loader/entries/*.conf
Sage Weil [Wed, 11 Dec 2019 19:27:22 +0000 (19:27 +0000)]
task/kernel: adapt to el8 grub2 /boot/loader/entries/*.conf

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agotask/kernel: drop removal of old kernels
Sage Weil [Wed, 11 Dec 2019 16:11:08 +0000 (16:11 +0000)]
task/kernel: drop removal of old kernels

1- this isn't necessary anymore with fog
2- the package-cleanup --oldkernels option doesn't exist in el8

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agotask/kernel: fix grub2 detection
Sage Weil [Wed, 11 Dec 2019 17:23:20 +0000 (17:23 +0000)]
task/kernel: fix grub2 detection

grub2 rpm doesn't exist... el8 has

grub2-tools-extra-2.02-66.el8.x86_64
grub2-pc-modules-2.02-66.el8.noarch
grub2-tools-2.02-66.el8.x86_64
grub2-pc-2.02-66.el8.x86_64
grubby-8.40-34.el8.x86_64
grub2-common-2.02-66.el8.noarch
grub2-tools-minimal-2.02-66.el8.x86_64

and el7 has

grub2-tools-minimal-2.02-0.76.el7.centos.x86_64
grub2-pc-2.02-0.76.el7.centos.x86_64
grub2-common-2.02-0.76.el7.centos.noarch
grub2-tools-extra-2.02-0.76.el7.centos.x86_64
grubby-8.28-25.el7.x86_64
grub2-pc-modules-2.02-0.76.el7.centos.noarch
grub2-tools-2.02-0.76.el7.centos.x86_64
grub2-2.02-0.76.el7.centos.x86_64

The difference seems to be that el7 *also* has a /boot/grub directory. Let's
hope this change doesn't break it!

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agotask/install: make sure /etc/yum/plugin.conf.d/priorities.conf exists
Sage Weil [Wed, 11 Dec 2019 19:31:45 +0000 (19:31 +0000)]
task/install: make sure /etc/yum/plugin.conf.d/priorities.conf exists

If it doesn' teh subsequent commands all fail.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomisc: get_system_type: RedHatEnterprise is RHEL
Sage Weil [Wed, 11 Dec 2019 17:04:15 +0000 (17:04 +0000)]
misc: get_system_type: RedHatEnterprise is RHEL

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #1381 from ceph/wip-cephadm
Sage Weil [Thu, 12 Dec 2019 18:37:52 +0000 (12:37 -0600)]
Merge pull request #1381 from ceph/wip-cephadm

orchestra: ceph-daemon -> cephadm

5 years agoorchestra: ceph-daemon -> cephadm 1381/head
Sage Weil [Thu, 12 Dec 2019 16:43:02 +0000 (16:43 +0000)]
orchestra: ceph-daemon -> cephadm

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agotox: use requirements3.txt for py3 env 1380/head
Kyr Shatskyy [Thu, 12 Dec 2019 16:19:13 +0000 (17:19 +0100)]
tox: use requirements3.txt for py3 env

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotox: requirements.txt -> requirement2.txt
Kyr Shatskyy [Thu, 12 Dec 2019 16:18:20 +0000 (17:18 +0100)]
tox: requirements.txt -> requirement2.txt

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agorequirements: pip-compile -P paramiko
Kyr Shatskyy [Thu, 12 Dec 2019 16:01:58 +0000 (17:01 +0100)]
requirements: pip-compile -P paramiko

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agorequirements: pip-compile -P cryptography
Kyr Shatskyy [Thu, 12 Dec 2019 15:59:37 +0000 (16:59 +0100)]
requirements: pip-compile -P cryptography

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agorequirements: pip-compile -P pexpect
Kyr Shatskyy [Thu, 12 Dec 2019 15:57:46 +0000 (16:57 +0100)]
requirements: pip-compile -P pexpect

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agorequirements: pip-compile -P pip-tools
Kyr Shatskyy [Thu, 12 Dec 2019 15:53:26 +0000 (16:53 +0100)]
requirements: pip-compile -P pip-tools

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agopy3: add requirements file
Kyr Shatskyy [Thu, 12 Dec 2019 15:48:14 +0000 (16:48 +0100)]
py3: add requirements file

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agobootstrap: use separate requirements file for py3
Kyr Shatskyy [Thu, 12 Dec 2019 15:41:57 +0000 (16:41 +0100)]
bootstrap: use separate requirements file for py3

Because pip-compile produces different set of packages
for different python versions it needs to have
a dedicated requirements.txt for py2 and py3.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotox: add py3 env
Kyr Shatskyy [Wed, 11 Dec 2019 03:22:53 +0000 (04:22 +0100)]
tox: add py3 env

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agobootstrap: add PYTHON and VENV variables
Kyr Shatskyy [Wed, 11 Dec 2019 00:30:26 +0000 (01:30 +0100)]
bootstrap: add PYTHON and VENV variables

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1379 from tchaikov/wip-43192
Kefu Chai [Thu, 12 Dec 2019 07:35:32 +0000 (15:35 +0800)]
Merge pull request #1379 from tchaikov/wip-43192

setup.py: add missing dependencies of tests

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agosetup.py: add missing dependencies of tests 1379/head
Kefu Chai [Thu, 12 Dec 2019 04:56:19 +0000 (12:56 +0800)]
setup.py: add missing dependencies of tests

Fixes: https://tracker.ceph.com/issues/43192
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodocs: document the fix for incompatible pip-tools with newer pip
Kefu Chai [Thu, 12 Dec 2019 04:43:04 +0000 (12:43 +0800)]
docs: document the fix for incompatible pip-tools with newer pip

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agosetup.py: move more tests related deps to "test"
Kefu Chai [Thu, 12 Dec 2019 03:14:07 +0000 (11:14 +0800)]
setup.py: move more tests related deps to "test"

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1375 from ceph/wip-centos8
David Galloway [Wed, 11 Dec 2019 00:08:13 +0000 (19:08 -0500)]
Merge pull request #1375 from ceph/wip-centos8

orchestra/opsys: enable centos 8

5 years agoorchestra/opsys: enable centos 8 1375/head
Sage Weil [Tue, 10 Dec 2019 18:54:09 +0000 (18:54 +0000)]
orchestra/opsys: enable centos 8

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #1374 from ceph/wip-valgrind-file
kshtsk [Tue, 10 Dec 2019 10:13:10 +0000 (11:13 +0100)]
Merge pull request #1374 from ceph/wip-valgrind-file

valgrind.supp is used from ceph/qa

5 years agovalgrind.supp is used from ceph/qa, we should remove this from setup to avoid 1374/head
Vasu Kulkarni [Tue, 10 Dec 2019 03:12:21 +0000 (19:12 -0800)]
valgrind.supp is used from ceph/qa, we should remove this from setup to avoid
any confusion

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
5 years agoMerge pull request #1373 from kshtsk/wip-opensuse-distro-defaults
kshtsk [Tue, 10 Dec 2019 00:33:25 +0000 (01:33 +0100)]
Merge pull request #1373 from kshtsk/wip-opensuse-distro-defaults

suite/util: add opensuse to distro defaults

5 years agosuite/util: add opensuse to distro defaults 1373/head
Kyr Shatskyy [Mon, 9 Dec 2019 14:43:39 +0000 (15:43 +0100)]
suite/util: add opensuse to distro defaults

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1367 from tchaikov/wip-deps
Kefu Chai [Fri, 6 Dec 2019 15:21:37 +0000 (23:21 +0800)]
Merge pull request #1367 from tchaikov/wip-deps

update/cleanup dependencies

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agodocs: document how requirements.txt is updated 1367/head
Kefu Chai [Wed, 4 Dec 2019 17:18:24 +0000 (01:18 +0800)]
docs: document how requirements.txt is updated

we should update this document once
https://github.com/jazzband/pip-tools/issues/625 is fixed and/or
https://github.com/jazzband/pip-tools/issues/908 is merged

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agosetup.py: move test related stuff to optional deps
Kefu Chai [Wed, 27 Nov 2019 10:00:09 +0000 (18:00 +0800)]
setup.py: move test related stuff to optional deps

all of them are for testing teuthology itself.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoremove unused dependencies
Kefu Chai [Mon, 25 Nov 2019 06:10:20 +0000 (14:10 +0800)]
remove unused dependencies

following dependencies are removed in this change, as they are not
used anymore

* bunch
* web.py

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agosetup.py: move orchestra related stuff to optional deps
Kefu Chai [Mon, 25 Nov 2019 05:56:54 +0000 (13:56 +0800)]
setup.py: move orchestra related stuff to optional deps

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agopip-compile -P pyyaml
Kefu Chai [Mon, 25 Nov 2019 05:00:01 +0000 (13:00 +0800)]
pip-compile -P pyyaml

to be consistent with its name on https://pypi.org/project/PyYAML

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agopip-compile -P gevent
Kefu Chai [Mon, 25 Nov 2019 04:52:57 +0000 (12:52 +0800)]
pip-compile -P gevent

so it's compatible with python3.7

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #1371 from rhcs-dashboard/add-cryptography
Gregory Farnum [Sat, 30 Nov 2019 22:11:34 +0000 (14:11 -0800)]
Merge pull request #1371 from rhcs-dashboard/add-cryptography

Add cryptography as explicit dependency

5 years agoAdd cryptography as explicit dependency 1371/head
Alfonso Martínez [Fri, 29 Nov 2019 10:49:46 +0000 (11:49 +0100)]
Add cryptography as explicit dependency

Right now it's installed implicitly, but these feature tests require it:
https://github.com/ceph/ceph/pull/31922

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
5 years agoMerge pull request #1361 from kshtsk/wip-circular-imports
kshtsk [Mon, 25 Nov 2019 16:37:31 +0000 (17:37 +0100)]
Merge pull request #1361 from kshtsk/wip-circular-imports

remove circular imports

5 years agoMerge pull request #1364 from kshtsk/wip-cloud-openstack-py3
kshtsk [Sun, 24 Nov 2019 18:27:13 +0000 (19:27 +0100)]
Merge pull request #1364 from kshtsk/wip-cloud-openstack-py3

make cloud openstack py3 compatible

5 years agoMerge pull request #1347 from kshtsk/wip-libcloud-2.6.0
Kefu Chai [Fri, 22 Nov 2019 17:33:29 +0000 (01:33 +0800)]
Merge pull request #1347 from kshtsk/wip-libcloud-2.6.0

deps: bump apache-libcloud from 1.5.0 to 2.6.0

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomisc: drop 'basestring' usage for py3 compat 1364/head
Kyr Shatskyy [Mon, 18 Nov 2019 21:47:21 +0000 (22:47 +0100)]
misc: drop 'basestring' usage for py3 compat

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosuite/util: convert iter items to list for py3
Kyr Shatskyy [Thu, 21 Nov 2019 15:03:53 +0000 (16:03 +0100)]
suite/util: convert iter items to list for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agodescribe_tests: make test py3 compat
Kyr Shatskyy [Thu, 21 Nov 2019 14:54:14 +0000 (15:54 +0100)]
describe_tests: make test py3 compat

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agocloud/util: make syntax py3 compat
Kyr Shatskyy [Thu, 21 Nov 2019 14:45:38 +0000 (15:45 +0100)]
cloud/util: make syntax py3 compat

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agopackaging: fix syntax for py3 compat
Kyr Shatskyy [Thu, 21 Nov 2019 14:36:47 +0000 (15:36 +0100)]
packaging: fix syntax for py3 compat

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoorchestra/run: avoid usage of basestring for py3
Kyr Shatskyy [Thu, 21 Nov 2019 13:55:38 +0000 (14:55 +0100)]
orchestra/run: avoid usage of basestring for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agocloud/openstack: convert filter to list for py3 compat
Kyr Shatskyy [Wed, 20 Nov 2019 23:10:36 +0000 (00:10 +0100)]
cloud/openstack: convert filter to list for py3 compat

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotest/run: py3 compatibility
Kyr Shatskyy [Wed, 20 Nov 2019 00:07:16 +0000 (01:07 +0100)]
test/run: py3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosuite/matrix: make test_build_matrix py3 compat
Kyr Shatskyy [Wed, 20 Nov 2019 00:01:29 +0000 (01:01 +0100)]
suite/matrix: make test_build_matrix py3 compat

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agocontextutil: fix test for py3 compat
Kyr Shatskyy [Tue, 19 Nov 2019 23:59:27 +0000 (00:59 +0100)]
contextutil: fix test for py3 compat

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoopenstack: use isinstance for type check
Kyr Shatskyy [Tue, 19 Nov 2019 22:36:37 +0000 (23:36 +0100)]
openstack: use isinstance for type check

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agotest/timer: use py3 compatible syntax
Kyr Shatskyy [Tue, 19 Nov 2019 20:34:46 +0000 (21:34 +0100)]
test/timer: use py3 compatible syntax

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agosuite/matrix: use py3 compatible floor division
Kyr Shatskyy [Tue, 19 Nov 2019 20:25:49 +0000 (21:25 +0100)]
suite/matrix: use py3 compatible floor division

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agocloud/openstack: do not use basestring
Kyr Shatskyy [Tue, 19 Nov 2019 15:38:58 +0000 (16:38 +0100)]
cloud/openstack: do not use basestring

py3 does not have 'basestring' class, so it is better
to use 'str' or just avoid using 'basestring'.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoparallel: add __init__ for py3
Kyr Shatskyy [Tue, 19 Nov 2019 15:36:08 +0000 (16:36 +0100)]
parallel: add __init__ for py3

Since python3 is using __init__ instead init
it is needed to add this method.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoreport: do not use 'basestring' for py3
Kyr Shatskyy [Mon, 18 Nov 2019 21:49:34 +0000 (22:49 +0100)]
report: do not use 'basestring' for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #1363 from kshtsk/wip-sle-15
kshtsk [Thu, 21 Nov 2019 16:29:42 +0000 (17:29 +0100)]
Merge pull request #1363 from kshtsk/wip-sle-15

add sle 15 for opensuse and sle

5 years agoorchestra/opsys: add 15.2 for sle and opensuse 1363/head
Kyr Shatskyy [Thu, 21 Nov 2019 16:03:07 +0000 (17:03 +0100)]
orchestra/opsys: add 15.2 for sle and opensuse

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoopenstack: enable testing on SLE-15-SP1
Nathan Cutler [Wed, 5 Dec 2018 12:06:56 +0000 (13:06 +0100)]
openstack: enable testing on SLE-15-SP1

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoorchestra/opsys: add missing SLES versions to DISTRO_CODENAME_MAP
Nathan Cutler [Thu, 1 Feb 2018 12:27:43 +0000 (13:27 +0100)]
orchestra/opsys: add missing SLES versions to DISTRO_CODENAME_MAP

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #1360 from kshtsk/wip-py3-ceph-ansible
Vasu Kulkarni [Wed, 20 Nov 2019 19:53:30 +0000 (11:53 -0800)]
Merge pull request #1360 from kshtsk/wip-py3-ceph-ansible

ceph_ansible: make code py3 compatible

5 years agolock/keys: remove useless module 1361/head
Kyr Shatskyy [Mon, 18 Nov 2019 18:33:39 +0000 (19:33 +0100)]
lock/keys: remove useless module

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agolock/ops: remove circular import of keys operations
Kyr Shatskyy [Mon, 18 Nov 2019 18:30:45 +0000 (19:30 +0100)]
lock/ops: remove circular import of keys operations

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>