Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit routing to agentless nodes with non-UUID metadata.name #50915

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

rosstimothy
Copy link
Contributor

We suggest that a UUID is used for agentless nodes metadata.name field, but we do not enforce it. This causes several edge cases and slightly weird UX in places that expect the name to be a UUID. Most notably, this presents dialing problems for the web ui as described in #50914. To allowing dialing to function in all cases for these servers, routing has been updated to permit matches on metadata.name, however, the match is given a lower score then a match on a UUID. This should permit dialing, though, it may still result in ambiguity.

Closes #50914.

Changelog: Prevent routing issues for agentless nodes that are created with non-UUID metadata.name fields.

We suggest that a UUID is used for agentless nodes metadata.name
field, but we do not enforce it. This causes several edge cases
and slightly weird UX in places that expect the name to be a UUID.
Most notably, this presents dialing problems for the web ui as
described in #50914.
To allowing dialing to function in all cases for these servers,
routing has been updated to permit matches on metadata.name, however,
the match is given a lower score then a match on a UUID. This should
permit dialing, though, it may still result in ambiguity.

Closes #50914.
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from hugoShaka January 9, 2025 19:00
@rosstimothy rosstimothy added this pull request to the merge queue Jan 9, 2025
Merged via the queue into master with commit 17edb10 Jan 9, 2025
49 checks passed
@rosstimothy rosstimothy deleted the tross/fix_agentless_routing branch January 9, 2025 20:54
@public-teleport-github-review-bot

@rosstimothy See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using a non-UUID name for OpenSSH causes Web UI to not find node in inventory
3 participants