Skip to content

squid: fix make check / API / cli / qa breakage from the cephx (CVE-2025-30156) merge - #71190

Merged
batrick merged 8 commits into
ceph:squidfrom
djgalloway:wip-cephx-ci-fixes-squid
Aug 21, 2026
Merged

batrick merged 8 commits into
ceph:squidfrom
djgalloway:wip-cephx-ci-fixes-squid

Conversation

@djgalloway

@djgalloway djgalloway commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #71165 — the seven CI fixes for the fallout of the CVE-2025-30156 cephx merge, which landed in squid as well (same MonClient.h build break, cephadm upgrade IndexError, stale cram expectations, qa flake8 findings, unformatted cephadm code, missing .qa links, and the entity_name valid-types regression).

Six of seven commits are clean cherry-picks. test/cli: update cram expectations for cephx auth changes needed manual conflict resolution in src/test/cli/monmaptool/feature-set-unset-list.t: the mon feature lists differ per release, so the expectations were rebuilt from this branch's src/mon/mon_types.h (squid's supported/persistent sets plus cephx_auth_aes256k(2147483648)) rather than copied from main.

Validated locally on this branch: flake8 --select=F,E9 clean on qa/, black --check (23.12.1, -l78) clean on cephadmlib/, cephadm unit tests pass (the one pre-existing environment-dependent failure, TestCheckHost::test_container_engine, fails identically on the unpatched branch), and no .qa symlinks missing.

backport tracker: https://tracker.ceph.com/issues/79640 (linked to the MonClient build-break tracker https://tracker.ceph.com/issues/79628 and the remaining-fallout tracker https://tracker.ceph.com/issues/79678)


  • this backport is a clean cherry-pick from main (1 of 7 commits needed conflict resolution, see above)

3e885ab ("mon/MonClient: add assertions for monc lock in
MonConnection") added a `ceph::mutex& monc_lock` reference member to
MonConnection, which makes the explicitly defaulted move assignment
operator implicitly deleted.  clang (-Wdefaulted-function-deleted,
promoted by -Werror) rejects that, so every make check / API build on
main fails since that merge:

  src/mon/MonClient.h:70:18: error: explicitly defaulted move assignment
  operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]

Nothing move-assigns a MonConnection (pending_cons/active_con only ever
move-construct), so spell out what the compiler already decided.

Fixes: 3e885ab
Signed-off-by: David Galloway <[email protected]>
Assisted-by: Claude Fable 5 (claude-fable-5)
(cherry picked from commit 79296fc)
The cephx upgrade suites added with the CVE-2025-30156 merge are missing
the .qa links in X/ms_bind, X/tasks/07-client-auth-keys,
X/tasks/08-allowed-ciphers and the release-X counterparts, so the
"Check for missing .qa links" workflow (src/script/verify-qa) fails on
every PR based on current main.  Add the links verify-qa asks for.

Signed-off-by: David Galloway <[email protected]>
Assisted-by: Claude Fable 5 (claude-fable-5)
(cherry picked from commit 62c4d50)
fae0d0d ("mgr/cephadm: rotate keyring for core ceph daemons during
upgrade") made _upgrade_daemons() call _rotate_mgr_mon_auth_keys() on
every pass.  That function indexes mon_daemons[0] unconditionally, and
with an empty mon list _detect_need_upgrade() reports no mons needing
upgrade, which is taken as "all mons upgraded" -- so it goes on to set
auth_allowed_ciphers and rotate mgr keys before crashing with

  IndexError: list index out of range
  cephadm/upgrade.py:1795

Since that merge four cephadm unit tests fail deterministically in
run_tox_mgr on every PR (test_upgrade_daemons_offline_hosts,
test_upgrade_run[False/True],
test_do_upgrade_limit_exhausted_marks_complete_without_scope_check);
they exercise the upgrade machinery without any mon daemons in the
cache.

Without any known mon daemons we cannot tell whether the mons have been
upgraded and there is no mon keyring to rotate, so skip the rotation for
this pass and let the next upgrade pass retry once the cache has mons.

Fixes: fae0d0d
Signed-off-by: David Galloway <[email protected]>
Assisted-by: Claude Fable 5 (claude-fable-5)
(cherry picked from commit fa100f0)
0753b1d ("common/entity_name: dump type name as string") turned
STR_TO_ENTITY_TYPE into a vector of (entity_type_t, std::string) pairs
but left get_valid_types_as_str() streaming .first, i.e. the uint8_t
type value, so e.g. `ceph-conf --name total.garbage` now says

  valid types are:  , \x01, \x04, \x02, \x10, \x08

instead of "auth, mon, osd, mds, mgr, client", and the
src/test/cli/ceph-conf/invalid-args.t cram test fails in run-cli-tests.
Stream the name (.second).

Fixes: 0753b1d
Signed-off-by: David Galloway <[email protected]>
Assisted-by: Claude Fable 5 (claude-fable-5)
(cherry picked from commit 18e32fa)
@djgalloway
djgalloway requested review from a team as code owners August 20, 2026 14:24
@github-actions github-actions Bot added this to the squid milestone Aug 20, 2026
@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Aug 20, 2026
github-actions[bot]

This comment was marked as outdated.

@djgalloway

Copy link
Copy Markdown
Contributor Author

/audit retest

@github-actions

Copy link
Copy Markdown

🔄 Audit Retest Triggered by @djgalloway.

View workflow run

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Aug 20, 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

Commit Parity Visualizer

BACKPORT PR #71190 SOURCE PR SOURCE STATUS
b09d0aa mon/MonClient: delete MonConnection move assignment PR #71165 79296fc mon/MonClient: delete MonConnection move assignment
9b57ff2 qa/suites/rados/upgrade/cephx: add missing .qa symlinks 62c4d50 qa/suites/rados/upgrade/cephx: add missing .qa symlinks
9e0ff03 mgr/cephadm: skip mgr/mon key rotation when no mon daemons are known fa100f0 mgr/cephadm: skip mgr/mon key rotation when no mon daemons are known
d1e1873 common/entity_name: print type names in get_valid_types_as_str() 18e32fa common/entity_name: print type names in get_valid_types_as_str()
54bd769 test/cli: update cram expectations for cephx auth changes a935139 test/cli: update cram expectations for cephx auth changes
c17fbfd qa/tasks: fix flake8 findings in ceph.py and radosbench.py 297c44b qa/tasks: fix flake8 findings in ceph.py and radosbench.py
9afb4fc cephadm: black-format OSD key rotation code in daemons/ceph.py 6b206bc cephadm: black-format OSD key rotation code in daemons/ceph.py

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 54bd769 (cherry-pick of a935139)

Affected File(s)

Range Diff

Click to expand
--- Original (a9351397)
+++ Backport (54bd769e)
@@ -11,3 +11,4 @@
 Fixes: 96335615c1bfdd598412d8768be09323d299ba33
 Signed-off-by: David Galloway <[email protected]>
 Assisted-by: Claude Fable 5 (claude-fable-5)
+(cherry picked from commit a9351397d512c386c4a6582c7cd5f5beb7024653)

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

1:  a9351397d51 ! 1:  54bd769eac3 test/cli: update cram expectations for cephx auth changes
    @@ Commit message
         Fixes: 96335615c1bfdd598412d8768be09323d299ba33
         Signed-off-by: David Galloway <[email protected]>
         Assisted-by: Claude Fable 5 (claude-fable-5)
    +    (cherry picked from commit a9351397d512c386c4a6582c7cd5f5beb7024653)
     
      ## src/test/cli/ceph-authtool/help.t ##
     @@
    @@ src/test/cli/ceph-authtool/help.t
     
      ## src/test/cli/monmaptool/add-exists.t ##
     @@
    -   min_mon_release 21 (umbrella)
    +   min_mon_release 17 (quincy)
        election_strategy: 1
        0: v1:2.3.4.5:6789/0 mon.foo
     +  auth_epoch 0
    @@ src/test/cli/monmaptool/add-many.t
     
      ## src/test/cli/monmaptool/clobber.t ##
     @@
    -   min_mon_release 21 (umbrella)
    +   min_mon_release 17 (quincy)
        election_strategy: 1
        0: v1:2.3.4.5:6789/0 mon.foo
     +  auth_epoch 0
    @@ src/test/cli/monmaptool/clobber.t
        $ [ "$ORIG_FSID" = "$NEW_FSID" ]
     @@
        created \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re)
    -   min_mon_release 21 (umbrella)
    +   min_mon_release 17 (quincy)
        election_strategy: 1
     +  auth_epoch 0
     +  auth_service_cipher aes256k
    @@ src/test/cli/monmaptool/clobber.t
      ## src/test/cli/monmaptool/create-print.t ##
     @@
        created \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re)
    -   min_mon_release 21 (umbrella)
    +   min_mon_release 17 (quincy)
        election_strategy: 1
     +  auth_epoch 0
     +  auth_service_cipher aes256k
    @@ src/test/cli/monmaptool/create-print.t
        monmaptool: monmap file mymonmap
     @@
        created \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re)
    -   min_mon_release 21 (umbrella)
    +   min_mon_release 17 (quincy)
        election_strategy: 1
     +  auth_epoch 0
     +  auth_service_cipher aes256k
    @@ src/test/cli/monmaptool/create-print.t
     
      ## src/test/cli/monmaptool/create-with-add.t ##
     @@
    -   min_mon_release 21 (umbrella)
    +   min_mon_release 17 (quincy)
        election_strategy: 1
        0: v1:2.3.4.5:6789/0 mon.foo
     +  auth_epoch 0
    @@ src/test/cli/monmaptool/feature-set-unset-list.t
            required:   [none]
        
        AVAILABLE FEATURES:
    --      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    --      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    -+      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    -+      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    +-      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    +-      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    ++      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
    ++      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
        MONMAP FEATURES:
            persistent: [none]
            optional:   [none]
            required:   [none]
        
        AVAILABLE FEATURES:
    --      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    --      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    -+      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    -+      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    +-      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    +-      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    ++      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
    ++      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
        monmap:persistent:[none]
        monmap:optional:[none]
        monmap:required:[none]
    --  available:supported:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    --  available:persistent:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    -+  available:supported:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    -+  available:persistent:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    +-  available:supported:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    +-  available:persistent:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    ++  available:supported:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
    ++  available:persistent:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
      
        $ monmaptool --feature-set foo /tmp/test.monmap.1234
        unknown features name 'foo' or unable to parse value: Expected option value to be integer, got 'foo'
     @@
    -       required:   [kraken(1),octopus(32),unknown(8192)]
    +       required:   [kraken(1),octopus(32),unknown(4096)]
        
        AVAILABLE FEATURES:
    --      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    --      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    -+      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    -+      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    +-      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    +-      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    ++      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
    ++      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
      
        $ monmaptool --feature-unset 32 --optional --feature-list /tmp/test.monmap.1234
        monmaptool: monmap file /tmp/test.monmap.1234
     @@
    -       required:   [kraken(1),octopus(32),unknown(8192)]
    +       required:   [kraken(1),octopus(32),unknown(4096)]
        
        AVAILABLE FEATURES:
    --      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    --      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    -+      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    -+      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    +-      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    +-      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    ++      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
    ++      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
        monmaptool: writing epoch 0 to /tmp/test.monmap.1234 (1 monitors)
      
    -   $ monmaptool --feature-unset 32 --persistent --feature-unset 8192 --optional --feature-list /tmp/test.monmap.1234
    +   $ monmaptool --feature-unset 32 --persistent --feature-unset 4096 --optional --feature-list /tmp/test.monmap.1234
     @@
            required:   [kraken(1)]
        
        AVAILABLE FEATURES:
    --      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    --      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    -+      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    -+      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    +-      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    +-      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    ++      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
    ++      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
        monmaptool: writing epoch 0 to /tmp/test.monmap.1234 (1 monitors)
      
        $ monmaptool --feature-unset kraken --feature-list /tmp/test.monmap.1234
    @@ src/test/cli/monmaptool/feature-set-unset-list.t
            required:   [none]
        
        AVAILABLE FEATURES:
    --      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    --      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),nvmeof_beacon_diff(4294967296)]
    -+      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    -+      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),tentacle(2048),umbrella(4096),cephx_auth_aes256k(2147483648),nvmeof_beacon_diff(4294967296)]
    +-      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    +-      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024)]
    ++      supported:  [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
    ++      persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512),squid(1024),cephx_auth_aes256k(2147483648)]
        monmaptool: writing epoch 0 to /tmp/test.monmap.1234 (1 monitors)
      
        $ rm /tmp/test.monmap.1234
    @@ src/test/cli/monmaptool/help.t
     
      ## src/test/cli/monmaptool/rm-nonexistent.t ##
     @@
    -   min_mon_release 21 (umbrella)
    +   min_mon_release 17 (quincy)
        election_strategy: 1
        0: v1:2.3.4.5:6789/0 mon.foo
     +  auth_epoch 0
    @@ src/test/cli/monmaptool/rm-nonexistent.t
      ## src/test/cli/monmaptool/rm.t ##
     @@
        created \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re)
    -   min_mon_release 21 (umbrella)
    +   min_mon_release 17 (quincy)
        election_strategy: 1
     +  auth_epoch 0
     +  auth_service_cipher aes256k

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 Aug 20, 2026
@djgalloway
djgalloway force-pushed the wip-cephx-ci-fixes-squid branch from 9afb4fc to 3a34ab2 Compare August 20, 2026 14:43
The CVE-2025-30156 cephx merge (9633561) added a -t/--key-type
option to ceph-authtool, --auth-service-cipher/--auth-allowed-ciphers/
--auth-preferred-cipher options and auth_epoch/auth_*_cipher fields to
monmaptool, and the cephx_auth_aes256k mon feature bit, without
updating the cram expectations under src/test/cli, so run-cli-tests
fails on every PR.  Update the ten affected .t files with the output
the tools now produce.

Fixes: 9633561
Signed-off-by: David Galloway <[email protected]>
Assisted-by: Claude Fable 5 (claude-fable-5)
Conflicts:
	src/test/cli/monmaptool/feature-set-unset-list.t
	  The mon feature lists in the expected output are release-specific,
	  so the expectations were rebuilt from this branch's
	  src/mon/mon_types.h (appending cephx_auth_aes256k(2147483648) to squid's supported/persistent feature sets)
	  instead of taking main's lists.

(cherry picked from commit a935139)
@djgalloway
djgalloway force-pushed the wip-cephx-ci-fixes-squid branch from 3a34ab2 to aab7c8e Compare August 20, 2026 14:43
The cephx merge (9633561) left four unused local variables in
qa/tasks/ceph.py (key_prune/key_rotate/task) and an f-string without
placeholders plus an unused exception binding in qa/tasks/radosbench.py,
so run-tox-qa (flake8 --select=F,E9) fails on every PR.  No functional
change.

Fixes: 9633561
Signed-off-by: David Galloway <[email protected]>
Assisted-by: Claude Fable 5 (claude-fable-5)
(cherry picked from commit 297c44b)
The OSD keyring rotation changes from the CVE-2025-30156 cephx merge
(c9bc85a "cephadm: restart OSD systemd unit after key rotation",
24dc65e "cephadm: Add retries to OSD key rotation") added lines to
cephadmlib/daemons/ceph.py that are not formatted the way
`tox -e check-black` (black>=23,<24, -l78) expects, so run-tox-cephadm
fails on every PR now that the py3 env passes again:

  would reformat /ceph/src/cephadm/cephadmlib/daemons/ceph.py
  1 file would be reformatted, 50 files would be left unchanged.

This is the output of `tox -e format-black` (black 23.12.1) on that
file; no functional change.

Fixes: 24dc65e
Signed-off-by: David Galloway <[email protected]>
Assisted-by: Claude Fable 5 (claude-fable-5)
(cherry picked from commit 6b206bc)
TestOSDMap.cc uses stringify() but never includes include/stringify.h;
until now it compiled via a transitive include that the CVE-2025-30156
cephx merge removed, so once the MonClient.h build break earlier in the
compile is fixed, make check dies here instead:

  src/test/osd/TestOSDMap.cc: error: use of undeclared identifier 'stringify'

main got the include from 0735848
("test: add missing includes", part of a 22-commit include-hygiene PR
that is not worth backporting wholesale), hence this branch-local
commit rather than a cherry-pick.

Signed-off-by: David Galloway <[email protected]>
Assisted-by: Claude Fable 5 (claude-fable-5)
@djgalloway

Copy link
Copy Markdown
Contributor Author

Pushed one more commit: the branch also needs include/stringify.h in TestOSDMap.cc (previously masked because the compile died earlier at the MonClient.h break; main has it from 0735848, part of a 22-commit include-hygiene PR not worth backporting wholesale, hence a branch-prefixed commit). That was the make check failure @batrick spotted.

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

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit 5e2e9bc into ceph:squid Aug 21, 2026
9 checks passed
uw-sc added a commit to cobaltcore-dev/ceph that referenced this pull request Sep 23, 2026
Backport-Id: 01a0c326-e041-718b-bf29-f10dc5260620
Backport-PR: #15
Upstream-PRs: ceph#71165, ceph#71190
uw-sc added a commit to cobaltcore-dev/ceph that referenced this pull request Oct 14, 2026
Backport-Id: 01a12f91-ee54-7edc-80b3-610fd82571ba
Backport-PR: #26
Upstream-PRs: ceph#71165, ceph#71190
uw-sc added a commit to cobaltcore-dev/ceph that referenced this pull request Oct 14, 2026
Backport-Id: 01a0c326-e041-718b-bf29-f10dc5260620
Backport-PR: #15
Upstream-PRs: ceph#71165, ceph#71190
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.

2 participants