Repository navigation
v2: RabbitMQ restarts again — Erlang cookie 0600 before start - #133
Merged
Merged
Conversation
… (fsGroup made it group-readable) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Rendered diff (as Argo CD renders: kustomize / Helm, against
|
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.
The first restart of
rabbitmq-0(the pod-template change in #132) crash-loops:Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only. kubelet's fsGroup pass over the volume made the cookie (created at the first start) group-readable. A latent defect: any restart of the broker (node reboot, eviction) would have hit it.Fix:
fsGroupChangePolicy: OnRootMismatch(skip the pass when the volume root already has the group) and an init container (same image, already on the node) that chmods the cookie to 0600 if it exists. Lab only (v2 is excluded on the laptop). v2-lab is down for messaging until this syncs; the outboxes keep every message.🤖 Generated with Claude Code