Replies: 6 comments
-
|
This of course is accomplished by docker node rm |
Beta Was this translation helpful? Give feedback.
-
|
The docker swarm leave command only exits the worker from the swarm, you also need run “docker node rm <node>” on a manager node to remove the old node from the list.
https://docs.docker.com/engine/swarm/manage-nodes/#leave-the-swarm
Rgds,
Neil Cresswell
On 20/12/2017, at 7:48 AM, Kirby Kuehl <notifications@github.com<mailto:notifications@github.com>> wrote:
From the swarm page, there is no way to delete nodes that have been removed from the swarm
Steps to reproduce the issue:
1. From a worker node, type docker swarm leave.
2. Refresh Swarm tab in portainer (1.15.2 in this case). Note that Status is Down.
3. Attempt to remove down node. I migrated some things, and wanted the node deleted.
Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:
* Portainer version: 1.15.2
* Target Docker version (the host/cluster you manage): 17.09.0-ce
* Platform (windows/linux): Linux
* Command used to start Portainer (docker run -p 9000:9000 portainer/portainer):
* Target Swarm version (if applicable):
* Browser:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_1517&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=Epc7e3xVYOlji5fO5d2PGxm0VlNWTEuC6nviFyLR_a8&s=hX5AiTxvN3s5HY6eQ4-3OO2s6-TnK2I2WyX-looc2X4&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlWwmcu-5Fc8biQnsq7PeT1-5F9d8pOUQks5tCAT0gaJpZM4RHZU1&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=Epc7e3xVYOlji5fO5d2PGxm0VlNWTEuC6nviFyLR_a8&s=59QnYpIm7qFoSInvApdE8bi_lcrwRAe8fal35NTpKZQ&e=>.
|
Beta Was this translation helpful? Give feedback.
-
|
EDIT: This should be done by using the LeaveSwarm and NodeDelete operations: |
Beta Was this translation helpful? Give feedback.
-
|
AFAIK, portainer doesn't yet support swarm management |
Beta Was this translation helpful? Give feedback.
-
|
@WTFKr0 yeap, as a part of another feature request probably. |
Beta Was this translation helpful? Give feedback.
-
|
Related to #1612 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
From the swarm page, there is no way to delete nodes that have been removed from the swarm
Steps to reproduce the issue:
Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:
docker run -p 9000:9000 portainer/portainer):Beta Was this translation helpful? Give feedback.
All reactions