Skip to content

Fix rejoining removed hostnames and preserve cluster join errors - #112

Merged
crypticC0der merged 1 commit into
canonical:mainfrom
crypticC0der:fix/lp-2170962-rejoin-pr
Oct 28, 2026
Merged

crypticC0der merged 1 commit into
canonical:mainfrom
crypticC0der:fix/lp-2170962-rejoin-pr

Conversation

@crypticC0der

@crypticC0der crypticC0der commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Addresses LP#2170962: updates token distributor to 0.10 for fresh tokens on hostname reuse, preserves join failures in unit status, and adds regression coverage.

Requires the companion token-distributor release. Library implementation and unit tests live in that repository.

Testing: 145 unit tests and lint pass. An existing integration-test type-check error remains; live integration testing pending.

@crypticC0der
crypticC0der requested a review from a team as a code owner October 15, 2026 15:51
@crypticC0der
crypticC0der force-pushed the fix/lp-2170962-rejoin-pr branch from abb6bd9 to 0d5ced3 Compare October 16, 2026 13:07
@crypticC0der

Copy link
Copy Markdown
Collaborator Author

test failing due to microovn token distributor version mismatches

matperin
matperin previously approved these changes Oct 27, 2026
@crypticC0der

Copy link
Copy Markdown
Collaborator Author

waiting on new token distributor build, then will merge

@crypticC0der
crypticC0der force-pushed the fix/lp-2170962-rejoin-pr branch 4 times, most recently from 0fcde38 to 4e0857d Compare October 28, 2026 19:03
Give every unit a persistent request ID so a replacement unit on a re-added
hostname never consumes its predecessor's already-used join token. Advertise
the complete scoped key in the hostname field, keeping compatibility with
distributors that predate request IDs, and deploy the test distributor from
v1/edge.

Preserve cluster join errors with redacted diagnostics, reconcile pending
token requests on distributor upgrade, and add unit and integration coverage
for hostname reuse.

Closes-bug: #2170962
Signed-off-by: MJ Ponsonby <mj.ponsonby@canonical.com>
@crypticC0der
crypticC0der force-pushed the fix/lp-2170962-rejoin-pr branch from 4e0857d to 5b3ade0 Compare October 28, 2026 19:30
@crypticC0der
crypticC0der merged commit f077075 into canonical:main Oct 28, 2026
60 of 63 checks passed
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.

2 participants