Show name of node with unsupported platform
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.7k
- Forks
- 676
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
I got message no suitable node (scheduling constraints not satisfied on 3 nodes; unsupported platform on 1 node) and I don't know which node has unsupported platform because all of them is running as virtual machines (3 masters, 1 worker). All has x86_64 and linux. So I don't know where is the problem.
Suggestion
As a part of the message https://github.com/docker/swarmkit/blob/master/manager/scheduler/filter.go#L315 show also Node.Description.Hostname, Node.Description.Platform.OS, Node.Description.Platform.Architecture.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read manager/scheduler/filter.go around line 315, where the unsupported-platform message is assembled. Trace the scheduling error path and use Node.Description.Hostname, Node.Description.Platform.OS, and Node.Description.Platform.Architecture as the requested diagnostic context. Done means the message identifies the node and its platform details when this filter rejects it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100