Skip to content

Reliable key receiving from a chain of keyservers - #103834

Merged
alexey-milovidov merged 1 commit into
masterfrom
fix-stale-hkp
May 1, 2026
Merged

alexey-milovidov merged 1 commit into
masterfrom
fix-stale-hkp

Conversation

@Felixoid

@Felixoid Felixoid commented May 1, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

The releases were failing due to a timeout on keyserver.ubuntu.com. This PR fixes it permanently by using a chain of keyservers to reliably receive the GPG key.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Note

Here are examples of failing release workflows:
https://github.com/ClickHouse/ClickHouse/actions/runs/25204565798 - 3 attempts
https://github.com/ClickHouse/ClickHouse/actions/runs/25203149998 - 8 attempts

Version info

  • Merged into: 26.5.1.237
  • Backported to: 26.4.1.1134, 26.3.10.52, 26.2.19.36, 25.8.23.12

@Felixoid
Felixoid requested review from leshikus, maxknv and tavplubix May 1, 2026 06:37
@Felixoid Felixoid added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label May 1, 2026
@clickhouse-gh

clickhouse-gh Bot commented May 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [28e93ff]

Summary: ✅


AI Review

Summary

This PR updates Docker image build fallback logic to fetch the ClickHouse APT signing key from a chain of keyservers instead of relying only on keyserver.ubuntu.com, reducing release/build fragility from single-keyserver timeouts. The change is small, scoped, and consistent across the touched Dockerfiles, and I did not find correctness, safety, or rollout issues in the diff.

ClickHouse Rules
Item Status Notes
Deletion logging ➖
Serialization versioning ➖
Core-area scrutiny ➖
No test removal ✅
Experimental gate ➖
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ✅
Safe rollout ✅
Compilation time ✅
No large/binary files ✅
Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label May 1, 2026

@leshikus leshikus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I wonder if this can be done without cut&paste by means of a shared script or a common base image

@alexey-milovidov
alexey-milovidov added this pull request to the merge queue May 1, 2026
Merged via the queue into master with commit 8837217 May 1, 2026
165 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix-stale-hkp branch May 1, 2026 15:37
@robot-ch-test-poll3 robot-ch-test-poll3 added pr-synced-to-cloud The PR is synced to the cloud repo pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels May 1, 2026
robot-ch-test-poll2 added a commit that referenced this pull request May 1, 2026
Cherry pick #103834 to 25.8: Reliable key receiving from a chain of keyservers
robot-ch-test-poll2 added a commit that referenced this pull request May 1, 2026
Cherry pick #103834 to 26.3: Reliable key receiving from a chain of keyservers
robot-ch-test-poll2 added a commit that referenced this pull request May 1, 2026
Cherry pick #103834 to 26.4: Reliable key receiving from a chain of keyservers
alexey-milovidov added a commit that referenced this pull request May 1, 2026
Backport #103834 to 26.4: Reliable key receiving from a chain of keyservers
alexey-milovidov added a commit that referenced this pull request May 1, 2026
Backport #103834 to 26.3: Reliable key receiving from a chain of keyservers
alexey-milovidov added a commit that referenced this pull request May 1, 2026
Backport #103834 to 25.8: Reliable key receiving from a chain of keyservers
robot-clickhouse added a commit that referenced this pull request May 4, 2026
Cherry pick #103834 to 26.2: Reliable key receiving from a chain of keyservers
@robot-clickhouse robot-clickhouse added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label May 4, 2026
alexey-milovidov pushed a commit that referenced this pull request May 19, 2026
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
…3834

Backport ClickHouse#103834 to 26.4: Reliable key receiving from a chain of keyservers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-ci pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants