Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy template, due to network existing on different node #4052

Open
ghost opened this issue Jul 16, 2020 · 0 comments
Open

Unable to deploy template, due to network existing on different node #4052

ghost opened this issue Jul 16, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 16, 2020

Bug description
Trying to deploy a container template with a network that only exists on a single swarm node (different to the one Portainer is running on) fails, as that network doesn't exist where Portainer is trying to deploy the container

Expected behavior
Not sure on the best UX for this.

  1. Hide the network if it doesn't exist on the node Portainer is on.
  2. Alternatively we could just make the message clear the that the network specified does not exist on the node that portainer is running on
  3. Add the ability to specify host and then only show networks of the node selected

Steps to reproduce the issue:

  1. Create network test on node2
  2. Try to deploy template with this network
  3. See error could not find network test

Obviously this is because the network doesn't exist on the node the template is being deployed on

Technical details:

  • Portainer version: 1.24.1
  • Docker version (managed by Portainer): 19.03.12
  • Platform (windows/linux): Linux
  • Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): docker stack deploy
  • Browser: FireFox
@ghost ghost added kind/bug Applied to Bugs area/templates bug/confirmed priority/low Core team priority labels Jul 16, 2020
@deviantony deviantony removed the priority/low Core team priority label Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant