moby / moby/swarmkit

Manager listenAddress can't be changed

Open
#642 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area/raft
Dominant language
Go
Stars
3.7k
Forks
676
Avg merge
4d 9h
Merged PRs (30d)
6

Description

Stopping manager and starting it again with a different port still shows the old address in swarmctl manager ls. Joining a second manager to that node comes up as reachable but can't be used(probably because the connection is only one way).

After switching back the address:

» swarmctl  cert ls
Error: incorrect cluster state
WARN[0040] sending message to an unrecognized member ID 5e815a6c316dfc82
ERRO[0040] could not find cluster member to query for leader address

@abronan

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by stopping and restarting a manager with a different port, then inspect swarmctl manager ls and try joining a second manager. Also run swarmctl cert ls after switching the address back and compare the reported cluster errors. Done means the manager reports and uses its current listen address, and the second manager remains usable after an address change.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.