Skip to content

CLDSRV-1112: Accept the kmip and kmsAWS blocks of configs without kms array - #6406

Merged
bert-e merged 1 commit into
development/9.6from
improvement/CLDSRV-1112-accept-legacy-kms-config
Dec 2, 2026
Merged

bert-e merged 1 commit into
development/9.6from
improvement/CLDSRV-1112-accept-legacy-kms-config

Conversation

@francoisferrand

Copy link
Copy Markdown
Contributor

Since 9.6.0, KMSs are configured as a kms array, and cloudserver refuses to start on configs with a kmip or kmsAWS block, or with S3KMS=kmip / S3KMS=aws.

Zenko drives several cloudserver versions with the same operator, and renders the 9.5 format: one kmip or kmsAWS block, selected by S3KMS. This keeps that working on 9.6, so Zenko can move to it without changing its config in lockstep.

Without a kms array, S3KMS=kmip or S3KMS=aws now turns the matching block into the single, default kms entry, which then goes through the usual entry validation (and the S3KMIP_* variables still apply to it). The selected block is required. Other S3KMS values behave as before, and kmip / kmsAWS blocks next to a kms array are still rejected.

Issue: CLDSRV-1112

@bert-e

bert-e commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Hello francoisferrand,

My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.

Available options
name description privileged authored
/after_pull_request Wait for the given pull request id to be merged before continuing with the current one.
/bypass_author_approval Bypass the pull request author's approval ⭐
/bypass_build_status Bypass the build and test status ⭐
/bypass_commit_size Bypass the check on the size of the changeset TBA ⭐
/bypass_incompatible_branch Bypass the check on the source branch prefix ⭐
/bypass_jira_check Bypass the Jira issue check ⭐
/bypass_peer_approval Bypass the pull request peers' approval ⭐
/bypass_leader_approval Bypass the pull request leaders' approval ⭐
/bypass_source_branch_lineage Bypass the cross-branch contamination check ⭐
/approve Instruct Bert-E that the author has approved the pull request. ✍️
/create_pull_requests Allow the creation of integration pull requests.
/create_integration_branches Allow the creation of integration branches.
/no_octopus Prevent Wall-E from doing any octopus merge and use multiple consecutive merge instead
/unanimity Change review acceptance criteria from one reviewer at least to all reviewers
/wait Instruct Bert-E not to run until further notice.
Available commands
name description privileged
/help Print Bert-E's manual in the pull request.
/status Print Bert-E's current status in the pull request.
/clear Remove all comments from Bert-E from the history TBA
/retry Re-start a fresh build TBA
/build Re-start a fresh build TBA
/force_reset Delete integration branches & pull requests, and restart merge process from the beginning.
/reset Try to remove integration branches unless there are commits on them which do not appear on the source branch.

Status report is not available.

@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
19870 1 19869 963
View the full list of 1 ❄️ flaky test(s)
put and get object with versioning With v4 signature::"after each" hook for "should create a bunch of objects and their versions"

Flake rate in main: 100.00% (Passed 0 times, Failed 4 times)

Stack Traces | 1.1s run time
The bucket you tried to delete is not empty.
BucketNotEmpty: The bucket you tried to delete is not empty.
    at ProtocolLib.getErrorSchemaOrThrowBaseException (.../cloudserver/cloudserver/node_modules/@.../submodules/protocols/index.js:79:67)
    at S3RestXmlProtocol.handleError (.../cloudserver/cloudserver/node_modules/@.../submodules/protocols/index.js:1341:65)
    at S3RestXmlProtocol.deserializeResponse (.../cloudserver/cloudserver/node_modules/@.../submodules/protocols/index.js:663:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async .../cloudserver/cloudserver/node_modules/@.../submodules/schema/index.js:23:24
    at async .../cloudserver/cloudserver/node_modules/@.../submodules/s3/index.js:366:20
    at async .../cloudserver/cloudserver/node_modules/@.../submodules/retry/index.js:211:50
    at async .../cloudserver/cloudserver/node_modules/@.../submodules/s3/index.js:62:28
    at async .../cloudserver/cloudserver/node_modules/@.../submodules/s3/index.js:89:20
    at async .../cloudserver/cloudserver/node_modules/@.../submodules/client/index.js:125:26
    at async Context.<anonymous> (test/versioning/objectPut.js:49:13)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Comment thread lib/Config.js Resolved
Zenko drives several cloudserver versions with the same operator, and renders
the KMS config as a kmip or kmsAWS block selected by S3KMS. Without a kms
array, S3KMS=kmip or S3KMS=aws now turns that block into the single, default
kms entry, so these configs keep working on 9.6.

Issue: CLDSRV-1112
@francoisferrand
francoisferrand force-pushed the improvement/CLDSRV-1112-accept-legacy-kms-config branch from 2aa86ac to 2bcb984 Compare December 2, 2026 07:06
@scality scality deleted a comment from bert-e Dec 2, 2026
@francoisferrand

Copy link
Copy Markdown
Contributor Author

/approve

@bert-e

bert-e commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

I have successfully merged the changeset of this pull request
into targetted development branches:

  • ✔️ development/9.6

The following branches have NOT changed:

  • development/7.10
  • development/7.4
  • development/7.70
  • development/8.8
  • development/9.0
  • development/9.1
  • development/9.2
  • development/9.3
  • development/9.4
  • development/9.5

This pull request did not target the following hotfix branch(es) so they
were left untouched:

  • hotfix/6.4.7
  • hotfix/7.70.45
  • hotfix/9.0.32
  • hotfix/7.10.0
  • hotfix/7.6.0
  • hotfix/7.4.2
  • hotfix/7.4.5
  • hotfix/9.2.36
  • hotfix/7.10.27
  • hotfix/7.10.1
  • hotfix/7.4.4
  • hotfix/7.4.0
  • hotfix/7.70.73
  • hotfix/7.10.8
  • hotfix/7.4.9
  • hotfix/9.3.13
  • hotfix/7.4.1
  • hotfix/7.70.11
  • hotfix/7.4.7
  • hotfix/7.10.30
  • hotfix/7.10.2
  • hotfix/7.4.6
  • hotfix/7.4.8
  • hotfix/7.4.3
  • hotfix/7.10.3
  • hotfix/7.10.4
  • hotfix/7.10.49
  • hotfix/7.70.51
  • hotfix/7.70.21
  • hotfix/7.8.0
  • hotfix/8.8.45
  • hotfix/7.2.0
  • hotfix/7.9.0
  • hotfix/7.10.15
  • hotfix/9.0.7
  • hotfix/9.2.24
  • hotfix/7.10.28
  • hotfix/7.4.10
  • hotfix/7.7.0

Please check the status of the associated issue CLDSRV-1112.

Goodbye francoisferrand.

The following options are set: approve

@bert-e
bert-e merged commit 2bcb984 into development/9.6 Dec 2, 2026
38 checks passed
@bert-e
bert-e deleted the improvement/CLDSRV-1112-accept-legacy-kms-config branch December 2, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants