Repository navigation
squid: fix make check / API / cli / qa breakage from the cephx (CVE-2025-30156) merge - #71190
Conversation
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)
|
/audit retest |
|
🔄 Audit Retest Triggered by @djgalloway. |
There was a problem hiding this comment.
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
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)
src/test/cli/monmaptool/feature-set-unset-list.t
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 aes256kHow 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.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
9afb4fc to
3a34ab2
Compare
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)
3a34ab2 to
aab7c8e
Compare
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)
|
Pushed one more commit: the branch also needs |
|
✅ Audit Override Applied by @batrick. |
Backport-Id: 01a0c326-e041-718b-bf29-f10dc5260620 Backport-PR: #15 Upstream-PRs: ceph#71165, ceph#71190
Backport-Id: 01a12f91-ee54-7edc-80b3-610fd82571ba Backport-PR: #26 Upstream-PRs: ceph#71165, ceph#71190
Backport-Id: 01a0c326-e041-718b-bf29-f10dc5260620 Backport-PR: #15 Upstream-PRs: ceph#71165, ceph#71190
Backport of #71165 — the seven CI fixes for the fallout of the CVE-2025-30156 cephx merge, which landed in
squidas well (sameMonClient.hbuild break, cephadm upgradeIndexError, stale cram expectations, qa flake8 findings, unformatted cephadm code, missing.qalinks, and theentity_namevalid-types regression).Six of seven commits are clean cherry-picks.
test/cli: update cram expectations for cephx auth changesneeded manual conflict resolution insrc/test/cli/monmaptool/feature-set-unset-list.t: the mon feature lists differ per release, so the expectations were rebuilt from this branch'ssrc/mon/mon_types.h(squid's supported/persistent sets pluscephx_auth_aes256k(2147483648)) rather than copied from main.Validated locally on this branch:
flake8 --select=F,E9clean onqa/,black --check(23.12.1,-l78) clean oncephadmlib/, cephadm unit tests pass (the one pre-existing environment-dependent failure,TestCheckHost::test_container_engine, fails identically on the unpatched branch), and no.qasymlinks 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)