Skip to content

squid: qa/suites/smoke: rbd_workunit_suites_iozone: reject ubuntu - #74267

Merged
batrick merged 1 commit into
ceph:squidfrom
yuriw:wip-81231-smoke-rbd-client-key-type-squid
Nov 25, 2026
Merged

batrick merged 1 commit into
ceph:squidfrom
yuriw:wip-81231-smoke-rbd-client-key-type-squid

Conversation

@yuriw

@yuriw yuriw commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Squid counterpart of #74197. It is not a cherry-pick: the main fix does not work on squid, so the backport differs on purpose.

Problem

The rbd task maps the image with the kernel client. The ceph task creates client.0 with the default aes256k key type, which kernels before Linux 7.0 cannot load, so rbd map fails:

rbd: failed to add secret 'client.0' to kernel
rbd: map failed: (22) Invalid argument

Tracker: https://tracker.ceph.com/issues/81231

Why this differs from main

Main (#74197) sets kernel: hwe: true, which installs the HWE kernel (7.0) on Ubuntu 24.04.

Squid smoke runs on Ubuntu 22.04, and its HWE kernel is still older than 7.0, so it cannot load aes256k keys either. With the main change, rbd_workunit_suites_iozone on squid still fails with the same error (job 788452, https://pulpito.ceph.com/yuriw-2026-11-24_14:36:20-smoke-squid-release-distro-default-trial/).

The CentOS Stream 9 kernel does load aes256k keys, so this change adds a postmerge rule that rejects the Ubuntu facet of the random-distro choice. The job then runs only on CentOS Stream 9, which keeps aes256k coverage, as on main. Thanks to Ilya Dryomov for the CentOS Stream 9 suggestion and for asking for postmerge instead of a distro pin.

Testing

On the squid-release build (6959281), with this change:

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)

Assisted-by: Claude-v2.1.237:claude-sonnet-5-5

@yuriw yuriw added the tests label Nov 24, 2026
@yuriw
yuriw requested a review from batrick November 24, 2026 17:29
@github-actions github-actions Bot added this to the squid milestone Nov 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 Nov 24, 2026
@yuriw

yuriw commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

/audit override

@github-actions github-actions Bot added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels Nov 24, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @yuriw.

View workflow run

@yuriw

yuriw commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Superseded: the aes change was replaced by pinning the job to CentOS Stream 9 (see the reply to Ilya below and the updated description). The earlier job 788576 tested the aes version.

Assisted-by: Claude-v2.1.237:claude-sonnet-5-5

@idryomov idryomov 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.

Can this job be pinned to CentOS Stream 9 instead? If so, this alternative would be more in line with the main PR IMO.

@yuriw
yuriw force-pushed the wip-81231-smoke-rbd-client-key-type-squid branch from ba1c716 to 05127ab Compare November 24, 2026 20:08
@github-actions

Copy link
Copy Markdown

⚠️ Audit Override Removed

New commits were pushed to this PR, so the previous override has been removed.

View workflow run

@yuriw yuriw changed the title squid: qa/suites/smoke: rbd_workunit_suites_iozone: use aes client keys squid: qa/suites/smoke: rbd_workunit_suites_iozone: pin to centos 9.stream Nov 24, 2026
@yuriw

yuriw commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Superseded: this was the reply to the CentOS Stream 9 pin version. The pin was replaced by a postmerge rule that rejects Ubuntu (see the newer reply below). Jobs from the pin version, for the record: 788639 (centos_latest) https://pulpito.ceph.com/yuriw-2026-11-24_19:56:30-smoke-squid-release-distro-default-trial/ and 788642 (ubuntu_latest, which ran on CentOS Stream 9) https://pulpito.ceph.com/yuriw-2026-11-24_19:56:33-smoke-squid-release-distro-default-trial/

Assisted-by: Claude-v2.1.237:claude-sonnet-5-5

@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:

  • Missing Original PR(s): Could not identify any main PRs associated with this backport. Ensure the backport commits properly reference the original PRs.
  • Orphaned Backport PR: Could not find any Redmine tracker linked directly to this backport PR #74267.

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., squid:).

  • 05127abb qa/suites/smoke: rbd_workunit_suites_iozone: pin to centos 9.stream

Be familiar with the rules and guidelines for writing backports.


Automated Backport Parity Review

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


Commit Parity Visualizer

BACKPORT PR #74267 SOURCE PR SOURCE STATUS
05127ab qa/suites/smoke: rbd_workunit_suites_iozone: pin to centos 9.stream <<<< EXTRA IN BACKPORT >>>>

🛟 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 Nov 24, 2026
# breaks the kernel rbd map; the CentOS Stream 9 kernel can. See
# https://tracker.ceph.com/issues/81231
os_type: centos
os_version: "9.stream"

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.

ubuntu_latest facet, job 788642: https://pulpito-ng.ceph.com/yuriw-2026-11-24_19:56:33-smoke-squid-release-distro-default-trial/ (still ran on CentOS Stream 9)

This is pretty confusing (and not nice at all). I'd suggest rejecting Ubuntu 22.04 with a postmerge snippet instead.

The rbd task maps the image with the kernel client. The ceph task
creates client.0 with the default aes256k key type, which kernels
before Linux 7.0 cannot load, so `rbd map` fails on the distro kernel
(Ubuntu 22.04):

  rbd: failed to add secret 'client.0' to kernel
  rbd: map failed: (22) Invalid argument

The HWE kernel does not help on 22.04: it is still older than 7.0.
The CentOS Stream 9 kernel loads aes256k keys, so reject the Ubuntu
facet of the random-distro choice with a postmerge rule; the job then
runs only on CentOS Stream 9. This keeps aes256k coverage.

Fixes: https://tracker.ceph.com/issues/81231
Signed-off-by: Yuri Weinstein <[email protected]>
Assisted-by: Claude-v2.1.237:claude-sonnet-5-5
@yuriw
yuriw force-pushed the wip-81231-smoke-rbd-client-key-type-squid branch from 05127ab to c1e9ac4 Compare November 24, 2026 21:36
@yuriw yuriw changed the title squid: qa/suites/smoke: rbd_workunit_suites_iozone: pin to centos 9.stream squid: qa/suites/smoke: rbd_workunit_suites_iozone: reject ubuntu Nov 24, 2026
@yuriw

yuriw commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

@idryomov agreed, a silent distro swap is confusing. I replaced the os_type/os_version pin with a postmerge rule that rejects Ubuntu, so the ubuntu_latest facet is dropped instead of running on CentOS Stream 9:

teuthology:
  postmerge:
    - if yaml.os_type == "ubuntu" then reject() end

Checked on the squid build:

The facet is picked at random, so this job is dropped in about half of the schedules. It never runs on a kernel older than 7.0.

Assisted-by: Claude-v2.1.237:claude-sonnet-5-5

@batrick batrick modified the milestones: squid, v19.2.8 Nov 25, 2026
@batrick

batrick commented Nov 25, 2026

Copy link
Copy Markdown
Member

Fine with me. @yuriw are you testing this?

@yuriw

yuriw commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

Fine with me. @yuriw are you testing this?

It’s tested @batrick

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

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit 0293603 into ceph:squid Nov 25, 2026
18 checks passed
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.

3 participants