]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
6 years agoremoved cluster names
Shilpa Jagannath [Wed, 12 Dec 2018 13:09:15 +0000 (18:39 +0530)]
removed cluster names

6 years agoremoved cluster names
Shilpa Jagannath [Wed, 12 Dec 2018 12:06:06 +0000 (17:36 +0530)]
removed cluster names

6 years agoremoved cluster names
Shilpa Jagannath [Wed, 12 Dec 2018 06:59:26 +0000 (12:29 +0530)]
removed cluster names

6 years agoremoved cluster names
Shilpa Jagannath [Wed, 12 Dec 2018 06:51:40 +0000 (12:21 +0530)]
removed cluster names

6 years agoremoved cluster names
Shilpa Jagannath [Tue, 11 Dec 2018 12:48:36 +0000 (18:18 +0530)]
removed cluster names

6 years agoremoved cluster names
Shilpa Jagannath [Tue, 11 Dec 2018 12:13:10 +0000 (17:43 +0530)]
removed cluster names

6 years agoremoved cluster names
Shilpa Jagannath [Tue, 11 Dec 2018 11:32:59 +0000 (17:02 +0530)]
removed cluster names

6 years agoremoved cluster names
Shilpa Jagannath [Tue, 11 Dec 2018 10:33:46 +0000 (16:03 +0530)]
removed cluster names

7 years agoMerge pull request #1232 from ceph/wip-haproxy
vasukulkarni [Wed, 31 Oct 2018 23:24:30 +0000 (16:24 -0700)]
Merge pull request #1232 from ceph/wip-haproxy

Adds haproxy support and other cleanup fixes

7 years agoRemoved unused variable 'remote' 1232/head
Shilpa Jagannath [Wed, 31 Oct 2018 10:53:28 +0000 (16:23 +0530)]
Removed unused variable 'remote'

7 years agoUpdated docstring to describe haproxy roles
Shilpa Jagannath [Tue, 30 Oct 2018 07:09:58 +0000 (12:39 +0530)]
Updated docstring to describe haproxy roles

7 years agoAdds haproxy support and other cleanup fixes
Shilpa Jagannath [Tue, 30 Oct 2018 07:02:04 +0000 (12:32 +0530)]
Adds haproxy support and other cleanup fixes

7 years agocheck if osd id is an integer, if so use it and discard any empty or non integer...
Vasu Kulkarni [Tue, 9 Oct 2018 20:27:27 +0000 (13:27 -0700)]
check if osd id is an integer, if so use it and discard any empty or non integer ids.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agofix couple more flake8 issues
Vasu Kulkarni [Mon, 8 Oct 2018 18:38:49 +0000 (11:38 -0700)]
fix couple more flake8 issues

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd osd_disk_info to ctx so that any task can access it like ctx.osd_disk_info
shylesh kumar [Sat, 6 Oct 2018 01:47:21 +0000 (21:47 -0400)]
Add osd_disk_info to ctx so that any task can access it like ctx.osd_disk_info

Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
7 years agoadd ansible 2.6 repo
Vasu Kulkarni [Thu, 4 Oct 2018 16:42:05 +0000 (09:42 -0700)]
add ansible 2.6 repo

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agofix rh_install unit test
Vasu Kulkarni [Wed, 26 Sep 2018 17:39:56 +0000 (10:39 -0700)]
fix rh_install unit test

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoexec failure fix
Shylesh Kumar [Thu, 14 Jun 2018 16:25:37 +0000 (21:55 +0530)]
exec failure fix

Signed-off-by: Shylesh Kumar <shylesh.mohan@gmail.com>
7 years agoFix log remote dir with dual clusters
Shilpa Jagannath [Fri, 31 Aug 2018 07:22:35 +0000 (12:52 +0530)]
Fix log remote dir with dual clusters

7 years agomissing nfss key added in generate hosts file section
rakesh [Fri, 22 Jun 2018 17:42:23 +0000 (23:12 +0530)]
missing nfss key  added in generate hosts file section

7 years agoFix compatibility with single cluster run
Shilpa Jagannath [Tue, 12 Jun 2018 08:31:48 +0000 (14:01 +0530)]
Fix compatibility with single cluster run

7 years agoAll fixes included for running dual cluster with ceph-ansible.
Shilpa Jagannath [Tue, 12 Jun 2018 05:17:28 +0000 (10:47 +0530)]
All fixes included for running dual cluster with ceph-ansible.

7 years agoFix unregister during final cleanup, due to stage cdn task that is not needed now.
Vasu Kulkarni [Mon, 11 Jun 2018 00:10:08 +0000 (17:10 -0700)]
Fix unregister during final cleanup, due to stage cdn task that is not needed now.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoneed to debug why check_status is being ignored, for now catch
Vasu Kulkarni [Sun, 10 Jun 2018 22:50:55 +0000 (15:50 -0700)]
need to debug why check_status is being ignored, for now catch
the command failed error, log and ignore so that tests can pass.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agounsubscribe at the start of the test as well, if nodes are not freshly reimaged
Vasu Kulkarni [Sun, 10 Jun 2018 21:41:42 +0000 (14:41 -0700)]
unsubscribe at the start of the test as well, if nodes are not freshly reimaged
then they may have subscription from old configuration

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agotypo fix and ignore status if unregister fails
Vasu Kulkarni [Sun, 10 Jun 2018 15:35:09 +0000 (08:35 -0700)]
typo fix and ignore status if unregister fails

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoEnable standard rhel repos as well after stage cdn configuration
Vasu Kulkarni [Sun, 10 Jun 2018 14:27:54 +0000 (07:27 -0700)]
Enable standard rhel repos as well after stage cdn configuration

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agosubscribe rhel octo nodes using stage cdn from configuration
Vasu Kulkarni [Fri, 8 Jun 2018 23:08:48 +0000 (16:08 -0700)]
subscribe rhel octo nodes using stage cdn from configuration

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd misc cleanup options before we unlock the system
Vasu Kulkarni [Thu, 31 May 2018 17:44:40 +0000 (10:44 -0700)]
Add misc cleanup options before we unlock the system

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoosd addition fix in roles and cleanup shipped files
Vasu Kulkarni [Sat, 26 May 2018 02:11:33 +0000 (19:11 -0700)]
osd addition fix in roles and cleanup shipped files

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoship_utilities import fix
Vasu Kulkarni [Fri, 25 May 2018 22:51:24 +0000 (15:51 -0700)]
ship_utilities import fix

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoship utilities file during ceph-ansible task
Vasu Kulkarni [Fri, 25 May 2018 22:19:18 +0000 (18:19 -0400)]
ship utilities file during ceph-ansible task

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agodetect osd id's and use them in new roles as ansible can change the order
Vasu Kulkarni [Fri, 25 May 2018 05:04:08 +0000 (01:04 -0400)]
detect osd id's and use them in new roles as ansible can change the order
of osd's that are bootstrapped

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoFix roles after cluster is setup for mon/mgr/mds and also
Vasu Kulkarni [Thu, 24 May 2018 22:39:32 +0000 (18:39 -0400)]
Fix roles after cluster is setup for mon/mgr/mds and also
setup daemons for use by ceph_manager

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoFog provides fresh setup so there is no need to do any precleanup
Vasu Kulkarni [Thu, 3 May 2018 22:30:37 +0000 (15:30 -0700)]
Fog provides fresh setup so there is no need to do any precleanup

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agofast fix for nvme test
Vasu Kulkarni [Fri, 16 Mar 2018 01:38:03 +0000 (18:38 -0700)]
fast fix for nvme test

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoDisable running cm-ansible by default, FOG images have already
Vasu Kulkarni [Thu, 15 Mar 2018 00:06:34 +0000 (17:06 -0700)]
Disable running cm-ansible by default, FOG images have already
run cm-ansible code and it would be redundant to run them again.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agodont poweroff nodes, leave it as is for adhoc debug if needed.
Vasu Kulkarni [Tue, 27 Feb 2018 20:50:23 +0000 (12:50 -0800)]
dont poweroff nodes, leave it as is for adhoc debug if needed.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoOcto lab has no VPS and its default FOG, so we dont
Vasu Kulkarni [Thu, 15 Feb 2018 21:19:50 +0000 (13:19 -0800)]
Octo lab has no VPS and its default FOG, so we dont
need any data[os_type] to be sent at all for queue requests

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoskip specific os_type/os_version request when FOG reimage in place
Vasu Kulkarni [Thu, 15 Feb 2018 21:08:05 +0000 (13:08 -0800)]
skip specific os_type/os_version request when FOG reimage in place

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoEnable FOG reimage by default for all machine types
Vasu Kulkarni [Wed, 14 Feb 2018 17:33:01 +0000 (09:33 -0800)]
Enable FOG reimage by default for all machine types

the downside: you can't control from teuthology.yaml what
machines can be enabled for FOG

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agorun git_ignore_ssl task after ansible setup
Vasu Kulkarni [Sat, 6 Jan 2018 19:51:10 +0000 (11:51 -0800)]
run git_ignore_ssl task after ansible setup

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd internal task to ignore ssl errors while
Vasu Kulkarni [Sat, 6 Jan 2018 02:04:25 +0000 (18:04 -0800)]
Add internal task to ignore ssl errors while
cloning from untrusted gitlab

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd option to schedule jobs using simple subset
Vasu Kulkarni [Sat, 27 Jan 2018 02:32:15 +0000 (18:32 -0800)]
Add option to schedule jobs using simple subset

Total number of jobs are divided into equal subsets based on
user options and can be scheduled using 1/10, 2/10 etc

If a suite produces 100 jobs, 1/10 would schedule first 10 jobs,
2/10 will schedule next set of 10 jobs and so on.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agouse update_latest_rh_kernel for redhat configs
Vasu Kulkarni [Fri, 26 Jan 2018 01:11:01 +0000 (17:11 -0800)]
use update_latest_rh_kernel for redhat configs

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd option to retry for exec task.
Vasu Kulkarni [Fri, 5 Jan 2018 01:51:04 +0000 (17:51 -0800)]
Add option to retry for exec task.

retry and sleep_for_retry options can be used with exec task without
needing to use lengthy shell based while loops for similar
task. Also adds timeout option for commands that can be used
to return within specified time.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agowhen cm-ansible breaks!, backup to skip cm-ansible and run jobs
Vasu Kulkarni [Fri, 26 Jan 2018 00:31:56 +0000 (16:31 -0800)]
when cm-ansible breaks!, backup to skip cm-ansible and run jobs

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agomisc run-rh-task fixes during rhcs 3.0
Vasu Kulkarni [Fri, 26 Jan 2018 00:23:06 +0000 (16:23 -0800)]
misc run-rh-task fixes during rhcs 3.0

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agodebian repo is setup during internal task and no longer needed.
Vasu Kulkarni [Thu, 25 Jan 2018 23:03:21 +0000 (15:03 -0800)]
debian repo is setup during internal task and no longer needed.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoSome more cleanup before repo setup and skip subscription manager
Vasu Kulkarni [Thu, 25 Jan 2018 22:49:40 +0000 (14:49 -0800)]
Some more cleanup before repo setup and skip subscription manager
for beta ISO tests

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge pull request #1209 from smithfarm/wip-sleep-seconds
Kefu Chai [Tue, 18 Sep 2018 04:54:36 +0000 (12:54 +0800)]
Merge pull request #1209 from smithfarm/wip-sleep-seconds

teuthology/task/sleep: be explicit about seconds

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1211 from tchaikov/wip-valgrind-dpdk
Kefu Chai [Tue, 18 Sep 2018 04:11:53 +0000 (12:11 +0800)]
Merge pull request #1211 from tchaikov/wip-valgrind-dpdk

teuthology/task/install/valgrind.supp: add suppression for DPDK

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoteuthology/task/install/valgrind.supp: add suppression for DPDK 1211/head
Kefu Chai [Mon, 17 Sep 2018 06:53:40 +0000 (14:53 +0800)]
teuthology/task/install/valgrind.supp: add suppression for DPDK

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoteuthology/task/sleep: be explicit about seconds 1209/head
Nathan Cutler [Fri, 14 Sep 2018 10:42:41 +0000 (12:42 +0200)]
teuthology/task/sleep: be explicit about seconds

Add the word "seconds" at the end of the log message, since "time.sleep()"
takes a number which is always interpreted as the number of seconds to sleep
for.

Before this commit, the log said:

    INFO:teuthology.task.sleep:Sleeping for 10

After:

    INFO:teuthology.task.sleep:Sleeping for 10 seconds

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #1205 from tchaikov/wip-rerun
Kefu Chai [Wed, 12 Sep 2018 16:16:05 +0000 (00:16 +0800)]
Merge pull request #1205 from tchaikov/wip-rerun

worker,result: create archive_dir for the first job and mark --{seed,subset} optional

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoresults: mark --subset and --seed optional 1205/head
Kefu Chai [Wed, 12 Sep 2018 08:58:32 +0000 (16:58 +0800)]
results: mark --subset and --seed optional

before d488b9bd, these params were mandatory. after d488b9bd, they are
optional. because

- these parameters passed in only for "first-in-suite" job
- subset is not mandatory even for "first-in-suite", because there is
  chance that user want to run the full combination of the test matrix.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoworker: create archive_dir before putting log file in it
Kefu Chai [Wed, 12 Sep 2018 08:43:54 +0000 (16:43 +0800)]
worker: create archive_dir before putting log file in it

before d488b9bd, the memo for rerunning a suite is noted down by the
last-in-suite job. when the last-in-suite job is performed, the
archive_dir has been created by the jobs which performs tests, see
the `Creating archive dir` line in run_job() in teuthology/worker.py .

but after d488b9bd, the memo is logged by the first-in-suite job, by
then, none of the test jobs is performed, so their archive dirs are not
created. i think that's why the first-in-suite job fails to write the
memo to $archive_dir/results.log.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1204 from tchaikov/wip-rerun
Kefu Chai [Tue, 11 Sep 2018 07:13:10 +0000 (15:13 +0800)]
Merge pull request #1204 from tchaikov/wip-rerun

 worker: do not pass --timeout to first-in-suite job

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Zack Cerza <zack@redhat.com>
7 years agoworker: do not pass --timeout to first-in-suite job 1204/head
Kefu Chai [Mon, 10 Sep 2018 16:10:14 +0000 (00:10 +0800)]
worker: do not pass --timeout to first-in-suite job

likewise, do not pass --seed or --subset to last-in-suite job
otherwise, teuthology/schedule.py will raise a ValueError at seeing
--subset or --seed not coming along with --first-in-suite, or
--email or --timeout not coming along with --last-in-suite.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoteuthology/suite: use specified seed and subset if results.log is not readable
Kefu Chai [Mon, 10 Sep 2018 15:23:59 +0000 (23:23 +0800)]
teuthology/suite: use specified seed and subset if results.log is not readable

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1198 from tchaikov/wip-rerun
Josh Durgin [Thu, 6 Sep 2018 19:47:15 +0000 (12:47 -0700)]
Merge pull request #1198 from tchaikov/wip-rerun

script,worker,suite: note down the rerun parameter in the first-job-in-suite

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agosuite/run,schedule,result: write rerun memo as the first job in suite 1198/head
Kefu Chai [Fri, 24 Aug 2018 13:15:31 +0000 (21:15 +0800)]
suite/run,schedule,result: write rerun memo as the first job in suite

so we don't need to wait for the job to write result to for rerunning
the test suite. without this change, the "result" is normally the last
job in the suite to be scheduled, so it's likely we will not have the
results.log until the suite is almost completed. afer this change,
a "first-in-suite" job is scheduled as the first job to note down
the subset and seed to run the suite.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agosuite.run: extract write_result() out of prepare_and_schedule()
Kefu Chai [Fri, 24 Aug 2018 11:40:14 +0000 (19:40 +0800)]
suite.run: extract write_result() out of prepare_and_schedule()

so it's more modular.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agosuite: do not bail out if results.log is not around
Kefu Chai [Fri, 3 Aug 2018 16:25:41 +0000 (00:25 +0800)]
suite: do not bail out if results.log is not around

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1202 from smithfarm/wip-extra_system_packages
Gregory Farnum [Tue, 14 Aug 2018 21:20:55 +0000 (14:20 -0700)]
Merge pull request #1202 from smithfarm/wip-extra_system_packages

task/install: propagate extra_system_packages

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agotask/install: propagate extra_system_packages 1202/head
Nathan Cutler [Tue, 14 Aug 2018 19:51:01 +0000 (21:51 +0200)]
task/install: propagate extra_system_packages

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #1192 from smithfarm/wip-25020
Gregory Farnum [Mon, 13 Aug 2018 21:14:37 +0000 (14:14 -0700)]
Merge pull request #1192 from smithfarm/wip-25020

install: make extra_packages distro-agnostic (in a limited way) and support extra_system_packages option

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #1201 from ceph/wip-syslog-whitelist-info
Sage Weil [Mon, 13 Aug 2018 20:54:43 +0000 (15:54 -0500)]
Merge pull request #1201 from ceph/wip-syslog-whitelist-info

internal/syslog: whitelist ceph-crash daemon messages

7 years agotest_install.py: sort package lists before comparing 1192/head
Nathan Cutler [Mon, 13 Aug 2018 17:34:42 +0000 (19:34 +0200)]
test_install.py: sort package lists before comparing

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agointernal/syslog: whitelist ceph-crash daemon messages 1201/head
Dan Mick [Sat, 11 Aug 2018 01:00:20 +0000 (18:00 -0700)]
internal/syslog: whitelist ceph-crash daemon messages

None of these should cause test failures.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #1046 from smithfarm/wip-run-py
Gregory Farnum [Wed, 8 Aug 2018 20:44:11 +0000 (13:44 -0700)]
Merge pull request #1046 from smithfarm/wip-run-py

run.py: Provide --os-{type,version} values to get_initial_tasks

7 years agoMerge pull request #1001 from SUSE/wip-18141
Gregory Farnum [Wed, 8 Aug 2018 20:43:40 +0000 (13:43 -0700)]
Merge pull request #1001 from SUSE/wip-18141

platform.linux_distribution() is deprecated; stop using it

7 years agoMerge pull request #1200 from tchaikov/wip-rerun-fix
Kefu Chai [Tue, 7 Aug 2018 16:46:13 +0000 (00:46 +0800)]
Merge pull request #1200 from tchaikov/wip-rerun-fix

suite,report: initialize seed with None

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #1199 from tchaikov/pytest-requires-pluggy-v0.7
Kefu Chai [Tue, 7 Aug 2018 16:28:09 +0000 (00:28 +0800)]
Merge pull request #1199 from tchaikov/pytest-requires-pluggy-v0.7

setup,py,requirements.txt: add pytest

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agosuite,report: initialize seed with None 1200/head
Kefu Chai [Tue, 7 Aug 2018 16:23:18 +0000 (16:23 +0000)]
suite,report: initialize seed with None

so we can set it if it is not initialized

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agosetup,py,requirements.txt: add pytest 1199/head
Kefu Chai [Sat, 4 Aug 2018 00:42:02 +0000 (00:42 +0000)]
setup,py,requirements.txt: add pytest

pytest requires pluggy >= 0.7, while we always use pluggy 0.6, as
specified by requirements.txt. as this version is good enough for
tox. but in tox.ini, we do use pytest, and no version is specified,
so we have good chance running into https://github.com/pytest-dev/pytest/issues/3753

also, remove pytest from tox.ini, as this dependency has been
added in requirements.txt

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1197 from tchaikov/wip-str.replace
Kefu Chai [Sat, 4 Aug 2018 00:17:12 +0000 (08:17 +0800)]
Merge pull request #1197 from tchaikov/wip-str.replace

task/install: str.replace() does not keyword args

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agotask/install: str.replace() does not keyword args 1197/head
Kefu Chai [Fri, 3 Aug 2018 13:09:39 +0000 (21:09 +0800)]
task/install: str.replace() does not keyword args

In [8]: ?s.replace
Docstring:
S.replace(old, new[, count]) -> str

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall: make exclude_packages distro-agnostic (in a limited way)
Nathan Cutler [Wed, 1 Aug 2018 14:50:54 +0000 (16:50 +0200)]
install: make exclude_packages distro-agnostic (in a limited way)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoinstall: support extra_system_packages config option
Nathan Cutler [Fri, 20 Jul 2018 15:18:26 +0000 (17:18 +0200)]
install: support extra_system_packages config option

On DEB systems, packages specified via the extra_packages option are installed
while forcing the same package version number as the version of the project
(i.e. Ceph) under test. So extra_packages can only be used to specify
additional project (Ceph) packages.

If we wanted to specify additional system (non-project, non-Ceph) packages to
install, we were out of luck. This commit implements an extra_system_packages
option for specifying extra non-project packages.

Fixes: http://tracker.ceph.com/issues/25026
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoinstall: make extra_packages distro-agnostic (in a limited way)
Nathan Cutler [Fri, 20 Jul 2018 14:20:31 +0000 (16:20 +0200)]
install: make extra_packages distro-agnostic (in a limited way)

Where "distro-agnostic (in a limited way)" means: allow the user to specify
different lists for DEB and RPM.

This fix does not address the case when two RPM distros, or two DEB distros,
have different names for a given package/capability.

Fixes: http://tracker.ceph.com/issues/25020
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #1196 from tchaikov/wip-rerun-fix
Zack Cerza [Mon, 30 Jul 2018 15:54:04 +0000 (09:54 -0600)]
Merge pull request #1196 from tchaikov/wip-rerun-fix

report: strip space and quotes from parsed message

7 years agoreport: strip space and qutoes from parsed message 1196/head
Kefu Chai [Fri, 27 Jul 2018 15:54:04 +0000 (23:54 +0800)]
report: strip space and qutoes from parsed message

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #1195 from ceph/revert-1090-wip-upgrade-equal
Zack Cerza [Wed, 25 Jul 2018 22:19:01 +0000 (16:19 -0600)]
Merge pull request #1195 from ceph/revert-1090-wip-upgrade-equal

Revert "[DNM] upgrade check: upgrade to same version is a noop"

7 years agoRevert "[DNM] upgrade check: upgrade to same version is a noop" 1195/head
Zack Cerza [Wed, 25 Jul 2018 22:18:36 +0000 (16:18 -0600)]
Revert "[DNM] upgrade check: upgrade to same version is a noop"

7 years agoMerge pull request #1090 from smithfarm/wip-upgrade-equal
Zack Cerza [Wed, 25 Jul 2018 22:18:18 +0000 (16:18 -0600)]
Merge pull request #1090 from smithfarm/wip-upgrade-equal

[DNM] upgrade check: upgrade to same version is a noop

7 years agoMerge pull request #1193 from adamwg/handle-branches-with-slashes
Zack Cerza [Tue, 24 Jul 2018 00:13:29 +0000 (18:13 -0600)]
Merge pull request #1193 from adamwg/handle-branches-with-slashes

Handle branch names containing slashes

7 years agoHandle branch names containing slashes 1193/head
Adam Wolfe Gordon [Mon, 23 Jul 2018 21:29:33 +0000 (15:29 -0600)]
Handle branch names containing slashes

A branch name containing a slash is perfectly legal in git, but
teuthology uses branch names verbatim in run names, which causes POSTs
to fail when submitting runs to paddles. Replace all '/' in run names
with ':' to allow for branches with slashes in their names.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
7 years agoorchestra/opsys: support openSUSE Leap 1001/head
Nathan Cutler [Sat, 21 Jul 2018 16:01:46 +0000 (18:01 +0200)]
orchestra/opsys: support openSUSE Leap

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agotests/opsys: add more OS.from_os_release test cases
Nathan Cutler [Sat, 21 Jul 2018 15:13:19 +0000 (17:13 +0200)]
tests/opsys: add more OS.from_os_release test cases

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoorchestra/opsys: add new distros to codenames map
Nathan Cutler [Sat, 21 Jul 2018 14:52:50 +0000 (16:52 +0200)]
orchestra/opsys: add new distros to codenames map

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoplatform.linux_distribution() is deprecated; stop using it
Nathan Cutler [Thu, 15 Dec 2016 22:57:57 +0000 (23:57 +0100)]
platform.linux_distribution() is deprecated; stop using it

Fixes: http://tracker.ceph.com/issues/18141
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #1191 from ceph/wip-ansible-default
Yuri Weinstein [Fri, 20 Jul 2018 15:41:39 +0000 (08:41 -0700)]
Merge pull request #1191 from ceph/wip-ansible-default

default ansible to 2.5 as per ceph-ansible requirements

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agodefault ansible to 2.5 as per ceph-ansible requirements for ceph master branch testing. 1191/head
Vasu Kulkarni [Thu, 19 Jul 2018 18:05:05 +0000 (11:05 -0700)]
default ansible to 2.5 as per ceph-ansible requirements for ceph master branch testing.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge pull request #1189 from tchaikov/wip-fix-rerun
Josh Durgin [Tue, 17 Jul 2018 20:23:52 +0000 (13:23 -0700)]
Merge pull request #1189 from tchaikov/wip-fix-rerun

results,schedule,woker: persist --seed and --subset in results.log

Reviewed-by: Warren Usui <wusui@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #1190 from ceph/install_nfs_ganesha_with_ceph-ansible
vasukulkarni [Tue, 10 Jul 2018 17:37:28 +0000 (10:37 -0700)]
Merge pull request #1190 from ceph/install_nfs_ganesha_with_ceph-ansible

added nfs-ganesha to roles

7 years agoadded nfs-ganesha to roles 1190/head
rakesh [Tue, 10 Jul 2018 16:45:09 +0000 (22:15 +0530)]
added nfs-ganesha to roles

7 years agotest: '$' is not removed from path even if triggers random tests 1189/head
Kefu Chai [Mon, 9 Jul 2018 12:39:04 +0000 (20:39 +0800)]
test: '$' is not removed from path even if triggers random tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoresults,schedule,woker: persist --seed and --subset in results.log
Kefu Chai [Mon, 9 Jul 2018 06:15:12 +0000 (14:15 +0800)]
results,schedule,woker: persist --seed and --subset in results.log

to create a repeatable test suite, in addition to `--seed <SEED>`, we also
need to pass the same `--subset <SUBSET>` to teuthology-suite when
rerunning the failed tests. but it would be handy if teuthology-suite
could remember these settings and recall them when `--rerun <RUN>`.

in this change, we repurpose the last job sending the email to report
the test result to note down the subset and seed used for scheduling the
test suite. these variables are stored in results.log at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #1186 into master
Patrick Donnelly [Mon, 9 Jul 2018 04:01:16 +0000 (21:01 -0700)]
Merge PR #1186 into master

* refs/pull/1186/head:
ceph.conf.template: drop cephfs configs

Reviewed-by: Zheng Yan <zyan@redhat.com>