]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
3 months agobootstrap: Drop lsb_release support uv 2081/head
Zack Cerza [Tue, 16 Sep 2025 22:57:13 +0000 (16:57 -0600)]
bootstrap: Drop lsb_release support

And also drop an unnecessary tr invocation.

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agobootstrap: fix suse family deps
Kyr Shatskyy [Tue, 9 Sep 2025 20:29:19 +0000 (22:29 +0200)]
bootstrap: fix suse family deps

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
3 months agoteuthology/Dockerfile: add env setuptools-scm version
Kyr Shatskyy [Wed, 28 May 2025 19:37:05 +0000 (21:37 +0200)]
teuthology/Dockerfile: add env setuptools-scm version

Because the teuthology code is building in container after
copying source code from local directory, but no corresponding
git repo copied, the setuptools-scm cannot determine teuthology
version. So in order to produce the package we just provide dummy
version 0.0.0 using environment variable:

  SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TEUTHOLOGY

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
3 months agopyproject.toml: use setuptools-scm for uv
Kyr Shatskyy [Mon, 19 May 2025 16:57:58 +0000 (18:57 +0200)]
pyproject.toml: use setuptools-scm for uv

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
3 months agotox: Use uv to run pytest and sphinx
Zack Cerza [Tue, 9 Sep 2025 03:27:27 +0000 (21:27 -0600)]
tox: Use uv to run pytest and sphinx

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoFix errors reported by ruff
Zack Cerza [Tue, 9 Sep 2025 03:19:23 +0000 (21:19 -0600)]
Fix errors reported by ruff

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoDrop flake8 in favor of ruff
Zack Cerza [Tue, 9 Sep 2025 03:18:55 +0000 (21:18 -0600)]
Drop flake8 in favor of ruff

For now, use a very narrow ruleset. We should expand to use more later.

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agobootstrap: Fix shellcheck warnings
Zack Cerza [Mon, 8 Sep 2025 22:49:43 +0000 (16:49 -0600)]
bootstrap: Fix shellcheck warnings

3 months agoUpdate install doc to cover uv
Zack Cerza [Thu, 10 Apr 2025 19:22:27 +0000 (13:22 -0600)]
Update install doc to cover uv

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoUse uv's venv path
Zack Cerza [Thu, 10 Apr 2025 19:22:33 +0000 (13:22 -0600)]
Use uv's venv path

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agocontainers: Install pipx
Zack Cerza [Thu, 10 Apr 2025 19:22:31 +0000 (13:22 -0600)]
containers: Install pipx

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoSimplify bootstrap script
Zack Cerza [Thu, 10 Apr 2025 19:22:24 +0000 (13:22 -0600)]
Simplify bootstrap script

Much of this is simply removing things we don't have to be doing now that we're
using uv. It also consolidates the different sections for RPM-based distros.

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoUpdate gevent
Zack Cerza [Thu, 10 Apr 2025 19:22:10 +0000 (13:22 -0600)]
Update gevent

To a version that support python 3.13

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agotox: Use tox-uv
Zack Cerza [Thu, 10 Apr 2025 19:22:07 +0000 (13:22 -0600)]
tox: Use tox-uv

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoDrop pip-tools
Zack Cerza [Thu, 10 Apr 2025 19:22:05 +0000 (13:22 -0600)]
Drop pip-tools

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoReplace pip with uv
Zack Cerza [Thu, 10 Apr 2025 19:22:03 +0000 (13:22 -0600)]
Replace pip with uv

Signed-off-by: Zack Cerza <zack@cerza.org>
3 months agoMerge pull request #2037 from ceph/suite-distro
Zack Cerza [Thu, 6 Nov 2025 23:07:39 +0000 (16:07 -0700)]
Merge pull request #2037 from ceph/suite-distro

suite: Filter YAML fragments for distro, version

3 months agoMerge pull request #2089 from ceph/ulrif
Zack Cerza [Thu, 6 Nov 2025 23:05:28 +0000 (16:05 -0700)]
Merge pull request #2089 from ceph/ulrif

lock.ops.lock_many: Unlock on reimage failure

3 months agoMerge pull request #2103 from ceph/wip-extra-system-packages-fixup
kyr [Tue, 4 Nov 2025 16:11:10 +0000 (17:11 +0100)]
Merge pull request #2103 from ceph/wip-extra-system-packages-fixup

task/install: extra_system_packages at the top level can be a list

3 months agotask/install: don't attempt to handle strings for extra_system_packages 2103/head
Ilya Dryomov [Tue, 4 Nov 2025 12:02:46 +0000 (13:02 +0100)]
task/install: don't attempt to handle strings for extra_system_packages

To the best of my knowledge, extra_system_packages has never accepted
a string as a value -- whether at the top level (i.e. on the install
task itself) or on a particular project (e.g. ceph).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 months agotask/install: extra_system_packages at the top level can be a list
Ilya Dryomov [Tue, 4 Nov 2025 12:02:46 +0000 (13:02 +0100)]
task/install: extra_system_packages at the top level can be a list

Commit fc5a3197f22e ("task/install: allow both list and dicts for
extra_system_packages") introduced a regression for job definitions
where extra_system_packages at the top level (i.e. on the install
task itself) is a list.  For example

  overrides:
    install:
      ceph:
        flavor: default
        sha1: b7d57fefbec68934ae5e6e7d7c48ac09182397a5
      extra_system_packages:
      - pv

produces AssertionError on

  assert isinstance(b, dict)

in deep_merge() when it's called from _override_extra_system_packages().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 months agoMerge pull request #2099 from kshtsk/wip-packaging-tests
Zack Cerza [Mon, 27 Oct 2025 19:10:43 +0000 (13:10 -0600)]
Merge pull request #2099 from kshtsk/wip-packaging-tests

Fix packaging tests for rocky and friends

4 months agoorchestra/test: drop opensuse 42.2 from opsys 2099/head
Kyrylo Shatskyy [Sat, 25 Oct 2025 01:05:02 +0000 (03:05 +0200)]
orchestra/test: drop opensuse 42.2 from opsys

Signed-off-by: Kyrylo Shatskyy <kyrylo.shatskyy@gmail.com>
4 months agopackaging: fix test for distro version
Kyrylo Shatskyy [Sat, 25 Oct 2025 00:37:14 +0000 (02:37 +0200)]
packaging: fix test for distro version

Signed-off-by: Kyrylo Shatskyy <kyrylo.shatskyy@clyso.com>
4 months agoorchestra/opsys: update suse related versions
Kyrylo Shatskyy [Sat, 25 Oct 2025 00:23:14 +0000 (02:23 +0200)]
orchestra/opsys: update suse related versions

Signed-off-by: Kyrylo Shatskyy <kyrylo.shatskyy@clyso.com>
4 months agoMerge pull request #2096 from ceph/wip-greg-rocky wip-sjust-rocky-10-suite
David Galloway [Fri, 24 Oct 2025 23:01:23 +0000 (19:01 -0400)]
Merge pull request #2096 from ceph/wip-greg-rocky

cargo-cult some packaging updates for rocky

4 months agocargo-cult some packaging updates for rocky wip-greg-rocky 2096/head
Greg Farnum [Fri, 24 Oct 2025 16:32:10 +0000 (16:32 +0000)]
cargo-cult some packaging updates for rocky

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4 months agoMerge pull request #2084 from kshtsk/wip-install-repos-rpm
kyr [Wed, 22 Oct 2025 19:29:26 +0000 (21:29 +0200)]
Merge pull request #2084 from kshtsk/wip-install-repos-rpm

support install repos for rpm

4 months agoMerge pull request #2092 from kshtsk/wip-extra-system-packages
Zack Cerza [Wed, 22 Oct 2025 16:27:52 +0000 (10:27 -0600)]
Merge pull request #2092 from kshtsk/wip-extra-system-packages

task/install: allow both list and dicts for extra_system_packages

4 months agotask/install: allow both list and dicts for extra_system_packages 2092/head
Kyr Shatskyy [Wed, 15 Oct 2025 22:41:21 +0000 (00:41 +0200)]
task/install: allow both list and dicts for extra_system_packages

Fixes: https://tracker.ceph.com/issues/73527
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
4 months agoMerge pull request #2088 from deepssin/openstack_config
Zack Cerza [Wed, 8 Oct 2025 16:17:55 +0000 (10:17 -0600)]
Merge pull request #2088 from deepssin/openstack_config

Fix: handle attached_volumes field when fetching volumes from openstack

4 months agoOpenstack: handle attached_volumes field when fetching volumes 2088/head
deepssin [Thu, 25 Sep 2025 11:22:32 +0000 (07:22 -0400)]
Openstack: handle attached_volumes field when fetching volumes

Some clouds use attached_volumes instead of os-extended-volumes:volumes_attached

Signed-off-by: deepssin <deepssin@redhat.com>
4 months agoMerge pull request #2090 from dmick/increase-power-status-timeout
Dan Mick [Mon, 29 Sep 2025 19:46:26 +0000 (12:46 -0700)]
Merge pull request #2090 from dmick/increase-power-status-timeout

orchestra/console.py: increase 'power status' timeout

4 months agoorchestra/console.py: increase 'power status' timeout 2090/head
Dan Mick [Mon, 29 Sep 2025 17:29:39 +0000 (10:29 -0700)]
orchestra/console.py: increase 'power status' timeout

in set_power() we check to see if the power operation worked by
examining ipmi power status.  Give longer than 1s for the
status command to complete.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
5 months agosuite.run: Fix parent commit search suite-distro 2037/head
Zack Cerza [Tue, 8 Jul 2025 19:14:37 +0000 (13:14 -0600)]
suite.run: Fix parent commit search

We were only looking in ceph.git; look in e.g. ceph-ci.git if that is the ceph
repo being tested.

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agosuite: Filter YAML fragments for distro, version
Zack Cerza [Thu, 20 Mar 2025 21:02:44 +0000 (15:02 -0600)]
suite: Filter YAML fragments for distro, version

The behavior of --distro{,-version} was never well-defined. With this change,
they can independently be used to provide a default for jobs which don't
otherwise specify a value; and more importantly, perform a post-merge filter
looking at each job's values, rejecting those which don't match. This behavior
should be more intuitive and more easy to understand.

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agoMerge pull request #2086 from ceph/os-opt
Zack Cerza [Wed, 17 Sep 2025 16:18:41 +0000 (10:18 -0600)]
Merge pull request #2086 from ceph/os-opt

openstack: Do not immediately throw ImportError

5 months agoorchestra/test: Ignore configured ssh key os-opt 2086/head
Zack Cerza [Tue, 9 Sep 2025 23:03:34 +0000 (17:03 -0600)]
orchestra/test: Ignore configured ssh key

This removes false negatives when a user has configued an ssh key.

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agoopenstack: Do not immediately throw ImportError
Zack Cerza [Tue, 9 Sep 2025 23:01:50 +0000 (17:01 -0600)]
openstack: Do not immediately throw ImportError

We would rather not have openstacksdk be a requirement for all installs, since
most do not use it. This change will not disturb people who install the
openstack extra, which pulls in that and other packages.

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agosupervisor.reimage: Change error message wording ulrif 2089/head
Zack Cerza [Mon, 15 Sep 2025 17:26:11 +0000 (11:26 -0600)]
supervisor.reimage: Change error message wording

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agolock.ops.lock_many: Unlock on reimage failure
Zack Cerza [Mon, 15 Sep 2025 17:25:39 +0000 (11:25 -0600)]
lock.ops.lock_many: Unlock on reimage failure

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agotask/install/rpm: don't use builder when using custom repos 2084/head
Kyr Shatskyy [Thu, 4 Sep 2025 22:07:06 +0000 (00:07 +0200)]
task/install/rpm: don't use builder when using custom repos

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
5 months agotask/install/rpm: add/remove yum repos
Kyr Shatskyy [Wed, 3 Sep 2025 21:14:52 +0000 (23:14 +0200)]
task/install/rpm: add/remove yum repos

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
5 months agoorchestra/opsys: alma and rocky are rpm distro
Kyr Shatskyy [Wed, 3 Sep 2025 11:22:40 +0000 (13:22 +0200)]
orchestra/opsys: alma and rocky are rpm distro

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
5 months agoMerge pull request #2080 from kshtsk/wip-downburst-defaults 1.2.2
Zack Cerza [Tue, 9 Sep 2025 19:48:34 +0000 (13:48 -0600)]
Merge pull request #2080 from kshtsk/wip-downburst-defaults

Update downburst defaults

5 months agotest: update test_bad_version 2080/head
Kyr Shatskyy [Tue, 9 Sep 2025 11:54:15 +0000 (13:54 +0200)]
test: update test_bad_version

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
5 months agoprovision/downburst: update tests respecting latest defaults
Kyr Shatskyy [Tue, 9 Sep 2025 08:57:42 +0000 (10:57 +0200)]
provision/downburst: update tests respecting latest defaults

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
5 months agoorchestra/remote: fix f-string rendering
Kyr Shatskyy [Fri, 5 Sep 2025 12:05:53 +0000 (14:05 +0200)]
orchestra/remote: fix f-string rendering

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
5 months agoprovision/downburst: update defaults for supported distros
Kyr Shatskyy [Fri, 5 Sep 2025 11:14:21 +0000 (13:14 +0200)]
provision/downburst: update defaults for supported distros

Update defaults for the supported os_type/os_version and
instead of always returning default values return the table
received from previous call to `downburst list-json`.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
5 months agoMerge pull request #2082 from ceph/arm64-runners
Zack Cerza [Tue, 9 Sep 2025 19:27:34 +0000 (13:27 -0600)]
Merge pull request #2082 from ceph/arm64-runners

workflows/dev_container: Use native arm64 runners

5 months agosetup.cfg: Restrict gevent to <25 2082/head
Zack Cerza [Tue, 9 Sep 2025 19:03:02 +0000 (13:03 -0600)]
setup.cfg: Restrict gevent to <25

This should work around the hangs we have been seeing in CI.

Signed-off-by: Zack Cerza <zack@cerza.org>
5 months agoworkflows/dev_container: Use native arm64 runners
Zack Cerza [Tue, 9 Sep 2025 18:17:19 +0000 (12:17 -0600)]
workflows/dev_container: Use native arm64 runners

Signed-off-by: Zack Cerza <zack@cerza.org>
6 months agoMerge pull request #2077 from kshtsk/wip-downburst-packages
Zack Cerza [Wed, 27 Aug 2025 21:01:22 +0000 (15:01 -0600)]
Merge pull request #2077 from kshtsk/wip-downburst-packages

Introduce multiple machine type instead of single vps for downburst

6 months agoprovision/downburst: support multiple config per machine_type 2077/head
Kyr Shatskyy [Sun, 24 Aug 2025 12:00:58 +0000 (14:00 +0200)]
provision/downburst: support multiple config per machine_type

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
6 months agodocs/laptop/targets.sql: add semicolon to commit
Kyr Shatskyy [Mon, 25 Aug 2025 13:50:49 +0000 (15:50 +0200)]
docs/laptop/targets.sql: add semicolon to commit

Apparently semicolon needed after transaction,
otherwise it gets stuck in a transaction queue
and locks the table

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
6 months agoMerge pull request #2075 from kshtsk/wip-teuthology-git-url
Zack Cerza [Tue, 26 Aug 2025 16:42:18 +0000 (10:42 -0600)]
Merge pull request #2075 from kshtsk/wip-teuthology-git-url

teuthology/config: add teuthology_git_url option

6 months agoMerge pull request #2072 from ceph/update-gevent
Zack Cerza [Tue, 26 Aug 2025 16:29:56 +0000 (10:29 -0600)]
Merge pull request #2072 from ceph/update-gevent

requirements.txt: Update gevent

6 months agoMerge pull request #2076 from kshtsk/wip-rocky-alma-9.6
kyr [Mon, 25 Aug 2025 21:48:34 +0000 (23:48 +0200)]
Merge pull request #2076 from kshtsk/wip-rocky-alma-9.6

orchestra/opsys: release shift to 9.6 for rocky and alma linux

6 months agoorchestra/opsys: release shift to 9.6 for rocky and alma linux 2076/head
Kyr Shatskyy [Thu, 21 Aug 2025 21:57:54 +0000 (23:57 +0200)]
orchestra/opsys: release shift to 9.6 for rocky and alma linux

The release 9.5 is gone and all files removed on RockyLinux
and AlmaLinux sites, so just update defaults to the latest.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
6 months agoprovision/downburst: install bind-utils for host command on centos
Kyr Shatskyy [Sat, 5 Apr 2025 18:39:16 +0000 (20:39 +0200)]
provision/downburst: install bind-utils for host command on centos

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
6 months agoprovision/downburst: install pip for centos
Kyr Shatskyy [Sat, 5 Apr 2025 16:34:13 +0000 (18:34 +0200)]
provision/downburst: install pip for centos

By some reason, ansible is not install pip3 for centos:

  Unable to find any of pip3 to use.  pip needs to be installed.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
6 months agoteuthology/config: add teuthology_git_url option 2075/head
Kyr Shatskyy [Thu, 21 Aug 2025 08:45:17 +0000 (10:45 +0200)]
teuthology/config: add teuthology_git_url option

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
6 months agoMerge pull request #2074 from kshtsk/wip-fix-revive-openstack
kyr [Mon, 18 Aug 2025 11:36:47 +0000 (13:36 +0200)]
Merge pull request #2074 from kshtsk/wip-fix-revive-openstack

setup.cfg: fix teuthology-openstack dependency

6 months agosetup.cfg: fix teuthology-openstack dependency 2074/head
Kyr Shatskyy [Fri, 15 Aug 2025 14:33:59 +0000 (16:33 +0200)]
setup.cfg: fix teuthology-openstack dependency

The PR #2050 "Revive teuthology-openstack" introduced new dependency
after refactoring partly of teuthology.openstack instance classes
to use api instead of command line. However the openstacksdk
added to wrong section options.extras_require.openstack, that
intended to be used for provisioning openstack nodes via libcloud,
which is optional and is not installable by default.

I.e. `pip install -e ".[openstack]"` must be used in order to get it.

However the refactoring forced unconditional openstack requirement.

That's why this dependency should go to options.install_requires in order
to make `pip install -e .` work again.

Fixes: 252ab4f6a44c0d64b1e4cfb2b86e9bf58b5d9ffb
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
6 months agoMerge pull request #2073 from kshtsk/wip-fedora-4x
kyr [Thu, 14 Aug 2025 22:21:25 +0000 (00:21 +0200)]
Merge pull request #2073 from kshtsk/wip-fedora-4x

Fedora 4x

6 months agorequirements.txt: Update gevent update-gevent 2072/head
Zack Cerza [Thu, 14 Aug 2025 19:30:30 +0000 (13:30 -0600)]
requirements.txt: Update gevent

Signed-off-by: Zack Cerza <zack@cerza.org>
6 months agobootstrap: Fedora does not have python3.12 anymore 2073/head
Kyr Shatskyy [Thu, 14 Aug 2025 18:56:02 +0000 (20:56 +0200)]
bootstrap: Fedora does not have python3.12 anymore

Latest Fedora, 41 and 42, has python3.13 installed
by default, just use python3 to allow use default
version.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
6 months agobootstrap: add -q for rpm --whatprovides
Kyr Shatskyy [Thu, 14 Aug 2025 18:52:20 +0000 (20:52 +0200)]
bootstrap: add -q for rpm --whatprovides

The rpm -q option lost during refactoring which is obviously
needed when requesting the package name.

Fixes: c290c6851a7c10aaa4a5e18e1c14d750c338e339
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
7 months agoMerge pull request #2068 from batrick/jouranlctl-all
Zack Cerza [Fri, 25 Jul 2025 22:53:51 +0000 (16:53 -0600)]
Merge pull request #2068 from batrick/jouranlctl-all

tasks/internal/syslog: gather all journald entries

7 months agoMerge pull request #2070 from deepssin/sec_rule
Zack Cerza [Fri, 25 Jul 2025 22:01:41 +0000 (16:01 -0600)]
Merge pull request #2070 from deepssin/sec_rule

[Openstack]allow all TCP ingress to prevent node communication failures

7 months agoMerge pull request #2069 from deepssin/openstack_issues
Zack Cerza [Fri, 25 Jul 2025 22:00:44 +0000 (16:00 -0600)]
Merge pull request #2069 from deepssin/openstack_issues

Add centos9 stream user data file & add centos9 support to openstack

7 months agoMerge pull request #2067 from kshtsk/wip-remote-resolve-ip
Zack Cerza [Fri, 25 Jul 2025 21:52:38 +0000 (15:52 -0600)]
Merge pull request #2067 from kshtsk/wip-remote-resolve-ip

orchestra/remote: add resolve_ip method

7 months ago[Openstack]allow all TCP ingress to prevent node communication failures 2070/head
deepssin [Thu, 24 Jul 2025 10:28:40 +0000 (06:28 -0400)]
[Openstack]allow all TCP ingress to prevent node communication failures

Signed-off-by: deepssin <deepssin@redhat.com>
7 months agoAdd centos9 stream user data file & add centos9 support to openstack 2069/head
deepssin [Thu, 24 Jul 2025 08:02:24 +0000 (04:02 -0400)]
Add centos9 stream user data file & add centos9 support to openstack

Signed-off-by: deepssin <deepssin@redhat.com>
7 months agocontainers/teuthology-dev/Dockerfile: fix running bootstrap 2067/head
Kyr Shatskyy [Wed, 23 Jul 2025 14:03:35 +0000 (16:03 +0200)]
containers/teuthology-dev/Dockerfile: fix running bootstrap

The `git config --unset` returns 5 if there is missing variable supposed
to be unset. Just always return true for this command so the bootstrap
can proceed.

Fixes: 7cc6ba4838150acd17649381313093185075ecb0
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
7 months agobootstrap: fix syntax error
Kyr Shatskyy [Wed, 23 Jul 2025 13:23:48 +0000 (15:23 +0200)]
bootstrap: fix syntax error

This patch addresses the error in the logs, like this:

  Using python: python3.12
  /usr/bin/lsb_release
  Deleting existing virtual environment
  Creating new venv at ./virtualenv
  ./bootstrap: line 131: [: missing `]'
  ./bootstrap: line 131: 12: command not found

Fixes: 0b5a5bc629180cf5318b77a8ecb4c131abbd057d
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
7 months agoworkflows/dependencies: apt update
Kyr Shatskyy [Fri, 18 Jul 2025 15:29:10 +0000 (17:29 +0200)]
workflows/dependencies: apt update

Update before bootstrap

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
7 months agoorchestra/remote: add resolve_ip method
Kyr Shatskyy [Wed, 19 Mar 2025 13:49:51 +0000 (14:49 +0100)]
orchestra/remote: add resolve_ip method

Add utility method to resolve a hostname from within remote host.
This is useful to resolve ip address of the remote host itself,
because getting ip address from transport object of ssh is not
suitable because it may have only bastion host and port, which
is not relevant for the purpose of configuring a cluster.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
7 months agotask/internal/syslog: parallelize and debugify gzip of syslogs jouranlctl-all 2068/head
Patrick Donnelly [Mon, 21 Jul 2025 15:49:32 +0000 (11:49 -0400)]
task/internal/syslog: parallelize and debugify gzip of syslogs

To match what we do for the ceph task.

Looks like:

    2025-07-21T17:04:25.354 INFO:teuthology.task.internal.syslog:Compressing syslogs...
    2025-07-21T17:04:25.354 DEBUG:teuthology.orchestra.run.smithi117:> find /home/ubuntu/cephtest/archive/syslog -name '*.log' -print0 | sudo xargs -0 --max-args=1 --max-procs=0 --verbose --no-run-if-empty -- gzip -5 --verbose --
    2025-07-21T17:04:25.357 DEBUG:teuthology.orchestra.run.smithi142:> find /home/ubuntu/cephtest/archive/syslog -name '*.log' -print0 | sudo xargs -0 --max-args=1 --max-procs=0 --verbose --no-run-if-empty -- gzip -5 --verbose --
    2025-07-21T17:04:25.359 DEBUG:teuthology.orchestra.run.smithi186:> find /home/ubuntu/cephtest/archive/syslog -name '*.log' -print0 | sudo xargs -0 --max-args=1 --max-procs=0 --verbose --no-run-if-empty -- gzip -5 --verbose --
    2025-07-21T17:04:25.380 INFO:teuthology.orchestra.run.smithi117.stderr:gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/misc.log
    2025-07-21T17:04:25.380 INFO:teuthology.orchestra.run.smithi117.stderr:gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/kern.log
    2025-07-21T17:04:25.380 INFO:teuthology.orchestra.run.smithi117.stderr:/home/ubuntu/cephtest/archive/syslog/misc.log:   gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/journalctl.log
    2025-07-21T17:04:25.381 INFO:teuthology.orchestra.run.smithi117.stderr:  0.0% -- replaced with /home/ubuntu/cephtest/archive/syslog/misc.log.gz
    2025-07-21T17:04:25.381 INFO:teuthology.orchestra.run.smithi117.stderr:/home/ubuntu/cephtest/archive/syslog/kern.log:     0.0% -- replaced with /home/ubuntu/cephtest/archive/syslog/kern.log.gz
    2025-07-21T17:04:25.385 INFO:teuthology.orchestra.run.smithi142.stderr:gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/misc.log
    2025-07-21T17:04:25.385 INFO:teuthology.orchestra.run.smithi142.stderr:gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/kern.log
    2025-07-21T17:04:25.385 INFO:teuthology.orchestra.run.smithi142.stderr:/home/ubuntu/cephtest/archive/syslog/misc.log:   gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/journalctl.log
    2025-07-21T17:04:25.385 INFO:teuthology.orchestra.run.smithi142.stderr:  0.0% -- replaced with /home/ubuntu/cephtest/archive/syslog/misc.log.gz
    2025-07-21T17:04:25.385 INFO:teuthology.orchestra.run.smithi142.stderr:/home/ubuntu/cephtest/archive/syslog/kern.log:     0.0% -- replaced with /home/ubuntu/cephtest/archive/syslog/kern.log.gz
    2025-07-21T17:04:25.386 INFO:teuthology.orchestra.run.smithi186.stderr:gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/misc.log
    2025-07-21T17:04:25.387 INFO:teuthology.orchestra.run.smithi186.stderr:gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/kern.log
    2025-07-21T17:04:25.387 INFO:teuthology.orchestra.run.smithi186.stderr:gzip -5 --verbose -- /home/ubuntu/cephtest/archive/syslog/journalctl.log
    2025-07-21T17:04:25.387 INFO:teuthology.orchestra.run.smithi186.stderr:/home/ubuntu/cephtest/archive/syslog/misc.log:     0.0% -- replaced with /home/ubuntu/cephtest/archive/syslog/misc.log.gz
    2025-07-21T17:04:25.387 INFO:teuthology.orchestra.run.smithi186.stderr:/home/ubuntu/cephtest/archive/syslog/kern.log:     0.0% -- replaced with /home/ubuntu/cephtest/archive/syslog/kern.log.gz
    2025-07-21T17:04:25.423 INFO:teuthology.orchestra.run.smithi142.stderr:/home/ubuntu/cephtest/archive/syslog/journalctl.log:      88.4% -- replaced with /home/ubuntu/cephtest/archive/syslog/journalctl.log.gz
    2025-07-21T17:04:25.426 INFO:teuthology.orchestra.run.smithi186.stderr:/home/ubuntu/cephtest/archive/syslog/journalctl.log:      88.5% -- replaced with /home/ubuntu/cephtest/archive/syslog/journalctl.log.gz
    2025-07-21T17:04:25.502 INFO:teuthology.orchestra.run.smithi117.stderr:/home/ubuntu/cephtest/archive/syslog/journalctl.log:      90.5% -- replaced with /home/ubuntu/cephtest/archive/syslog/journalctl.log.gz

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 months agotask/internal/syslog: gzip journal along with everything else
Patrick Donnelly [Mon, 21 Jul 2025 13:42:36 +0000 (09:42 -0400)]
task/internal/syslog: gzip journal along with everything else

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 months agotasks/internal/syslog: gather all journald entries
Patrick Donnelly [Mon, 21 Jul 2025 13:39:03 +0000 (09:39 -0400)]
tasks/internal/syslog: gather all journald entries

Soemtimes a machine crashes during tests and log entries around that time are
not persisted because we're only looking at this boot.

(This choice seem odd since the lifetime of these operating system images is
the same as the teuthology run.)

Now looks like:

    2025-07-21T15:01:22.249 INFO:teuthology.task.internal.syslog:Gathering journactl...
    2025-07-21T15:01:22.250 DEBUG:teuthology.orchestra.run.smithi045:> sudo journalctl > /home/ubuntu/cephtest/archive/syslog/journalctl.log
    2025-07-21T15:01:22.254 DEBUG:teuthology.orchestra.run.smithi083:> sudo journalctl > /home/ubuntu/cephtest/archive/syslog/journalctl.log
    2025-07-21T15:01:22.256 DEBUG:teuthology.orchestra.run.smithi184:> sudo journalctl > /home/ubuntu/cephtest/archive/syslog/journalctl.log

From: /teuthology/pdonnell-2025-07-21_14:01:58-fs-main-distro-default-smithi/8399938/teuthology.log

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 months agoMerge pull request #2066 from deepssin/issue-72055
Zack Cerza [Wed, 16 Jul 2025 16:19:55 +0000 (10:19 -0600)]
Merge pull request #2066 from deepssin/issue-72055

Add openstack dependencies in docs/requirements

7 months agoAdd openstack dependencies in docs/requirements 2066/head
deepssin [Wed, 16 Jul 2025 10:49:17 +0000 (06:49 -0400)]
Add openstack dependencies in docs/requirements

Signed-off-by: deepssin <deepssin@redhat.com>
7 months agoMerge pull request #2065 from ceph/job-flavor
Zack Cerza [Mon, 14 Jul 2025 22:59:29 +0000 (16:59 -0600)]
Merge pull request #2065 from ceph/job-flavor

Add flavor to job yaml (at Job creation)

7 months agoMerge pull request #2064 from ceph/run-dev-container-ci
Zack Cerza [Mon, 14 Jul 2025 22:57:32 +0000 (16:57 -0600)]
Merge pull request #2064 from ceph/run-dev-container-ci

ci: run dev_container build for PRs

7 months agoci: run dev_container build for PRs 2064/head
Vallari Agrawal [Thu, 10 Jul 2025 06:30:08 +0000 (12:00 +0530)]
ci: run dev_container build for PRs

Build the image for PRs but do not push.
For pushes to main branch, push to registery.

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
7 months agoAdd flavor to job yaml (at Job creation) 2065/head
Vallari Agrawal [Fri, 11 Jul 2025 14:16:22 +0000 (19:46 +0530)]
Add flavor to job yaml (at Job creation)

Currently, when creating jobs, paddles
does not get Job.flavor information.
This leads to "flavor" getting set only
after the job is completed.

This commit adds "flavor" to job yaml config
so Job.flavor is set when creating jobs.

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
7 months agoMerge pull request #2063 from deepssin/issue-72055
Vallari Agrawal [Fri, 11 Jul 2025 03:32:49 +0000 (09:02 +0530)]
Merge pull request #2063 from deepssin/issue-72055

Add jq and curl to teuthology-dev Dockerfile

7 months agoAdd jq and curl to teuthology-dev Dockerfile 2063/head
deepssin [Thu, 10 Jul 2025 05:58:46 +0000 (01:58 -0400)]
Add jq and curl to teuthology-dev Dockerfile

Signed-off-by: deepssin <deepssin@redhat.com>
7 months agoMerge pull request #2062 from VallariAg/fix-container-image
Zack Cerza [Wed, 9 Jul 2025 17:58:46 +0000 (11:58 -0600)]
Merge pull request #2062 from VallariAg/fix-container-image

containers: set image as ceph.containers.image

7 months agocontainers: set image as ceph.containers.image 2062/head
Vallari Agrawal [Wed, 9 Jul 2025 17:15:24 +0000 (22:45 +0530)]
containers: set image as ceph.containers.image

instead of ceph.image

As cephadm task overrides from here: https://github.com/ceph/ceph/blob/ef15ecb8821fd79e24b046d2812696bd290c8489/qa/tasks/cephadm.py#L2301

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
7 months agoMerge pull request #2061 from ceph/wip-rocky10
David Galloway [Wed, 2 Jul 2025 18:15:44 +0000 (14:15 -0400)]
Merge pull request #2061 from ceph/wip-rocky10

opsys.py: Add Rocky 10

7 months agoMerge pull request #2060 from ceph/wip-base-config-fix
Vallari Agrawal [Wed, 2 Jul 2025 16:43:41 +0000 (22:13 +0530)]
Merge pull request #2060 from ceph/wip-base-config-fix

Fix wrong os-type issue

7 months agoMerge pull request #2050 from deepssin/enable-teuthology-openstack
Zack Cerza [Wed, 2 Jul 2025 16:36:05 +0000 (10:36 -0600)]
Merge pull request #2050 from deepssin/enable-teuthology-openstack

Revive teuthology-openstack

7 months agotests: add unit test test_update_key and test_sha1 wip-base-config-fix 2060/head
Vallari Agrawal [Tue, 1 Jul 2025 15:12:53 +0000 (20:42 +0530)]
tests: add unit test test_update_key and test_sha1

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
7 months agosuite: Add reproducer for issue 71911
Zack Cerza [Mon, 30 Jun 2025 21:02:11 +0000 (15:02 -0600)]
suite: Add reproducer for issue 71911

See: https://tracker.ceph.com/issues/71911

Signed-off-by: Zack Cerza <zack@cerza.org>
(cherry picked from commit be1d157d5a27e5eaaa791f674ee34e25d718ff61)

7 months agosuite/run.py: update sha1 from basic_config to parsed_yaml
Vallari Agrawal [Tue, 1 Jul 2025 14:10:01 +0000 (19:40 +0530)]
suite/run.py: update sha1 from basic_config to parsed_yaml

This is because during backtracking to find
build when using --newest, the new build/suite
sha is updated on basic_config. And job's parsed_yaml
is never updated with new sha.

Fixes: https://tracker.ceph.com/issues/71612
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
7 months agoopsys.py: Add Rocky 10 2061/head
David Galloway [Tue, 1 Jul 2025 14:50:51 +0000 (10:50 -0400)]
opsys.py: Add Rocky 10

Signed-off-by: David Galloway <david.galloway@ibm.com>
7 months agoRevert "teuthology/schedule.py: update parsed_yaml with base_config"
Vallari Agrawal [Tue, 1 Jul 2025 12:26:10 +0000 (17:56 +0530)]
Revert "teuthology/schedule.py: update parsed_yaml with base_config"

This reverts commit 6c356472c37fc4334749d744738ff1ed4ebb031c.

This commit caused a regression: https://tracker.ceph.com/issues/71911

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
8 months agoAdd jq and curl in docker-compose Dockerfile 2050/head
deepssin [Thu, 26 Jun 2025 11:12:41 +0000 (07:12 -0400)]
Add jq and curl in docker-compose Dockerfile

Signed-off-by: deepssin <deepssin@redhat.com>