]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
3 years agostart.sh: Copy config files more consistently
Zack Cerza [Thu, 24 Mar 2022 23:09:59 +0000 (17:09 -0600)]
start.sh: Copy config files more consistently

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Exit after jobs are done
Zack Cerza [Mon, 21 Mar 2022 19:39:57 +0000 (13:39 -0600)]
docker-compose: Exit after jobs are done

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodispatcher: Optionally exit when queue is empty
Zack Cerza [Tue, 22 Mar 2022 01:38:04 +0000 (19:38 -0600)]
dispatcher: Optionally exit when queue is empty

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agosupervisor: Return job's return code
Zack Cerza [Mon, 21 Mar 2022 23:44:34 +0000 (17:44 -0600)]
supervisor: Return job's return code

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoAdd 'integration' GitHub Action
Zack Cerza [Mon, 21 Mar 2022 16:20:57 +0000 (10:20 -0600)]
Add 'integration' GitHub Action

This will use our recent docker-compose work.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agostart.sh: Use current branch by default
Zack Cerza [Mon, 21 Mar 2022 16:47:12 +0000 (10:47 -0600)]
start.sh: Use current branch by default

Since the main use-case for this work at the moment is self-testing
teuthology, let's make it easy to test the same branch that's being
worked on.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoteuthology.sh: Use the teuthology:no-ceph suite
Zack Cerza [Wed, 26 Jan 2022 16:39:10 +0000 (09:39 -0700)]
teuthology.sh: Use the teuthology:no-ceph suite

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotestnode: Install apache2 and nfs
Zack Cerza [Mon, 14 Feb 2022 19:25:11 +0000 (12:25 -0700)]
testnode: Install apache2 and nfs

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose.yml: Force testnode arch
Zack Cerza [Fri, 4 Feb 2022 00:50:41 +0000 (17:50 -0700)]
docker-compose.yml: Force testnode arch

I initially worked on this on an M1 Mac, and that caused problems with
scheduling due to a lack of aarch64 packages. The M1 can run amd64
images, though.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotestnode: Add stop script
Zack Cerza [Fri, 4 Feb 2022 00:04:59 +0000 (17:04 -0700)]
testnode: Add stop script

So that each container marks itself down before stopping.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotestnode.sh: Retry submitting to paddles
Zack Cerza [Fri, 4 Feb 2022 00:03:07 +0000 (17:03 -0700)]
testnode.sh: Retry submitting to paddles

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile-testnode: Switch to Ubuntu
Zack Cerza [Fri, 4 Feb 2022 00:02:21 +0000 (17:02 -0700)]
Dockerfile-testnode: Switch to Ubuntu

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agonuke: In containers, simply kill sshd
Zack Cerza [Wed, 2 Feb 2022 02:07:53 +0000 (19:07 -0700)]
nuke: In containers, simply kill sshd

At least with the testnode containers I'm working on at the moment,
this appears to be the best way to shut them down from inside.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agostart.sh: Copy conf files into container
Zack Cerza [Wed, 26 Jan 2022 16:40:10 +0000 (09:40 -0700)]
start.sh: Copy conf files into container

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose.yml: Use three testnodes
Zack Cerza [Wed, 26 Jan 2022 16:38:50 +0000 (09:38 -0700)]
docker-compose.yml: Use three testnodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile-testnode: Install Python packages
Zack Cerza [Tue, 25 Jan 2022 19:04:15 +0000 (12:04 -0700)]
Dockerfile-testnode: Install Python packages

These are needed by ansible

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoteuthology.sh: Use absolute paths
Zack Cerza [Tue, 25 Jan 2022 18:47:28 +0000 (11:47 -0700)]
teuthology.sh: Use absolute paths

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years ago.gitignore: Ignore more built docs
Zack Cerza [Tue, 25 Jan 2022 18:45:29 +0000 (11:45 -0700)]
.gitignore: Ignore more built docs

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add .dockerignore
Zack Cerza [Tue, 25 Jan 2022 18:44:52 +0000 (11:44 -0700)]
docker-compose: Add .dockerignore

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years ago.teuthology.yaml: Use absolute paths
Zack Cerza [Tue, 25 Jan 2022 18:43:56 +0000 (11:43 -0700)]
.teuthology.yaml: Use absolute paths

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add custom_conf.yaml
Zack Cerza [Thu, 20 Jan 2022 21:23:05 +0000 (14:23 -0700)]
docker-compose: Add custom_conf.yaml

This will be merged into generated job configs.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Split out entrypoint to teuthology.sh
Zack Cerza [Thu, 20 Jan 2022 19:47:47 +0000 (12:47 -0700)]
Dockerfile: Split out entrypoint to teuthology.sh

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add testnode_sudoers
Zack Cerza [Thu, 20 Jan 2022 19:05:17 +0000 (12:05 -0700)]
docker-compose: Add testnode_sudoers

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Perform teuth setup later in process
Zack Cerza [Mon, 17 Jan 2022 21:02:54 +0000 (14:02 -0700)]
Dockerfile: Perform teuth setup later in process

Should greatly reduce the frequency of package installs during image
rebuilds.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Set up SSH client incl. generated key
Zack Cerza [Fri, 14 Jan 2022 22:55:09 +0000 (15:55 -0700)]
Dockerfile: Set up SSH client incl. generated key

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add .teuthology.yaml
Zack Cerza [Wed, 12 Jan 2022 18:45:19 +0000 (11:45 -0700)]
docker-compose: Add .teuthology.yaml

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agostart.sh: Generate an SSH keypair
Zack Cerza [Wed, 12 Jan 2022 18:45:19 +0000 (11:45 -0700)]
start.sh: Generate an SSH keypair

We'll use a fresh keypair for each invocation.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agodocker-compose: Add containerized testnode
Zack Cerza [Wed, 12 Jan 2022 18:45:19 +0000 (11:45 -0700)]
docker-compose: Add containerized testnode

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Run bootstrap during build
Zack Cerza [Fri, 14 Jan 2022 22:56:54 +0000 (15:56 -0700)]
Dockerfile: Run bootstrap during build

This saves quite a bit of time

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoDockerfile: Reformat for better readability
Zack Cerza [Wed, 12 Jan 2022 18:45:19 +0000 (11:45 -0700)]
Dockerfile: Reformat for better readability

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agolock_many: Include username in target keys
Zack Cerza [Fri, 14 Jan 2022 20:21:34 +0000 (13:21 -0700)]
lock_many: Include username in target keys

So that we can actually support different usernames per node.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1731 from kamoltat/wip-sphinx
Zack Cerza [Mon, 28 Mar 2022 21:20:58 +0000 (15:20 -0600)]
Merge pull request #1731 from kamoltat/wip-sphinx

docs/requirements.txt: bump sphinx to 4.4.0

3 years agodocs/requirements.txt: bump sphinx to 4.4.0 1731/head
Kamoltat Sirivadhna [Mon, 28 Mar 2022 20:47:44 +0000 (16:47 -0400)]
docs/requirements.txt: bump sphinx to 4.4.0

bump sphinx to latest stable

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agoMerge pull request #1728 from kamoltat/wip-ksirivad-fix-docker-compose
Kamoltat Sirivadhna [Thu, 24 Mar 2022 14:02:13 +0000 (10:02 -0400)]
Merge pull request #1728 from kamoltat/wip-ksirivad-fix-docker-compose

docs/docker-compose: paddles use quay.io image
Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
3 years agodocs/docker-compose: paddles use quay.io image 1728/head
Kamoltat Sirivadhna [Thu, 24 Mar 2022 05:21:34 +0000 (01:21 -0400)]
docs/docker-compose: paddles use quay.io image

paddles use quay.io

docker-compose.yaml: teuthology depends on healthy
paddles rather pulpito

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agoMerge pull request #1725 from ceph/fix-clock
Zack Cerza [Fri, 18 Mar 2022 22:12:03 +0000 (16:12 -0600)]
Merge pull request #1725 from ceph/fix-clock

task.clock: Fix call to filter_out_containers()

3 years agotask.clock: Fix call to filter_out_containers() 1725/head
Zack Cerza [Fri, 18 Mar 2022 22:02:06 +0000 (16:02 -0600)]
task.clock: Fix call to filter_out_containers()

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1722 from ceph/task-skips-container
Zack Cerza [Fri, 18 Mar 2022 18:13:15 +0000 (12:13 -0600)]
Merge pull request #1722 from ceph/task-skips-container

Skip various operations on containerized testnodes

3 years agonuke: Don't attempt to nuke downed nodes 1722/head
Zack Cerza [Tue, 8 Feb 2022 19:45:47 +0000 (12:45 -0700)]
nuke: Don't attempt to nuke downed nodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.internal.syslog: Skip container nodes
Zack Cerza [Wed, 26 Jan 2022 16:57:01 +0000 (09:57 -0700)]
task.internal.syslog: Skip container nodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.clock: Skip containerized testnodes
Zack Cerza [Tue, 25 Jan 2022 18:20:56 +0000 (11:20 -0700)]
task.clock: Skip containerized testnodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1724 from ceph/update-reqs
Zack Cerza [Thu, 17 Mar 2022 23:03:45 +0000 (17:03 -0600)]
Merge pull request #1724 from ceph/update-reqs

Update some requirements

3 years agoMerge pull request #1720 from ceph/teuth-suite
Zack Cerza [Thu, 17 Mar 2022 18:11:20 +0000 (12:11 -0600)]
Merge pull request #1720 from ceph/teuth-suite

Revive the 'test' task, used by the 'teuthology' suite

3 years agotask.tests Run unit tests 1720/head
Zack Cerza [Thu, 3 Mar 2022 19:44:10 +0000 (12:44 -0700)]
task.tests Run unit tests

In addition to the six tests we were running, let's add the ~six
hundred unit tests we've added over the years.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotest_run: Skip a test if running in teuth process
Zack Cerza [Thu, 3 Mar 2022 21:35:53 +0000 (14:35 -0700)]
test_run: Skip a test if running in teuth process

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoAdd skipif_teuthology_process
Zack Cerza [Fri, 4 Mar 2022 19:08:42 +0000 (12:08 -0700)]
Add skipif_teuthology_process

There are a couple unit tests that seem to be fundamentally unable to
be used properly if they are run as part of a teuthology process, as
opposed to directly inside py.test. This fixture makes it easy to skip
those tests in such an environment without skipping them elsewhere.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.tests: Use job_status module
Zack Cerza [Thu, 3 Mar 2022 21:08:57 +0000 (14:08 -0700)]
task.tests: Use job_status module

Previously this task had an embarrassing "status=fail, success=true"
bug.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoTeuthologyContextPlugin: Parametrize conditionally
Zack Cerza [Thu, 3 Mar 2022 20:22:05 +0000 (13:22 -0700)]
TeuthologyContextPlugin: Parametrize conditionally

So that this plugin can be compatible with our unit tests.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agorequirements: Add mock; update py.test
Zack Cerza [Thu, 3 Mar 2022 20:05:54 +0000 (13:05 -0700)]
requirements: Add mock; update py.test

While it'd be technically more correct to split these out into dev
requirements, I think a little bit of an overhaul of our bootstrap
process overdue. We can save that work for then. For now, this smooths
a kink in the docker-compose work we're doing.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate ansible 1724/head
Zack Cerza [Wed, 16 Mar 2022 21:49:22 +0000 (15:49 -0600)]
Update ansible

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate requests
Zack Cerza [Wed, 16 Mar 2022 21:48:12 +0000 (15:48 -0600)]
Update requests

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate s3transfer
Zack Cerza [Wed, 16 Mar 2022 21:47:56 +0000 (15:47 -0600)]
Update s3transfer

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoUpdate boto3
Zack Cerza [Wed, 16 Mar 2022 21:47:24 +0000 (15:47 -0600)]
Update boto3

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1703 from ceph/wip-53853
Josh Durgin [Wed, 16 Mar 2022 21:53:14 +0000 (14:53 -0700)]
Merge pull request #1703 from ceph/wip-53853

kill: Check if sudo works before using it

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agokill: Check if sudo works before using it 1703/head
Zack Cerza [Wed, 12 Jan 2022 19:21:27 +0000 (12:21 -0700)]
kill: Check if sudo works before using it

Also, use sudo's -n flag to avoid the password prompt and resulting
delay.

Fixes: https://tracker.ceph.com/issues/53853
Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1723 from ceph/wip-standalone
Zack Cerza [Fri, 11 Mar 2022 23:21:25 +0000 (16:21 -0700)]
Merge pull request #1723 from ceph/wip-standalone

fixes for running non-scheduled jobs

3 years agotask/ansible: check for archive before using it 1723/head
Josh Durgin [Mon, 7 Mar 2022 18:47:33 +0000 (18:47 +0000)]
task/ansible: check for archive before using it

Running a non-scheduled job you may not have archiving configured.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
3 years agorun: make fetching tasks work for non-scheduled jobs
Josh Durgin [Mon, 7 Mar 2022 18:34:36 +0000 (18:34 +0000)]
run: make fetching tasks work for non-scheduled jobs

The qa path should be the default (just like it's set by
teuthology-suite), and we actually need to do the import to access the
tasks.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1721 from ceph/more-tox-gha
Kamoltat Sirivadhna [Wed, 9 Mar 2022 17:36:40 +0000 (12:36 -0500)]
Merge pull request #1721 from ceph/more-tox-gha

github actions: Run docs build during CI
Reviewed-by: Zack Cerza zack@redhat.com
3 years agotask.selinux: Exclude container nodes
Zack Cerza [Mon, 17 Jan 2022 23:37:39 +0000 (16:37 -0700)]
task.selinux: Exclude container nodes

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.internal: Skip coredump on containers
Zack Cerza [Mon, 17 Jan 2022 20:38:41 +0000 (13:38 -0700)]
task.internal: Skip coredump on containers

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask/kernel: Skip if running in a container
Zack Cerza [Mon, 17 Jan 2022 19:29:06 +0000 (12:29 -0700)]
task/kernel: Skip if running in a container

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoSkip reimaging on unsupported machine types
Zack Cerza [Fri, 14 Jan 2022 19:50:49 +0000 (12:50 -0700)]
Skip reimaging on unsupported machine types

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agogithub actions: Run docs build during CI 1721/head
Zack Cerza [Fri, 4 Mar 2022 22:29:49 +0000 (15:29 -0700)]
github actions: Run docs build during CI

If we do this, we can drop the Jenkins job. The openstack tests are
currently all skipped, so we can just leave them out for now.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.tests: Fix reference to python binary
Zack Cerza [Wed, 2 Mar 2022 23:39:13 +0000 (16:39 -0700)]
task.tests: Fix reference to python binary

It was trying to use `python` as opposed to `python3`.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.tests: Fix StringIO import
Zack Cerza [Wed, 2 Mar 2022 22:11:54 +0000 (15:11 -0700)]
task.tests: Fix StringIO import

It's in the io module now.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoTeuthologyContextPlugin: Remove pytest_configure()
Zack Cerza [Wed, 2 Mar 2022 23:40:06 +0000 (16:40 -0700)]
TeuthologyContextPlugin: Remove pytest_configure()

The reason for this method's behavior here is no longer valid. Also, it
prevents any output from being logged.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1715 from ceph/pynacl
Josh Durgin [Wed, 2 Mar 2022 18:20:55 +0000 (10:20 -0800)]
Merge pull request #1715 from ceph/pynacl

Update pynacl

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1714 from ceph/ui-connect
Josh Durgin [Wed, 2 Mar 2022 18:19:56 +0000 (10:19 -0800)]
Merge pull request #1714 from ceph/ui-connect

teuthology-update-inventory: Call Remote.connect()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1712 from ceph/remote-is-container
Josh Durgin [Wed, 2 Mar 2022 18:19:07 +0000 (10:19 -0800)]
Merge pull request #1712 from ceph/remote-is-container

Remote: Add is_container property

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #1718 from kamoltat/wip-ksirivad-dispatcher-notes-doc
Kamoltat Sirivadhna [Mon, 28 Feb 2022 16:07:36 +0000 (11:07 -0500)]
Merge pull request #1718 from kamoltat/wip-ksirivad-dispatcher-notes-doc

docs: add dispatcher trouble-shooting notes
Reviewed by: Aishwarya Mathuria <amathuri@redhat.com>

3 years agodocs: add dispatcher trouble-shooting notes 1718/head
Kamoltat Sirivadhna [Mon, 28 Feb 2022 15:15:00 +0000 (10:15 -0500)]
docs: add dispatcher trouble-shooting notes

documenting https://tracker.ceph.com/issues/54366

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agoMerge pull request #1717 from ceph/1716b
David Galloway [Thu, 24 Feb 2022 18:24:01 +0000 (13:24 -0500)]
Merge pull request #1717 from ceph/1716b

selinux.py: Ignore both contexts for NetworkManager_dispatcher_t

3 years agoselinux.py: Ignore both contexts for NetworkManager_dispatcher_t 1717/head
David Galloway [Thu, 24 Feb 2022 16:50:14 +0000 (11:50 -0500)]
selinux.py: Ignore both contexts for NetworkManager_dispatcher_t

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1716 from ceph/54337
Yuri Weinstein [Wed, 23 Feb 2022 16:37:23 +0000 (08:37 -0800)]
Merge pull request #1716 from ceph/54337

selinux.py: Ignore new NetworkManager denials

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoselinux.py: Ignore new NetworkManager denials 1716/head
David Galloway [Tue, 22 Feb 2022 15:04:56 +0000 (10:04 -0500)]
selinux.py: Ignore new NetworkManager denials

Fixes: https://tracker.ceph.com/issues/54337
Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agoMerge pull request #1713 from ceph/ansible-log
Zack Cerza [Thu, 17 Feb 2022 16:57:40 +0000 (09:57 -0700)]
Merge pull request #1713 from ceph/ansible-log

task.ansible: Don't direct task's logging to file

3 years agoMerge pull request #1711 from ceph/cluster-filter
Zack Cerza [Wed, 16 Feb 2022 19:10:47 +0000 (12:10 -0700)]
Merge pull request #1711 from ceph/cluster-filter

Cluster: Add filter() function

3 years agorequirements: Update pynacl 1715/head
Zack Cerza [Thu, 20 Jan 2022 21:58:56 +0000 (14:58 -0700)]
requirements: Update pynacl

This avoids having to compile it from source on
every image build.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoupdate-requirements.sh: Write intermediate file
Zack Cerza [Thu, 20 Jan 2022 21:58:48 +0000 (14:58 -0700)]
update-requirements.sh: Write intermediate file

The previous method was only writing the .txt file; when debugging
dependency issues you'll often want to see the intermediate. I don't
see a reason to not always write it.

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoteuthology-update-inventory: Call Remote.connect() 1714/head
Zack Cerza [Fri, 14 Jan 2022 19:10:14 +0000 (12:10 -0700)]
teuthology-update-inventory: Call Remote.connect()

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoRemote: Add is_container property 1712/head
Zack Cerza [Mon, 17 Jan 2022 19:19:53 +0000 (12:19 -0700)]
Remote: Add is_container property

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agotask.ansible: Don't direct task's logging to file 1713/head
Zack Cerza [Tue, 1 Feb 2022 21:21:39 +0000 (14:21 -0700)]
task.ansible: Don't direct task's logging to file

We only want output generated by ansible itself in ansible.log

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1695 from kshtsk/wip-cluster-run-sync
kyr [Tue, 15 Feb 2022 18:47:57 +0000 (19:47 +0100)]
Merge pull request #1695 from kshtsk/wip-cluster-run-sync

orchestra/cluster: make run parallel and wait

3 years agoCluster: Add filter() function 1711/head
Zack Cerza [Mon, 17 Jan 2022 20:38:10 +0000 (13:38 -0700)]
Cluster: Add filter() function

Signed-off-by: Zack Cerza <zack@redhat.com>
3 years agoMerge pull request #1707 from kamoltat/wip-ksirivad-add-ansible-inventory-docker...
Kamoltat Sirivadhna [Mon, 7 Feb 2022 15:44:15 +0000 (10:44 -0500)]
Merge pull request #1707 from kamoltat/wip-ksirivad-add-ansible-inventory-docker-compose

docs/docker-compose: add ansible inventory to README
Reviewed by: Josh Durgin <jdurgin@redhat.com>

3 years agoMerge PR #1710 into master
Patrick Donnelly [Thu, 3 Feb 2022 14:57:11 +0000 (09:57 -0500)]
Merge PR #1710 into master

* refs/pull/1710/head:
teuthology/task/selinux: ignore sss_cache

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
3 years agoteuthology/task/selinux: ignore sss_cache 1710/head
Patrick Donnelly [Thu, 3 Feb 2022 14:21:30 +0000 (09:21 -0500)]
teuthology/task/selinux: ignore sss_cache

Fixes: https://tracker.ceph.com/issues/54125
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge PR #1708 into master
Patrick Donnelly [Thu, 3 Feb 2022 14:18:14 +0000 (09:18 -0500)]
Merge PR #1708 into master

* refs/pull/1708/head:
opsys.py: Change default CentOS version to 8 Stream

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #1709 from kshtsk/wip-auto-get-mt-for-kill
kyr [Tue, 1 Feb 2022 17:46:32 +0000 (18:46 +0100)]
Merge pull request #1709 from kshtsk/wip-auto-get-mt-for-kill

kill: get machine type from paddles for the run

3 years agokill: get machine type from paddles for the run 1709/head
Kyr Shatskyy [Tue, 1 Feb 2022 16:08:27 +0000 (17:08 +0100)]
kill: get machine type from paddles for the run

When calling kill for a run which is still in beanstalkd
queue there is no job directories created in archive
and there is no way to find out which machine type to use
the teuthology-kill reports that you must manually provide
machine type for the run, which is often borring and quite
inconvenient.

Instead of torturing user to recall a tube for the run name
we just ask paddles if it has anything logged and use the
machine type from what we receive from it.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoopsys.py: Change default CentOS version to 8 Stream 1708/head
David Galloway [Mon, 31 Jan 2022 19:26:27 +0000 (14:26 -0500)]
opsys.py: Change default CentOS version to 8 Stream

8.X is no more

Signed-off-by: David Galloway <dgallowa@redhat.com>
3 years agodocs/docker-compose: add ansible inventory to README 1707/head
Kamoltat [Tue, 25 Jan 2022 01:02:56 +0000 (01:02 +0000)]
docs/docker-compose: add ansible inventory to README

Added instructions that will help users
set up ansible inventory files in after they
built their local teuthology container. This
part is needed when ansible tasks are executed
when jobs are running.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
3 years agoMerge pull request #1706 from batrick/log-warning
Josh Durgin [Mon, 24 Jan 2022 16:01:48 +0000 (08:01 -0800)]
Merge pull request #1706 from batrick/log-warning

teuthology: convert deprecated method name

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoteuthology: convert deprecated method name 1706/head
Patrick Donnelly [Thu, 20 Jan 2022 15:11:48 +0000 (10:11 -0500)]
teuthology: convert deprecated method name

Avoiding this warning:

    /home/runner/work/teuthology/teuthology/teuthology/task/install/__init__.py:285: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #1678 from ceph/wip-ksirivad-move-ansible-log
Zack Cerza [Thu, 20 Jan 2022 00:27:40 +0000 (17:27 -0700)]
Merge pull request #1678 from ceph/wip-ksirivad-move-ansible-log

task/ansible: move ansible logs to ansible.log

3 years agotask/ansible: move ansible logs to ansible.log 1678/head
Kamoltat Sirivadhna [Wed, 22 Sep 2021 19:26:01 +0000 (15:26 -0400)]
task/ansible: move ansible logs to ansible.log

Currently ansible tasks are logging to
teuthology.log. We want to separate this to
it's own log files for better readability.

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agoMerge pull request #1665 from ceph/wip-ksirivad-docker-compose-script
Zack Cerza [Fri, 14 Jan 2022 22:21:20 +0000 (15:21 -0700)]
Merge pull request #1665 from ceph/wip-ksirivad-docker-compose-script

Added dockerfile + docker-compose script dev setup

3 years agoRemoved beanstalkd in teuthology image 1665/head
Kamoltat Sirivadhna [Fri, 14 Jan 2022 22:02:47 +0000 (17:02 -0500)]
Removed beanstalkd in teuthology image

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
3 years agoMoved Dockerfile
Kamoltat Sirivadhna [Fri, 14 Jan 2022 21:11:28 +0000 (16:11 -0500)]
Moved Dockerfile

Moved docker file to:

docs/docker-compose/Dockerfile

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>