Repository navigation
Revert "Stable 26.8 Backport of #126138 - Revert "Revert "Verify the server certificate hostname on outbound TLS connections""" - #2841
Conversation
…erify the server certificate hostname on outbound TLS connections"""
CI triage for #2841 (head
|
| Check | Classification |
|---|---|
RegressionTestsRelease / S3 (azure, 1) / s3_azure_1 (and the Regression release s3_azure_1 report status) |
Pre-existing, not caused by this PR |
S3 (azure, 1) / s3_azure_1 (job, report)
Failing scenarios (82 of 103 passed, 2 failed):
✘ 16m 54s [ Fail ] /s3/azure/part 1/disk/remote host filter
ClickHouse server is not healthy
✘ 5m 15s [ Fail ] /s3/azure/part 1/disk/syntax
AssertionError
Decisive server errors:
<Error> ConfigReloader: Error updating configuration from '/etc/clickhouse-server/config.xml': Code: 347. ... Code: 491. DB::Exception: URL "http://azurite:10000" is not allowed in configuration file, see <remote_url_allow_hosts>. (UNACCEPTABLE_URL)
<Error> Application: Code: 491. DB::Exception: URL "http://azurite:10000" is not allowed in configuration file, see <remote_url_allow_hosts>. (UNACCEPTABLE_URL)
Why it isn't this PR:
- The failure is in
remote_url_allow_hostsvalidation for a plainhttp://azurite:10000disk. No TLS is involved. Inremote host filter, the server doesn't come back healthy after that config is applied.syntaxruns next and fails on the same broken server. - The same two scenarios fail with the same
UNACCEPTABLE_URLerrors and almost identical durations onstable-26.8itself, both before and after Stable 26.8 Backport of #126138 - Revert "Revert "Verify the server certificate hostname on outbound TLS connections"" #2670:- MasterCI on
db29bf2d6b(includes Stable 26.8 Backport of #126138 - Revert "Revert "Verify the server certificate hostname on outbound TLS connections"" #2670), 2026-11-12: x86 s3_azure_1 (remote host filter16m58s,syntax5m16s) and aarch64 s3_azure_1 both fail. - MasterCI on
57dab7e301(before Stable 26.8 Backport of #126138 - Revert "Revert "Verify the server certificate hostname on outbound TLS connections"" #2670 was merged on 2026-10-25), 2026-10-22: aarch64 s3_azure_1 fails on the same two scenarios (16m57s and 5m16s).
- MasterCI on
- So the failure shows up without the hostname-verification change, with it, and with it reverted (this PR). It doesn't depend on
SSLManager.cpp/ServerSettings.cpp. - Other open
stable-26.8PRs (Stable 26.8 Backport of #131154 - Reject out-of-rangeDecimalscale when reading aField#2844, Stable 26.8 Backport of #127286 - Reject too deep cursors instead of exhausting the stack #2843, Stable 26.8 Backport of #115847 - Do not buffer the serialized step when computing the hash-table-stats cache key #2811) don't select the S3 regression suite in their CI options, so they don't show this failure. That is why this PR appears to be the only one with it.
Suggested next step: none needed on this PR; re-running won't turn it green. The proper fix belongs in the regression suite or the stable-26.8 expectations. On this release line the /s3/azure/part 1/disk/remote host filter scenario leaves the server unable to start (an Azurite URL that isn't in remote_url_allow_hosts). That needs either an xfail for 26.8 in the regression repo, or a fix to that scenario's cleanup so it restores a valid config before syntax runs.
Health check of the PR itself
The diff is a clean revert of #2670:
base/poco/NetSSL_OpenSSL/src/SSLManager.cpp: removes hostname verification.src/Core/ServerSettings.cppand its docs: setting default/description reverted.- The integration-test additions from Stable 26.8 Backport of #126138 - Revert "Revert "Verify the server certificate hostname on outbound TLS connections"" #2670 are removed:
test_accept_invalid_certificate, plus the config lines intest_acme_tls,test_bind_hostandtest_ssl_cert_authentication.
Builds, the selected stateless/integration jobs and the other regression suites are green. Based on CI, this PR is ready from a test standpoint.
Analysis by blau-ai from the GitHub Actions logs and the praktika regression report. No local re-run was needed: the failure signature matches the base branch.
Reverts #2670 due to issues in CI
Changelog category (leave one):
CI/CD Options
Exclude tests:
Regression jobs to run: