Skip to content

tentacle: qa/distros: add ubuntu 24.04 as supported distro/container host - #72064

Merged
batrick merged 17 commits into
ceph:tentaclefrom
batrick:wip-80810-tentacle
Oct 9, 2026
Merged

batrick merged 17 commits into
ceph:tentaclefrom
batrick:wip-80810-tentacle

Conversation

@batrick

@batrick batrick commented Sep 24, 2026

Copy link
Copy Markdown
Member

@batrick
batrick requested review from a team as code owners September 24, 2026 17:03
@batrick batrick added this to the tentacle milestone Sep 24, 2026
@batrick batrick added the tests label Sep 24, 2026
@batrick batrick modified the milestones: tentacle, v20.2.5 Sep 24, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
@batrick

batrick commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

@adamemerson adamemerson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RGW Approved.

@batrick
batrick force-pushed the wip-80810-tentacle branch 2 times, most recently from df0561a to a49e613 Compare September 24, 2026 23:10
@batrick batrick removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
batrick and others added 10 commits October 7, 2026 10:51
Long live cephadm!

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 64e591b)
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 593886c)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit f987d23)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 0948f5a)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 8c31741)
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 6532dd3)

Conflicts:
	qa/suites/rados/upgrade/cephx/X/distro.yaml: unknown why this conflicts
	qa/suites/upgrade/reef-x/.qa: unknown why this conflicts
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 5231fd6)

Conflicts:
	qa/distros/all/ubuntu_24.04.yaml: already brought in by cephx
and add ubuntu_22.04.yaml back to distros/supported and
distros/supported-random-distro$

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit cee6de8)
Signed-off-by: Casey Bodley <[email protected]>
CEPH-BUILD-JOB: ceph-dev-pipeline
DISTROS: noble jammy centos9
ARCHS: x86_64
FLAVORS: default
(cherry picked from commit 04dd6da)
Compared to older distros, this one complains if
you include `-q hostnqn` in the nvme connect command,
saying "Failed to write to /dev/nvme-fabrics: Invalid argument".
Removing that argument gets passed that error and
doesn't seem to have any downsides

Signed-off-by: Adam King <[email protected]>
(cherry picked from commit 17cc03d)
batrick and others added 7 commits October 7, 2026 11:02
Put the release name in the yaml name so it's easy to read from the job
description. "ubuntu_latest" means different things depending on the
Ceph release.

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit e9ef70b)

Conflicts:
	qa/distros/supported-random-distro~HEAD: 22.04 link not present
	qa/suites/ceph-deploy/distros/rpm_latest.yaml: updated to rocky
	qa/suites/rbd/valgrind/rpm_latest.yaml: suite already links to centos9
So we no longer need to install system-wide.

Avoids errors like on Ubuntu 24.04:

    2026-05-24T13:48:19.681 DEBUG:teuthology.orchestra.run.trial043:> python3 -m pip install -r /home/ubuntu/cephtest/cbt/requirements.txt
    2026-05-24T13:48:19.861 INFO:teuthology.orchestra.run.trial043.stderr:error: externally-managed-environment
    2026-05-24T13:48:19.861 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.861 INFO:teuthology.orchestra.run.trial043.stderr:× This environment is externally managed
    2026-05-24T13:48:19.861 INFO:teuthology.orchestra.run.trial043.stderr:╰─> To install Python packages system-wide, try apt install
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    python3-xyz, where xyz is the package you are trying to
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    install.
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    If you wish to install a non-Debian-packaged Python package,
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    create a virtual environment using python3 -m venv path/to/venv.
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    sure you have python3-full installed.
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    If you wish to install a non-Debian packaged Python application,
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    it may be easiest to use pipx install xyz, which will manage a
    2026-05-24T13:48:19.862 INFO:teuthology.orchestra.run.trial043.stderr:    virtual environment for you. Make sure you have pipx installed.
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:    See /usr/share/doc/python3.12/README.venv for more information.
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
    2026-05-24T13:48:19.863 INFO:teuthology.orchestra.run.trial043.stderr:hint: See PEP 668 for the detailed specification.
    2026-05-24T13:48:19.883 DEBUG:teuthology.orchestra.run:got remote process result: 1
    2026-05-24T13:48:19.883 ERROR:teuthology.run_tasks:Saw exception from tasks.
    Traceback (most recent call last):
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/run_tasks.py", line 112, in run_tasks
        manager.__enter__()
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/task/__init__.py", line 122, in __enter__
        self.setup()
      File "/home/teuthworker/src/github.com_ceph_ceph-c_1bc3c25246d3a6fbc360dc78d9b4b51200743391/qa/tasks/cbt.py", line 173, in setup
        self.install_dependencies()
      File "/home/teuthworker/src/github.com_ceph_ceph-c_1bc3c25246d3a6fbc360dc78d9b4b51200743391/qa/tasks/cbt.py", line 112, in install_dependencies
        self.first_mon.run(args=pip_install_cmd)
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/orchestra/remote.py", line 596, in run
        r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/orchestra/run.py", line 461, in run
        r.wait()
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/orchestra/run.py", line 161, in wait
        self._raise_for_status()
      File "/home/teuthworker/src/git.ceph.com_teuthology_3686f8793d626abcf5a0018da0a50786e41fed9d/teuthology/orchestra/run.py", line 181, in _raise_for_status
        raise CommandFailedError(
    teuthology.exceptions.CommandFailedError: Command failed on trial043 with status 1: 'python3 -m pip install -r /home/ubuntu/cephtest/cbt/requirements.txt'

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 614993a)

Conflicts:
	qa/tasks/cbt.py: differing dependencies
nvme list -o json segfaults deterministically on kernel 6.8.0-*
nodes (ubuntu_22.04/24.04), exhausting all 15 safe_while
retries (ceph#69232 lets it retry, but every retry hits the same crash)
and failing smoke-roleless nvme_loop jobs.

This adds a fallback: after 5 consecutive CommandCrashedErrors, skip
nvme list -o json and discover devices via sysfs instead. Each loop
subsystem is connected using the device's basename as its NQN, which
the kernel exposes at /sys/class/nvme/nvmeX/subsysnqn; we match that
against /sys/class/nvme/nvmeX/nvmeXnY to recover the device path, with
no nvme-cli JSON parsing involved.

The existing JSON path is unchanged for nodes where it works normally
— json_failures resets on any success, so the fallback only triggers
on sustained crashes.

https://tracker.ceph.com/issues/77106
Assisted-by: ChatGPT <chatgpt.com>
Signed-off-by: Redouane Kachach <[email protected]>
(cherry picked from commit 01d8ea8)
`nvme_loop.py` falls back to sysfs-based device discovery when `nvme
list -o json` repeatedly crashes.

The existing fallback walks controller-specific paths such as:

```text
/sys/class/nvme/nvmeX/nvmeXnY
```

This is not reliable with native NVMe multipath, where the
user-visible namespace-head device may be exposed separately under
`/sys/class/block` and use a different naming relationship from the
controller path.

As a result, the fallback can return no devices even though the newly
connected NVMe loop devices are already visible through `lsblk`,
eventually causing the task to fail with `MaxWhileTries`.

This change:

* records the existing NVMe namespace devices before creating the loop connections;
* discovers visible namespace-head devices from `/sys/class/block`;
* identifies the new loop devices using the before/after difference;
* excludes partitions and controller-path devices.

The normal `nvme list -o json` path remains unchanged. Only the
fallback discovery path is modified.

https://tracker.ceph.com/issues/77106
Assisted-by: ChatGPT <chatgpt.com>
Signed-off-by: Redouane Kachach <[email protected]>
(cherry picked from commit b51649d)
Restrict sysfs fallback discovery to NVMe namespace heads whose
subsystem NQN matches one of the scratch-device basenames.

This preserves native multipath-compatible discovery while preventing
unrelated NVMe namespaces that appear during setup from being selected
and potentially passed to bluestore_zap().

https://tracker.ceph.com/issues/77106
Assisted-by: ChatGPT <chatgpt.com>
Signed-off-by: Redouane Kachach <[email protected]>
(cherry picked from commit c96a0e1)
Use the kernel NVMe fabrics interface directly when connecting loop
devices instead of `nvme connect`.

Depending on the nvme-cli version and host configuration, `nvme connect`
may provide an inconsistent HostNQN/HostID pair and fail with EINVAL.

Writing only the subsystem NQN and loop transport to
`/dev/nvme-fabrics` lets the kernel use its default host identity and
avoids nvme-cli-specific host identity handling.

Fixes: https://tracker.ceph.com/issues/71816
Assisted-by: ChatGPT <chatgpt.com>
Signed-off-by: Redouane Kachach <[email protected]>
(cherry picked from commit 3f0bcd1)

Conflicts:
	qa/tasks/nvme_loop.py: conflicts with noble nvme_loop changes
@batrick
batrick force-pushed the wip-80810-tentacle branch from 4e3c62b to 457f458 Compare October 7, 2026 15:02
@batrick batrick removed the releng-audit-fail Release engineering: failed backport verification audit. label Oct 7, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ceph Release Engineering Audit Report

Automated Redmine Linkage Audit

The following tracking irregularities were found:

  • Orphaned Main PR: Could not find a Redmine tracker for main PR #67682. Please create a ticket, set its 'Pull Request ID', populate the 'Backport' field, and ensure it is in the 'Pending Backport' state.

Automated Backport Parity Review - Invalid Commit Format

The following commits have an invalid format. Backport commits must either include a standard (cherry picked from commit ...) line or start with the target branch name (e.g., tentacle:).

  • 4c12a35d qa: add centos/rocky to supported random distributions

Be familiar with the rules and guidelines for writing backports.


Automated Backport Parity Review

⚠️ Multiple Original PRs Detected: PR #67682, PR #67683, PR #69837, PR #71971

Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.


Commit Parity Visualizer

BACKPORT PR #72064 SOURCE PR SOURCE STATUS
aaf6c53 qa: remove long retired ceph-deploy PR #67682 64e591b qa: remove long retired ceph-deploy
e1e1c63 qa: remove ceph-deploy configs with no effect 593886c qa: remove ceph-deploy configs with no effect
415fd9a qa/cephmetrics: symlink supported-random-distro$ PR #67683 f987d23 qa/cephmetrics: symlink supported-random-distro$
ebbed86 qa/fs/fscrypt: symlink supported-random-distro$ 0948f5a qa/fs/fscrypt: symlink supported-random-distro$
e147fd5 qa/ceph-ansible: symlink supported-random-distro$ 8c31741 qa/ceph-ansible: symlink supported-random-distro$
4ecb292 qa/suites/rados/encoder: use random supported distro 6532dd3 qa/suites/rados/encoder: use random supported distro
8207359 qa/distros: add all/ubuntu_24.04.yaml 5231fd6 qa/distros: add all/ubuntu_24.04.yaml
57909e2 qa/distros: bump ubuntu_latest.yaml to 24.04 cee6de8 qa/distros: bump ubuntu_latest.yaml to 24.04
289e471 qa/distros: add ubuntu_24.04 as supported container host 04dd6da qa/distros: add ubuntu_24.04 as supported container host
69323ba qa/tasks/nvme_loop: fix nvme loop task for ubuntu noble 17cc03d qa/tasks/nvme_loop: fix nvme loop task for ubuntu noble
6eae74e qa/distros: use consistent naming e9ef70b qa/distros: use consistent naming
adea959 qa/tasks/cbt: construct venv just for cbt 614993a qa/tasks/cbt: construct venv just for cbt
0bbe8cc qa/tasks/nvme_loop: fall back to sysfs-based discovery if needed PR #69837 01d8ea8 qa/tasks/nvme_loop: fall back to sysfs-based discovery if needed
7932018 qa/nvme_loop: fix sysfs fallback device discovery b51649d qa/nvme_loop: fix sysfs fallback device discovery
e81ea92 qa/tasks/nvme_loop: restrict sysfs fallback to expected NQNs c96a0e1 qa/tasks/nvme_loop: restrict sysfs fallback to expected NQNs
457f458 qa/nvme_loop: connect directly through nvme-fabrics PR #71971 3f0bcd1 qa/nvme_loop: connect directly through nvme-fabrics
4c12a35 qa: add centos/rocky to supported random distributions <<<< EXTRA IN BACKPORT >>>>

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

This does not necessarily indicate an issue but a maintainer should review.

**Click to expand conflict summaries.**

Deviation in Backport 4ecb292 (cherry-pick of 6532dd3)

Affected File(s)

Range Diff

Click to expand
--- Original (6532dd3c)
+++ Backport (4ecb2927)
@@ -1,3 +1,8 @@
 qa/suites/rados/encoder: use random supported distro
 
 Signed-off-by: Patrick Donnelly <[email protected]>
+(cherry picked from commit 6532dd3c6f4490d50d638b19e563fbd732d5f267)
+
+Conflicts:
+	qa/suites/rados/upgrade/cephx/X/distro.yaml: unknown why this conflicts
+	qa/suites/upgrade/reef-x/.qa: unknown why this conflicts

================================================================================
RANGE DIFF
================================================================================

1:  6532dd3c6f4 < -:  ----------- qa/suites/rados/encoder: use random supported distro
-:  ----------- > 1:  4ecb292795f qa/suites/rados/encoder: use random supported distro

Deviation in Backport 8207359 (cherry-pick of 5231fd6)

Affected File(s)

Range Diff

Click to expand
--- Original (5231fd60)
+++ Backport (82073597)
@@ -1,3 +1,7 @@
 qa/distros: add all/ubuntu_24.04.yaml
 
 Signed-off-by: Casey Bodley <[email protected]>
+(cherry picked from commit 5231fd6079a8217052efaee00a9c907931c85159)
+
+Conflicts:
+	qa/distros/all/ubuntu_24.04.yaml: already brought in by cephx

================================================================================
RANGE DIFF
================================================================================

1:  5231fd6079a < -:  ----------- qa/distros: add all/ubuntu_24.04.yaml
-:  ----------- > 1:  82073597525 qa/distros: add all/ubuntu_24.04.yaml

Deviation in Backport 6eae74e (cherry-pick of e9ef70b)

Affected File(s)

Range Diff

Click to expand
--- Original (e9ef70ba)
+++ Backport (6eae74e0)
@@ -5,3 +5,9 @@
 Ceph release.
 
 Signed-off-by: Patrick Donnelly <[email protected]>
+(cherry picked from commit e9ef70baca75aab426459e2136a98b92fff47595)
+
+Conflicts:
+	qa/distros/supported-random-distro~HEAD: 22.04 link not present
+	qa/suites/ceph-deploy/distros/rpm_latest.yaml: updated to rocky
+	qa/suites/rbd/valgrind/rpm_latest.yaml: suite already links to centos9

================================================================================
RANGE DIFF
================================================================================

1:  e9ef70baca7 ! 1:  6eae74e0b15 qa/distros: use consistent naming
    @@ Commit message
         Ceph release.
     
         Signed-off-by: Patrick Donnelly <[email protected]>
    +    (cherry picked from commit e9ef70baca75aab426459e2136a98b92fff47595)
    +
    +    Conflicts:
    +            qa/distros/supported-random-distro~HEAD: 22.04 link not present
    +            qa/suites/ceph-deploy/distros/rpm_latest.yaml: updated to rocky
    +            qa/suites/rbd/valgrind/rpm_latest.yaml: suite already links to centos9
    +
    + ## qa/distros/crimson-supported-all-distro/.qa (new) ##
    +@@
    ++../.qa/
    + \ No newline at end of file
     
      ## qa/distros/crimson-supported-all-distro/rocky_10.yaml (new) ##
     @@
    @@ qa/distros/crimson-supported-all-distro/rpm_latest.yaml (deleted)
     -../all/rpm_latest.yaml
      \ No newline at end of file
     
    - ## qa/distros/supported-random-distro$/ubuntu_22.04.yaml (deleted) ##
    + ## qa/distros/supported-random-distro (deleted) ##
     @@
    --../all/ubuntu_22.04.yaml
    +-supported-random-distro$/
      \ No newline at end of file
     
    - ## qa/distros/supported-random-distro/centos_9.stream.yaml ##
    + ## qa/distros/supported-random-distro$/ubuntu_22.04.yaml (deleted) ##
     @@
    --.qa/distros/supported/centos_9.stream.yaml
    - \ No newline at end of file
    -+.qa/distros/all/centos_9.stream.yaml
    +-../all/ubuntu_22.04.yaml
      \ No newline at end of file
     
      ## qa/distros/supported-random-distro/rocky_10.yaml (new) ##
    @@ qa/distros/supported-random-distro/rocky_10.yaml (new)
     +.qa/distros/all/rocky_10.yaml
      \ No newline at end of file
     
    - ## qa/distros/supported-random-distro/rpm_latest.yaml (deleted) ##
    -@@
    --.qa/distros/supported/rpm_latest.yaml
    - \ No newline at end of file
    -
      ## qa/distros/supported-random-distro/ubuntu_22.04.yaml (new) ##
     @@
     +.qa/distros/all/ubuntu_22.04.yaml
    @@ qa/distros/supported-random-distro/ubuntu_24.04.yaml (new)
     +.qa/distros/all/ubuntu_24.04.yaml
      \ No newline at end of file
     
    - ## qa/distros/supported-random-distro/ubuntu_latest.yaml (deleted) ##
    + ## qa/distros/supported/.qa (new) ##
     @@
    --.qa/distros/supported/ubuntu_latest.yaml
    ++../.qa/
      \ No newline at end of file
     
      ## qa/distros/supported/centos_9.stream.yaml ##
    @@ qa/distros/supported/ubuntu_latest.yaml (deleted)
     -../all/ubuntu_latest.yaml
      \ No newline at end of file
     
    + ## qa/suites/ceph-deploy/distros/rpm_latest.yaml (deleted) ##
    +@@
    +-.qa/distros/supported/rpm_latest.yaml
    + \ No newline at end of file
    +
      ## qa/suites/fs/bugs/client_trim_caps/rpm_latest.yaml ##
     @@
     -.qa/distros/supported/rpm_latest.yaml
    @@ qa/suites/rados/perf/ubuntu_latest.yaml
     +.qa/distros/all/ubuntu_latest.yaml
      \ No newline at end of file
     
    - ## qa/suites/rados/valgrind-leaks/rpm_latest.yaml ##
    + ## qa/suites/rados/upgrade/cephx/X/distro.yaml => qa/suites/rados/upgrade/cephx/X/centos_9.stream.yaml ##
    +
    + ## qa/suites/rados/upgrade/cephx/release-X/centos_9.stream.yaml (new) ##
     @@
    --.qa/distros/supported/rpm_latest.yaml
    ++.qa/distros/all/centos_9.stream.yaml
      \ No newline at end of file
    -+.qa/distros/all/rpm_latest.yaml
    +
    + ## qa/suites/rados/upgrade/cephx/release-X/distro.yaml (deleted) ##
    +@@
    +-.qa/distros/supported/centos_9.stream.yaml
      \ No newline at end of file
     
    - ## qa/suites/rados/verify/rpm_latest.yaml ##
    + ## qa/suites/rados/valgrind-leaks/rpm_latest.yaml ##
     @@
     -.qa/distros/supported/rpm_latest.yaml
      \ No newline at end of file
     +.qa/distros/all/rpm_latest.yaml
      \ No newline at end of file
     
    - ## qa/suites/rbd/valgrind/rpm_latest.yaml ##
    + ## qa/suites/rados/verify/rpm_latest.yaml ##
     @@
     -.qa/distros/supported/rpm_latest.yaml
      \ No newline at end of file
    @@ qa/suites/rgw/tools/rpm_latest.yaml
     +.qa/distros/all/rpm_latest.yaml
      \ No newline at end of file
     
    + ## qa/suites/upgrade-clients/client-upgrade-tentacle-umbrella/umbrella-client-x/rbd/supported/ubuntu_latest.yaml ##
    +@@
    +-../../../../../../distros/supported/ubuntu_latest.yaml
    + \ No newline at end of file
    ++.qa/distros/all/ubuntu_latest.yaml
    + \ No newline at end of file
    +
      ## qa/suites/windows/basic/ubuntu_latest.yaml ##
     @@
     -.qa/distros/supported/ubuntu_latest.yaml

Deviation in Backport adea959 (cherry-pick of 614993a)

Affected File(s)

Range Diff

Click to expand
--- Original (614993a0)
+++ Backport (adea959a)
@@ -48,3 +48,7 @@
     teuthology.exceptions.CommandFailedError: Command failed on trial043 with status 1: 'python3 -m pip install -r /home/ubuntu/cephtest/cbt/requirements.txt'
 
 Signed-off-by: Patrick Donnelly <[email protected]>
+(cherry picked from commit 614993a066f7e42d02fc18671bb136b2d192035f)
+
+Conflicts:
+	qa/tasks/cbt.py: differing dependencies

================================================================================
RANGE DIFF
================================================================================

1:  614993a066f ! 1:  adea959a712 qa/tasks/cbt: construct venv just for cbt
    @@ Commit message
             teuthology.exceptions.CommandFailedError: Command failed on trial043 with status 1: 'python3 -m pip install -r /home/ubuntu/cephtest/cbt/requirements.txt'
     
         Signed-off-by: Patrick Donnelly <[email protected]>
    +    (cherry picked from commit 614993a066f7e42d02fc18671bb136b2d192035f)
    +
    +    Conflicts:
    +            qa/tasks/cbt.py: differing dependencies
     
      ## qa/tasks/cbt.py ##
     @@ qa/tasks/cbt.py: class CBT(Task):
                  )
              else:
                  install_cmd = ['sudo', 'apt-get', '-y', '--force-yes', 'install']
    --            cbt_depends = ['librbd-dev', 'collectl', 'linux-tools-generic']
    +-            cbt_depends = ['python3-yaml', 'python3-lxml', 'librbd-dev', 'collectl', 'linux-tools-generic']
     +            cbt_depends = ['librbd-dev', 'collectl', 'linux-tools-generic', 'python3-venv']
              self.first_mon.run(args=install_cmd + cbt_depends)
      
    --        # Install the python dependencies from the CBT project requirements.txt file
     +        # Create a virtual environment for CBT
     +        testdir = misc.get_testdir(self.ctx)
     +        venv_path = f'{testdir}/cbt-venv'
     +        self.first_mon.run(args=['python3', '-m', 'venv', venv_path])
     +
     +        # Install the python dependencies from the CBT project requirements.txt file into the venv
    -         pip_install_cmd = [
    --            'python3',
    --            '-m',
    --            'pip',
    ++        pip_install_cmd = [
     +            f'{venv_path}/bin/pip',
    -             'install',
    -             '-r',
    --            f'{misc.get_testdir(self.ctx)}/cbt/requirements.txt',
    ++            'install',
    ++            '-r',
     +            f'{testdir}/cbt/requirements.txt',
    -         ]
    -         self.first_mon.run(args=pip_install_cmd)
    ++        ]
    ++        self.first_mon.run(args=pip_install_cmd)
    ++
    +         benchmark_type = next(iter(self.cbt_config.get('benchmarks').keys()))
    +         self.log.info('benchmark: %s', benchmark_type)
      
     @@ qa/tasks/cbt.py: class CBT(Task):
              )

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.


🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Oct 7, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit b657880 into ceph:tentacle Oct 9, 2026
17 of 18 checks passed
@batrick
batrick deleted the wip-80810-tentacle branch October 9, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants