Skip to content

Conversation

@rayluo
Copy link
Contributor

@rayluo rayluo commented Oct 22, 2025

Our reliance on socket.getfqdn() was introduced since day 1 of adding managed identity feature. In the following 16 months, there were 2 isolated cases (example) where the machine(s) were not properly configured, and they were both resolved by fixing the machine's network setup.

Nonetheless, this PR removes the reliance on socket.getfqdn() so that we won't run into this in the future.

This is not a breaking change, because the pre-existing implementation
will error out anyway, but with a less meaningful exception.
@rayluo rayluo requested a review from a team as a code owner October 22, 2025 22:26
@rayluo rayluo merged commit 14bcad3 into dev Oct 23, 2025
19 checks passed
@rayluo rayluo deleted the mi-remove-fqdn branch October 23, 2025 17:01
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.

4 participants