Description
Attempting to connect to a Windows swarm host from a new deployment of Portainer 1.16.0 fails. 1.15.5 works fine.
Steps to reproduce the issue:
docker service create --name portainer --publish published=9000,target=9000,mode=host --endpoint-mode dnsrr --replicas=1 --constraint 'node.role == manager' --mount type=volume,src=portainer,dst=c:/data portainer/portainer:latestget-netipaddressChrome console shows requests to http://host:9000/api/endpoints/xx/docker/plugins returning 500 errors, followed by DELETE .../endpoints/xx. The error body contains a message of "Plugins are not supported on this platform"
Technical details:
docker service create --name portainer --publish published=9000,target=9000,mode=host --endpoint-mode dnsrr --replicas=1 --constraint 'node.role == manager' --mount type=volume,src=portainer,dst=c:/data portainer/portainer:latestHey @chrisvanderpennen, thanks for the report.
Could you give a try to portainer/portainer:pr1586 and tell me if it solves the issue?
Hey @deviantony, your PR fixes the connection issue. I have an instance of portainer:pr1586 happily managing the Windows swarm node hosting it. Thanks!
There's a few routes that still make the same request and pop up a toast of:
Failure
Unable to retrieve plugins
But they appear to work fine despite the toast. Would you like me to file a separate report for that?
@chrisvanderpennen nice !
Yes, please open another issue to report the problems on the other routes.