Skip to content

[fix] Bind Mooncake master RPC to configured host#136

Merged
0oshowero0 merged 1 commit into
Ascend:mainfrom
0oshowero0:fix_mooncake
Jul 6, 2026
Merged

[fix] Bind Mooncake master RPC to configured host#136
0oshowero0 merged 1 commit into
Ascend:mainfrom
0oshowero0:fix_mooncake

Conversation

@0oshowero0

Copy link
Copy Markdown
Collaborator

This PR updates Mooncake bootstrap to pass the host from master_server_address into mooncake_master via
--rpc_address, in addition to the existing --rpc_port.

This fixes IPv6 deployments where mooncake_master previously bound RPC to the default 0.0.0.0, while clients connected through the IPv6 host configured in master_server_address, causing connection refused errors.

Signed-off-by: 0oshowero0 <o0shower0o@outlook.com>
Copilot AI review requested due to automatic review settings July 6, 2026 03:08
@ascend-robot

Copy link
Copy Markdown

CLA Signature Pass

0oshowero0, thanks for your pull request. All authors of the commits have signed the CLA. 👍

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the Mooncake bootstrap command construction so mooncake_master binds its RPC listener to the configured host from master_server_address (via --rpc_address), not just the configured port. This aligns the bind address with the address clients use, fixing IPv6 deployments where binding defaulted to an IPv4 wildcard (0.0.0.0) and caused connection refusals.

Changes:

  • Parse and extract master_server_address hostname into master_server_host.
  • Pass --rpc_address=<master_server_host> alongside the existing --rpc_port=<port> when starting mooncake_master.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@0oshowero0 0oshowero0 merged commit 1e21390 into Ascend:main Jul 6, 2026
8 checks passed
@0oshowero0 0oshowero0 deleted the fix_mooncake branch July 6, 2026 03:28
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.

3 participants