Re-run osdeploy initialize -l after /etc/hosts is repaired#57
Merged
Conversation
The first osdeploy initialize -l runs before confluent2hosts and the hosts repair script update /etc/hosts with the cluster FQDN. At that point osdeploy only sees the short hostname, so the SSH host certificate is signed without the FQDN in its principals — breaking host-based authentication. Re-run with -l after /etc/hosts has the correct FQDN entry so the certificate includes it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The clang-format-check workflow also runs on the self-hosted runner and hits the same root-owned file issue from sudo podman builds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
osdeploy initialize -l(line 905) runs beforeconfluent2hostsand the hosts repair script have updated/etc/hostswith the cluster FQDNchost <FQDN>but the certificate doesn't include itosdeploy initialize -lat the end of the Confluent install, after/etc/hostshas the correct FQDNConfirmed on
opencattus-alma10-confluent-rel1-headnode:192.168.222.10, 192.168.232.254, opencattus-l: principals =192.168.222.10, 192.168.232.254, opencattus, opencattus.cluster.example.comFixes feedback item #5 (certificate part).
Test plan
ssh-keygen -L -f /etc/ssh/ssh_host_ed25519_key-cert.pubincludes the FQDN🤖 Generated with Claude Code