Skip to content

tentacle: qa: cephfs suite changes for rocky - #68374

Merged
batrick merged 11 commits into
ceph:tentaclefrom
batrick:wip-76021-tentacle
May 9, 2026
Merged

batrick merged 11 commits into
ceph:tentaclefrom
batrick:wip-76021-tentacle

Conversation

@batrick

@batrick batrick commented Apr 14, 2026

Copy link
Copy Markdown
Member

@batrick batrick added this to the tentacle milestone Apr 14, 2026
@batrick batrick added the tests label Apr 14, 2026
@github-actions github-actions Bot added the cephfs Ceph File System label Apr 14, 2026
@batrick batrick added rocky10-tentacle and removed cephfs Ceph File System labels Apr 14, 2026
@batrick batrick modified the milestones: tentacle, v20.2.2 Apr 14, 2026
@batrick

batrick commented Apr 21, 2026

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick

batrick commented Apr 21, 2026

Copy link
Copy Markdown
Member Author

jenkins test api

@batrick

batrick commented Apr 21, 2026

Copy link
Copy Markdown
Member Author

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@NitzanMordhai
NitzanMordhai removed request for a team April 29, 2026 09:17
@NitzanMordhai

Copy link
Copy Markdown
Contributor

@idryomov idryomov removed the rbd label Apr 29, 2026
@batrick
batrick force-pushed the wip-76021-tentacle branch from 1b9570b to d04d227 Compare April 29, 2026 17:21
@batrick

batrick commented Apr 29, 2026

Copy link
Copy Markdown
Member Author

Trying to fix tox qa failures that are avoidable.

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Apr 30, 2026
@batrick

batrick commented May 2, 2026

Copy link
Copy Markdown
Member Author

@batrick batrick added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels May 2, 2026

@batrick batrick left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved 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.

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 below 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.

Affected File(s)

Range Diff

Click to expand
--- Original (b81cca65)
+++ Backport (0ef21ef8)
@@ -3,3 +3,12 @@
     2025-11-18T19:46:46.226 INFO:teuthology.orchestra.run.smithi008.stdout:/usr/bin/ceph: stderr Error ENOTSUP: Module 'alerts' is not enabled/loaded (required by command 'dashboard set-ssl-certificate'): use `ceph mgr module enable alerts` to enable it
 
 Signed-off-by: Patrick Donnelly <[email protected]>
+(cherry picked from commit b81cca651787f74c12a780102be79ded72fc7da0)
+
+Conflicts:
+	qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/reef/reef.yaml: keep reef
+
+Conflicts:
+  qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/reef/v18.2.8.yaml -
+
+   taking image with version and not reef branch name

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

1:  b81cca65178 ! 1:  0ef21ef8000 qa: skip dashboard install due to dependency noise
    @@ Commit message
             2025-11-18T19:46:46.226 INFO:teuthology.orchestra.run.smithi008.stdout:/usr/bin/ceph: stderr Error ENOTSUP: Module 'alerts' is not enabled/loaded (required by command 'dashboard set-ssl-certificate'): use `ceph mgr module enable alerts` to enable it
     
         Signed-off-by: Patrick Donnelly <[email protected]>
    +    (cherry picked from commit b81cca651787f74c12a780102be79ded72fc7da0)
    +
    +    Conflicts:
    +            qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/reef/reef.yaml: keep reef
    +
    +    Conflicts:
    +      qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/reef/v18.2.8.yaml -
    +
    +       taking image with version and not reef branch name
     
      ## qa/suites/fs/cephadm/multivolume/0-start.yaml ##
     @@ qa/suites/fs/cephadm/multivolume/0-start.yaml: tasks:
    @@ qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/squid.yaml: tasks:
          compiled_cephadm_branch: squid
          conf:
     
    - ## qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/tentacle.yaml ##
    -@@ qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/tentacle.yaml: tasks:
    - - print: "**** done install task..."
    - - cephadm:
    -     image: quay.ceph.io/ceph-ci/ceph:tentacle
    -+    skip_dashboard: true
    -     roleless: true
    -     compiled_cephadm_branch: tentacle
    -     conf:
    -
      ## qa/suites/fs/workload/begin/1-cephadm.yaml ##
     @@ qa/suites/fs/workload/begin/1-cephadm.yaml: overrides:
      tasks:

Commit Parity Visualizer

BACKPORT PR #68374 SOURCE PR SOURCE STATUS
79d744a qa: use py3 builtin ipaddress module PR #66294 5c51183 qa: use py3 builtin ipaddress module
647887c qa: use nft instead iptables 60b31e5 qa: use nft instead iptables
9bb9ad5 qa: correct wording of comment 83ecfdf qa: correct wording of comment
05419a1 qa: only setup nat rules during bridge creation 6fa39ca qa: only setup nat rules during bridge creation
0ef21ef qa: skip dashboard install due to dependency noise b81cca6 qa: skip dashboard install due to dependency noise
fc218fa qa: update fs suite to rocky10 6bf6fcb qa: update fs suite to rocky10
86956f2 qa: use centos9 for fs suites using k-testing 5b2f5ee qa: use centos9 for fs suites using k-testing
dc3643a qa: remove unused variables d8cc2ea qa: remove unused variables
725127a qa/suites/fs/bugs: use centos9 for squid upgrade test 1e31a6d qa/suites/fs/bugs: use centos9 for squid upgrade test
6981f39 qa: rename distro 9f2cac8 qa: rename distro
d04d227 qa: enforce centos9 for test 815d1d7 qa: enforce centos9 for test

🛟 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.

@batrick

batrick commented May 8, 2026

Copy link
Copy Markdown
Member Author

https://pulpito.ceph.com/nmordech-2026-04-29_15:29:20-fs-wip-nmordech-testing-20260429.100618-distro-default-trial/186444/

caused by the dnf task from

batrick@menzoberranzan ~/ceph/qa/suites/fs/functional$ cat 0-distro/rpm_latest.yaml 
os_type: rocky
os_version: "10.1"
overrides:
  selinux:
    allowlist:
      - 'comm="systemd".*denied.*\{ prog_run \}.*tclass=bpf.*permissive=1'
tasks:
- pexec:
    all:
    # for https://tracker.ceph.com/issues/73823
    - sudo dnf remove nvme-cli -y
    - sudo dnf install nvmetcli nvme-cli -y

still persisting even after the distro is overriden by the kclient task (set to Ubuntu). I will write a fix here.

@batrick

batrick commented May 8, 2026

Copy link
Copy Markdown
Member Author

https://pulpito.ceph.com/nmordech-2026-04-29_15:29:20-fs-wip-nmordech-testing-20260429.100618-distro-default-trial/186444/

caused by the dnf task from

batrick@menzoberranzan ~/ceph/qa/suites/fs/functional$ cat 0-distro/rpm_latest.yaml 
os_type: rocky
os_version: "10.1"
overrides:
  selinux:
    allowlist:
      - 'comm="systemd".*denied.*\{ prog_run \}.*tclass=bpf.*permissive=1'
tasks:
- pexec:
    all:
    # for https://tracker.ceph.com/issues/73823
    - sudo dnf remove nvme-cli -y
    - sudo dnf install nvmetcli nvme-cli -y

still persisting even after the distro is overriden by the kclient task (set to Ubuntu). I will write a fix here.

actually needs to go in #68569 which introduces rocky_10.yaml

batrick and others added 11 commits May 8, 2026 19:46
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 5c51183)
rocky.10 does not support iptables with MASQUERADE targets. (Or maybe it
does with more prodding but it's easier to just switch to nft.)

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 60b31e5)
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 83ecfdf)
Currently the code recreates these NAT rules for every mount. This only
needs to be done once by the first mount.

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 6fa39ca)
    2025-11-18T19:46:46.226 INFO:teuthology.orchestra.run.smithi008.stdout:/usr/bin/ceph: stderr Error ENOTSUP: Module 'alerts' is not enabled/loaded (required by command 'dashboard set-ssl-certificate'): use `ceph mgr module enable alerts` to enable it

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

Conflicts:
	qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/reef/reef.yaml: keep reef

Conflicts:
  qa/suites/fs/upgrade/mds_upgrade_sequence/tasks/0-from/reef/v18.2.8.yaml -

   taking image with version and not reef branch name
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 6bf6fcb)

Conflicts:
	qa/suites/fs/workload/0-centos_9.stream.yaml: link change
A better approach would be to include centos9 OR rocky10 for
distribution choice. Then we can just filter out rocky10 when we're
testing the `testing` kernel but keep rocky10 coverage for other
testing.

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 5b2f5ee)
To make tox-qa happy.

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit d8cc2ea)
To avoid missing package error for rocky10

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

Conflicts:
	qa/suites/upgrade/reef-x/centos_9.stream.yaml: ???
        qa/suites/fs/bugs/multifs_mdsauthcaps/centos_9.stream.yaml: use existing distro
The kernel mount overrides for the distro have no effect if they are
applied before `supported-random-distro`.

Fixes:

    2026-04-13T19:06:13.603 INFO:teuthology.task.pexec:sudo dnf remove nvme-cli -y
    2026-04-13T19:06:13.603 INFO:teuthology.task.pexec:sudo dnf install nvmetcli nvme-cli -y
    2026-04-13T19:06:13.626 INFO:teuthology.task.pexec:Running commands on host [email protected]
    2026-04-13T19:06:13.627 INFO:teuthology.task.pexec:sudo dnf remove nvme-cli -y
    2026-04-13T19:06:13.627 INFO:teuthology.task.pexec:sudo dnf install nvmetcli nvme-cli -y
    2026-04-13T19:06:13.652 INFO:teuthology.orchestra.run.trial148.stderr:sudo: dnf: command not found
    2026-04-13T19:06:13.653 DEBUG:teuthology.orchestra.run:got remote process result: 1
    2026-04-13T19:06:13.654 ERROR:teuthology.run_tasks:Saw exception from tasks.
    Traceback (most recent call last):
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/run_tasks.py", line 105, in run_tasks
        manager = run_one_task(taskname, ctx=ctx, config=config)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/run_tasks.py", line 83, in run_one_task
        return task(**kwargs)
               ^^^^^^^^^^^^^^
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/task/pexec.py", line 149, in task
        with parallel() as p:
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/parallel.py", line 84, in __exit__
        for result in self:
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/parallel.py", line 98, in __next__
        resurrect_traceback(result)
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/parallel.py", line 30, in resurrect_traceback
        raise exc.exc_info[1]
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/parallel.py", line 23, in capture_traceback
        return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/task/pexec.py", line 62, in _exec_host
        tor.wait([r])
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/orchestra/run.py", line 485, in wait
        proc.wait()
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/orchestra/run.py", line 161, in wait
        self._raise_for_status()
      File "/home/teuthworker/src/git.ceph.com_teuthology_426ec63bc4a39bba882efb593125294667afc593/teuthology/orchestra/run.py", line 181, in _raise_for_status
        raise CommandFailedError(
    teuthology.exceptions.CommandFailedError: Command failed on trial148 with status 1: 'TESTDIR=/home/ubuntu/cephtest bash -s'

which was done because these dnf commands were pulled from rocky10.yaml from the kclient overrides but ubuntu_latest was used for the random distro.

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

Conflicts:
	qa/suites/fs/32bits/0-distro
	qa/suites/fs/full/0-distro
	qa/suites/fs/functional/0-distro
	qa/suites/fs/libcephfs/0-distro
	qa/suites/fs/mirror-ha/0-distro
	qa/suites/fs/mirror/0-distro
	qa/suites/fs/multifs/0-distro
	qa/suites/fs/nfs/0-distro
	qa/suites/fs/permission/0-distro
	qa/suites/fs/snaps/0-distro
	qa/suites/fs/thrash/multifs/0-distro
	qa/suites/fs/thrash/workloads/0-distro
	qa/suites/fs/top/0-distro
	qa/suites/fs/traceless/0-distro
	qa/suites/fs/volumes/0-distro
Avoids problem where rocky10 packages do not exist for squid.

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 815d1d7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants