]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
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>
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>
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
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>
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>
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>
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
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
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
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>
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
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
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>
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>
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
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
Kyr Shatskyy [Fri, 12 Apr 2019 23:59:10 +0000 (23:59 +0000)]
opsys: Drop opensuse-leap from DISTRO_CODENAME_MAP
Drop 'opensuse-leap' from DISTRO_CODENAME_MAP in favor of 'opensuse'
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 7 May 2018 21:59:52 +0000 (00:59 +0300)]
Add new openSUSE Leap ID for os-release
Jan Fajerski [Thu, 16 Mar 2017 13:21:31 +0000 (14:21 +0100)]
misc: add check to delete_file
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Nathan Cutler [Sun, 4 Mar 2018 05:37:28 +0000 (06:37 +0100)]
misc: get_system_type: openSUSE means rpm
2018-03-03T23:59:57.524 INFO:teuthology.orchestra.run.target149202163177:Running: 'sudo lsb_release -is'
2018-03-03T23:59:57.600 INFO:teuthology.orchestra.run.target149202163177.stdout:openSUSE
2018-03-03T23:59:57.601 DEBUG:teuthology.misc:System to be installed: openSUSE
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Tue, 22 Nov 2016 09:53:40 +0000 (10:53 +0100)]
misc.py: Handle SLE-12-SP2 in get_system_type()
In SLE-12-SP1, "lsb_release -is" returns "SUSE LINUX". In SLE-12-SP2, it
returns "SUSE".
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kyr Shatskyy [Fri, 12 Apr 2019 19:46:58 +0000 (19:46 +0000)]
opsys: opensuse id related fix
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Nathan Cutler [Fri, 2 Mar 2018 13:55:37 +0000 (14:55 +0100)]
misc.py: saner write_file() and sudo_write_file()
Using python to do this might have made sense in 2011, but it doesn't now.
Our hand is forced here, because systems are no longer guaranteed to
have an executable called "python".
For background details on why this is happening, see
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3#.2Fusr.2Fbin.2Fpython
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 21 Dec 2018 09:42:29 +0000 (10:42 +0100)]
openstack: enable testing on openSUSE Leap 15.1
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sat, 3 Mar 2018 20:59:07 +0000 (21:59 +0100)]
openstack: support openSUSE Leap 15.0
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Wed, 24 Apr 2019 15:46:31 +0000 (10:46 -0500)]
Merge pull request #1275 from ceph/wip-default-os
update default OS versions
Sage Weil [Wed, 3 Apr 2019 18:45:57 +0000 (13:45 -0500)]
update default OS versions
centos/rhel 7.4 -> 7.6
ubuntu 16.04 -> 18.04
Signed-off-by: Sage Weil <sage@redhat.com>
Radoslaw Zarzynski [Thu, 28 Mar 2019 22:13:10 +0000 (23:13 +0100)]
valgrind.supp: move the whitelist file to /qa dir of ceph.git
This change drops valgrind.supp whitelist file from teuthology
repo and alters the install task to acquire it from /qa dir of
ceph-qa-suite repository.
It's expected the commit will have sibiling in ceph.git moving
the proper valgrind.supp there.
The rationale behind the entire change is duplication of these
files between two repos, their inconsistencies and confusion.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Patrick Donnelly [Tue, 23 Apr 2019 19:04:13 +0000 (12:04 -0700)]
Merge PR #1284 into master
* refs/pull/1284/head:
selinux: ignore updatedb failures
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 23 Apr 2019 17:10:21 +0000 (10:10 -0700)]
selinux: ignore updatedb failures
This is with RHEL 7.6.
The failure [1]:
2019-04-17T21:06:33.388 DEBUG:teuthology.run_tasks:Exception was not quenched, exiting: SELinuxError: SELinux denials found on ubuntu@smithi088.front.sepia.ceph.com: ['type=AVC msg=audit(
1555531592 .378:4451): avc: denied { rename } for pid=10476 comm="updatedb" name="mlocate.db.eDrUCz" dev="sda1" ino=5477 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(
1555531589 .705:4446): avc: denied { read write open } for pid=10476 comm="updatedb" path="/var/lib/mlocate/mlocate.db.eDrUCz" dev="sda1" ino=5477 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(
1555531589 .705:4446): avc: denied { create } for pid=10476 comm="updatedb" name="mlocate.db.eDrUCz" scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(
1555531589 .705:4446): avc: denied { add_name } for pid=10476 comm="updatedb" name="mlocate.db.eDrUCz" scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir permissive=1', 'type=AVC msg=audit(
1555531591 .622:4447): avc: denied { write } for pid=10476 comm="updatedb" path="/var/lib/mlocate/mlocate.db.eDrUCz" dev="sda1" ino=5477 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(
1555531592 .377:4450): avc: denied { setattr } for pid=10476 comm="updatedb" name="mlocate.db.eDrUCz" dev="sda1" ino=5477 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(
1555531589 .705:4446): avc: denied { write } for pid=10476 comm="updatedb" name="mlocate" dev="sda1" ino=76978 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir permissive=1']
[1] /ceph/teuthology-archive/pdonnell-2019-04-17_06:02:40-fs-wip-pdonnell-testing-
20190417 .032809-distro-basic-smithi/
3856822 /teuthology.log
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Zack Cerza [Tue, 16 Apr 2019 21:55:11 +0000 (15:55 -0600)]
Merge pull request #1278 from kshtsk/wip-log-userdata
cloud/openstack: log userdata for debug purpose
Kyr Shatskyy [Mon, 4 Feb 2019 12:31:03 +0000 (13:31 +0100)]
orchestra: fix no connection after reboot
This resolves the issue when remote lost connection
if the command was a reboot of the host and there was
only one unsuccessful try to reconnect and as a result
was loosing transport and got stuck with message like:
WARNING:tasks.deepsea.orch:No connection established yet..
Signed-off-by: Kyr <kyrylo.shatskyy@suse.com>
Joshua Schmid [Thu, 25 Oct 2018 14:56:44 +0000 (16:56 +0200)]
Fix code to allow reconncting to a node after the connection was lost.
This patch introduces a 'context' parameter for
teuthology.orchestra.remote's run(..) method which
works around an issue with paramiko.
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Kyr Shatskyy [Fri, 12 Apr 2019 16:21:14 +0000 (16:21 +0000)]
cloud/openstack: log userdata for debug purpose
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kefu Chai [Thu, 11 Apr 2019 10:21:20 +0000 (18:21 +0800)]
Merge pull request #1276 from tchaikov/wip-python34-to-python36
task/install: normalize python3 packages to python36 ones
Reviewed-by: Boris Ranto <branto@redhat.com>
Kefu Chai [Thu, 11 Apr 2019 02:20:58 +0000 (10:20 +0800)]
task/install: normalize python3 packages to python36 ones
EPEL7 has switched over to python3.6 as the main python3. and we started
packaging python bindings for python3.6 since
https://github.com/ceph/ceph-build/pull/1283
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yuval Lifshitz [Wed, 10 Apr 2019 07:29:23 +0000 (07:29 +0000)]
rgw/pubsub: add dependencies needed for pubsub tests
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
Zack Cerza [Thu, 4 Apr 2019 16:13:36 +0000 (10:13 -0600)]
Merge pull request #1271 from kshtsk/wip-openstack-arch
add openstack arch
Zack Cerza [Thu, 4 Apr 2019 16:09:45 +0000 (10:09 -0600)]
Merge pull request #1270 from kshtsk/wip-allow_sizes_and_networks
libcloud: add allow_sizes and allow_networks
Zack Cerza [Thu, 4 Apr 2019 16:09:19 +0000 (10:09 -0600)]
Merge pull request #1272 from kshtsk/wip-ssh-interface
add ssh_interface property
Nathan Cutler [Wed, 22 Feb 2017 11:59:58 +0000 (12:59 +0100)]
openstack: enable openSUSE Leap 42.2
Fixes: #29
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Tue, 21 Feb 2017 12:21:08 +0000 (13:21 +0100)]
openstack: drop some obsolete images
Centos <7.2 is obsolete, Ubuntu <14 is obsolete
(Note that the openstack-integration tests download all of these images
one-by-one, so this is a time-saving measure.)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Tue, 21 Feb 2017 12:12:42 +0000 (13:12 +0100)]
openstack: update Debian 8.0 image URL to current
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 17 Feb 2017 10:22:08 +0000 (11:22 +0100)]
openstack: enable CentOS 7.3
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 8 Feb 2017 20:48:57 +0000 (21:48 +0100)]
openstack: add Leap 42.2 cloud image URL comment
Just a commented-out URL for now, until we figure out how to handle .tbz
extension
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Loic Dachary [Tue, 7 Feb 2017 23:14:03 +0000 (00:14 +0100)]
openstack: debian now is 8.7.0
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Nathan Cutler [Tue, 7 Feb 2017 11:45:52 +0000 (12:45 +0100)]
openstack: use 16.04 for teuthology VM
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Loic Dachary [Tue, 21 Jun 2016 12:49:36 +0000 (14:49 +0200)]
openstack: debian jessie is now 8.5.0
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Fri, 8 Apr 2016 11:40:16 +0000 (13:40 +0200)]
add ubuntu 16.04 xenial support
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 7 Feb 2017 22:58:36 +0000 (23:58 +0100)]
openstack: update flavor tests
With the latest flavor list from OVH
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Tue, 7 Feb 2017 22:57:59 +0000 (23:57 +0100)]
openstack: test must preserve the environment
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Fri, 27 May 2016 07:14:00 +0000 (09:14 +0200)]
openstack: ovh renamed flavors : s/eg/hg/ (part 3)
http://travaux.ovh.net/?do=details&id=17532
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Thu, 26 May 2016 12:33:10 +0000 (14:33 +0200)]
openstack: ovh renamed flavors : s/eg/hg/ (part 2)
http://travaux.ovh.net/?do=details&id=17532
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Thu, 26 May 2016 12:04:17 +0000 (14:04 +0200)]
openstack: ovh renamed flavors : s/eg/hg/
http://travaux.ovh.net/?do=details&id=17532
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sat, 26 Mar 2016 18:39:22 +0000 (19:39 +0100)]
openstack: add get_provider() to match set_provider()
So that set_provider does not need to be called explicitly before using
the .provider data member.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Fri, 25 Mar 2016 14:10:51 +0000 (15:10 +0100)]
openstack: add aarch64 support
Signed-off-by: Loic Dachary <loic@dachary.org>
Kyr Shatskyy [Wed, 27 Mar 2019 16:01:58 +0000 (17:01 +0100)]
libcloud: add allow_sizes and allow_networks
In order to simplify selection of flavors and networks
there is added support for allow_sizes and allow_networks
records for each provider configuration.
Both supports either single regular expression or a list
of regular expressions.
Also exclude_sizes supports lists now as well.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Thu, 28 Mar 2019 03:09:36 +0000 (04:09 +0100)]
cloud/openstack: add ntp dependency for dummy
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Thu, 28 Mar 2019 03:08:14 +0000 (04:08 +0100)]
cloud/openstack: add ssh_interface property
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Zack Cerza [Wed, 20 Mar 2019 19:06:37 +0000 (13:06 -0600)]
Merge pull request #1268 from kshtsk/wip-default-suite-branch
teuthology-suite: no default value for suite branch
Kyr Shatskyy [Wed, 20 Mar 2019 17:09:45 +0000 (18:09 +0100)]
teuthology-suite: no default value for suite branch
By default suite branch must be equal to ceph one.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Sage Weil [Fri, 15 Mar 2019 23:48:03 +0000 (18:48 -0500)]
Merge pull request #1267 from dmick/master
task/kernel: fix Depends: parsing for dependencies with "|"
Dan Mick [Fri, 15 Mar 2019 23:14:24 +0000 (16:14 -0700)]
task/kernel: fix Depends: parsing for dependencies with "|"
also make the "Checking kernel version...want" logmsg include quotes
for spotting problems more quickly
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Zack Cerza [Thu, 14 Mar 2019 19:15:59 +0000 (13:15 -0600)]
Merge pull request #1266 from kshtsk/wip-test-repo-from-file
Read test repo from file
Kyr Shatskyy [Mon, 4 Mar 2019 18:18:10 +0000 (19:18 +0100)]
teuthology-openstack: strip out unicode tags for interim test repo yaml
When json file loads from file for --test-repo it is converted
to u'' instead of bare str. Later yaml.dump includes unicode
tags in resulting yaml which makes teuthology-suite fail and
throw an exception.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Fri, 1 Mar 2019 18:38:33 +0000 (19:38 +0100)]
teuthology-openstack: update help for --test-repo argument
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Fri, 1 Mar 2019 16:35:22 +0000 (17:35 +0100)]
teuthology-openstack: support test repo read from file
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Mon, 15 Oct 2018 20:00:15 +0000 (22:00 +0200)]
Add optional priority for --test-repo
Priority can be set adding optional '!' symbol with a number between
name and url. Internally there will be a 'priority' field added
next to 'name' and 'url' fields to the yaml definition.
Usage examples:
--test-repo 'first-repo:http://hostname.domain/no-priority/repo'
--test-repo 'second-repo!99:http://hostname.domain/default-priority/repo'
--test-repo 'third-repo!1:http://hostname.domain/highest-priority/repo'
--test-repo 'fourth-repo!2:http://hostname.domain/next-priority/repo'
--test-repo 'fifth-repo!0:http://hostname.domain/zero-priority/repo'
Notes for zypper:
The higher the number, the lower the priority.
No priority is equivalent to 99 or 0 priorities.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Gregory Farnum [Tue, 12 Mar 2019 23:47:04 +0000 (16:47 -0700)]
Merge pull request #1263 from kshtsk/wip-os-getenv
openstack: take defaults from environment
Kyr Shatskyy [Thu, 28 Feb 2019 15:37:10 +0000 (16:37 +0100)]
openstack: take defaults from environment
This patch introduces TEUTH_ based environment variables
which can be used to avoid bulky commands while overiding
default values for some of the teuthology arguments.
Removes mandatory of --ceph option for teuthology-suite,
and defaults to 'master'.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
David Galloway [Fri, 8 Mar 2019 17:55:24 +0000 (12:55 -0500)]
Merge pull request #1265 from batrick/selinux-nagios
selinux: ignore nagios denial
Kefu Chai [Tue, 5 Mar 2019 01:03:50 +0000 (09:03 +0800)]
Merge pull request #1264 from tchaikov/yaml-loads
ansible.py: catch yaml.YAMLError when yaml.safe_load()
Reviewed-by: David Zafman <dzafman@redhat.com>
Patrick Donnelly [Mon, 4 Mar 2019 21:26:46 +0000 (13:26 -0800)]
selinux: ignore nagios denial
Got this in RHEL 7.6 testing.
Fixes: https://tracker.ceph.com/issues/38519
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Mon, 4 Mar 2019 16:46:24 +0000 (00:46 +0800)]
ansible.py: catch yaml.YAMLError when yaml.safe_load()
yaml.safe_load() also throws yaml.scanner.ScannerError. so use
yaml.YAMLError to cover them all. see
https://pyyaml.org/wiki/PyYAMLDocumentation .
Signed-off-by: Kefu Chai <kchai@redhat.com>
kshtsk [Wed, 27 Feb 2019 22:51:26 +0000 (23:51 +0100)]
Merge pull request #1259 from kshtsk/wip-mysqlclient
python-cov: update python mysql dependency
kshtsk [Thu, 14 Feb 2019 12:23:42 +0000 (13:23 +0100)]
Merge pull request #1258 from kshtsk/wip-no-nuke
openstack: fix all volumes nuke
Kyr Shatskyy [Wed, 6 Feb 2019 23:48:04 +0000 (00:48 +0100)]
openstack: fix all volumes nuke
Do not allow teuthology-nuke to delete all volumes on openstack.
There is a bug on some openstack clients that --name option
does not work correctly for 'openstack volume list' in contrast
to 'openstack server list' and lists all available volumes
ignoring '--name' option at all.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
vasukulkarni [Thu, 14 Feb 2019 01:01:16 +0000 (17:01 -0800)]
Merge pull request #1255 from kshtsk/wip-reconnect-timeout
orchestra: fix retry and socket timeout misconception
Kyr Shatskyy [Mon, 11 Feb 2019 15:20:14 +0000 (16:20 +0100)]
python-cov: update python mysql dependency
Signed-off-by: Kyr <kyrylo.shatskyy@suse.com>
kshtsk [Mon, 11 Feb 2019 14:30:57 +0000 (15:30 +0100)]
Merge pull request #1257 from kshtsk/fix-test-repo-utils
test_repo_utils: fix shared temporary directory
Kyr Shatskyy [Mon, 11 Feb 2019 07:37:28 +0000 (08:37 +0100)]
test_repo_utils: fix shared temporary directory
Signed-off-by: Kyr <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 4 Feb 2019 20:08:26 +0000 (21:08 +0100)]
orchestra: fix retry and socket timeouts misconception
Fix retry and socket timeouts misconception for reconnect.
Add default sleep time as argument to the signature.
Signed-off-by: Kyr <kyrylo.shatskyy@gmail.com>
kshtsk [Tue, 5 Feb 2019 11:41:21 +0000 (12:41 +0100)]
Merge pull request #1254 from kshtsk/wip-dump-console-log
Dump console log if ssh_keyscan failed
Gregory Farnum [Tue, 5 Feb 2019 07:51:24 +0000 (23:51 -0800)]
Merge pull request #1253 from ceph/wip-valgrind-whitelist
valgrind.supp: whitelist something in glibc
Kyr Shatskyy [Mon, 4 Feb 2019 18:07:40 +0000 (19:07 +0100)]
openstack: dump console log if ssh_keyscan failed
Dump server's console log if ssh_keyscan failed
Signed-off-by: Kyr <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Mon, 4 Feb 2019 17:56:34 +0000 (18:56 +0100)]
misc: ssh_keyscan_wait should use _ssh_keyscan
After ssh_keyscan refactoring ssh_keyscan_wait should be using
the _ssh_keyscan instead.
Signed-off-by: Kyr <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 4 Feb 2019 17:50:58 +0000 (18:50 +0100)]
misc: ssh_keyscan_wait should not raise any exceptions
The ssh_keyscan_wait raises exception MaxWhileTries while
it should return False.
Signed-off-by: Kyr <kyrylo.shatskyy@suse.com>
kshtsk [Mon, 4 Feb 2019 23:08:46 +0000 (00:08 +0100)]
Merge pull request #1256 from kshtsk/fix-f632
Fix flake8 pytest F632 errors
Kyr Shatskyy [Mon, 4 Feb 2019 18:22:45 +0000 (19:22 +0100)]
Fix flake8 pytest F632 errors
Signed-off-by: Kyr <kyrylo.shatskyy@suse.com>
Sage Weil [Thu, 24 Jan 2019 23:03:11 +0000 (17:03 -0600)]
valgrind.supp: whitelist something in glibc
<kind>Leak_PossiblyLost</kind>
<xwhat>
<text>7 bytes in 1 blocks are possibly lost in loss record 20 of 33,344</text>
<leakedbytes>7</leakedbytes>
<leakedblocks>1</leakedblocks>
</xwhat>
<stack>
<frame>
<ip>0xA811C23</ip>
<obj>/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
<fn>malloc</fn>
<dir>/builddir/build/BUILD/valgrind-3.13.0/coregrind/m_replacemalloc</dir>
<file>vg_replace_malloc.c</file>
<line>299</line>
</frame>
<frame>
<ip>0xE709809</ip>
<obj>/usr/lib64/libc-2.17.so</obj>
<fn>strdup</fn>
</frame>
<frame>
<ip>0xFC49444</ip>
<obj>/usr/lib64/libnl-3.so.200.23.0</obj>
<fn>__trans_list_add</fn>
</frame>
<frame>
<ip>0xF9E07E0</ip>
<obj>/usr/lib64/libnl-route-3.so.200.23.0</obj>
</frame>
<frame>
<ip>0x9BF7B02</ip>
<obj>/usr/lib64/ld-2.17.so</obj>
<fn>_dl_init</fn>
</frame>
<frame>
<ip>0x9BE9069</ip>
<obj>/usr/lib64/ld-2.17.so</obj>
</frame>
<frame>
<ip>0x5</ip>
</frame>
<frame>
<ip>0x1FFF000CA2</ip>
</frame>
<frame>
<ip>0x1FFF000CAB</ip>
</frame>
<frame>
<ip>0x1FFF000CAE</ip>
</frame>
<frame>
<ip>0x1FFF000CB8</ip>
</frame>
<frame>
<ip>0x1FFF000CBD</ip>
</frame>
<frame>
<ip>0x1FFF000CC0</ip>
</frame>
</stack>
</error>
On centos 7.4
Signed-off-by: Sage Weil <sage@redhat.com>
Gregory Farnum [Mon, 21 Jan 2019 21:26:06 +0000 (13:26 -0800)]
Merge pull request #1250 from tchaikov/wip-sphinx-reformat
task: reformat the docstring for sphinx
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
kshtsk [Mon, 21 Jan 2019 18:41:48 +0000 (19:41 +0100)]
Merge pull request #1251 from kshtsk/wip-matrix-tostr
Fix matrix dump tostr() method
Kyr Shatskyy [Tue, 15 Jan 2019 14:01:24 +0000 (15:01 +0100)]
Fix matrix dump tostr() method
Addresses issue while trying to dump matrix object:
AttributeError: Base instance has no attribute '__getitem__'
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
Kefu Chai [Mon, 21 Jan 2019 04:20:33 +0000 (12:20 +0800)]
task: reformat the docstring for sphinx
the code block should start with `::`, and should be indented.
Signed-off-by: Kefu Chai <kchai@redhat.com>
kshtsk [Thu, 17 Jan 2019 11:23:19 +0000 (12:23 +0100)]
Merge pull request #1247 from kshtsk/wip-allow-runtime-logging-for-sh
orchestra: allow runtime logging for sh
Kyr Shatskyy [Thu, 3 Jan 2019 07:48:07 +0000 (08:48 +0100)]
orchestra: allow runtime logging for sh
When run.run is used with 'stdout' argument, the output of run command
is read to the given stream and logged with corresponding level only after
completion, which is different from the default behaviour. This 'hides'
useful information when, for example, the command is hung or stuck.
Aso it is usually handy when there are some data can be found
in the log for a prolonged command execution during runtime.
This patch addresses the issue.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kefu Chai [Thu, 3 Jan 2019 01:38:57 +0000 (09:38 +0800)]
Merge pull request #1246 from tchaikov/wip-downgrade
task/install: assert on installed_version > downgrade_version
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Mon, 31 Dec 2018 08:07:26 +0000 (16:07 +0800)]
task/install: assert on installed_version > downgrade_version
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 22 Dec 2018 01:36:42 +0000 (09:36 +0800)]
Merge pull request #1245 from tchaikov/wip-downgrade-packages
task/install: populate "downgrade_packages" to nested_config
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Fri, 21 Dec 2018 07:17:09 +0000 (15:17 +0800)]
task/install: populate "downgrade_packages" to nested_config
- populate "downgrade_packages" to `nested_config` in `task()`.
otherwise, the "downgrade_packages" is invisible to the `install()`
function.
- also print logging message before downgrading packages.
- cleanup rpm._downgrade_packages(), no need to format `downgrade_cmd`.
it's already formated.
Signed-off-by: Kefu Chai <kchai@redhat.com>