Open matt-taranto opened 5 years ago
Any feedback/suggestions around this one? Happy to try anything, get more logs etc to help run it down.
I can confirm @matt-taranto's issue and his logs. The same symptom occurs with deploying multiple services on a windows worker node.
PS: Sorry I don't have a specific yml or exception message above, we spent a couple of weeks on this issue trying different things and it wasn't till I found this thread that I switched the worker node to be on Windows Server ltsc2016 and everything started working so we had to make up for lost time and I didn't gather any of the failure artifacts. The yml is easy to recreate, as Matt has indicated above.
Same issue for me, rhel 7 master windows server 2019 worker.
Exact same functionality as described above.
Description Hi there, We've just started trying to migrate from Docker on Windows Server 2016, to Server 2019, and have hit some issues trying to standup and teardown stacks cleanly. I'm sure we're just doing something wrong, as this was all just working on 2016, so some guidance would be much appreciated. We've tried running this on hosts running on VMWare, and on AWS, and are able to reliably reproduce with only 1 node in the swarm.
Steps to reproduce the issue: All OS Setup instructions followed:
Install-PackageProvider -Name NuGet -RequiredVersion "2.8.5.208" -Force
Install-Module DockerMsftProvider -RequiredVersion "1.0.0.6" -Force
Install-Package Docker -ProviderName DockerMsftProvider -RequiredVersion "18.09.4" -Force
docker swarm init --advertise-addr="192.168.1.1"
docker stack deploy --compose-file ".\repro.yml" stack
Minimal reproducible compose file pasted below. We're running about 20 services normally, and they all have infinite powershell scripts that update xml configuration, and then start a service and waits in a loop indefinitely. I've digest pinned to make sure that the same base container can be used to repro.networks: network: external: false
PS C:\Users\Administrator\Desktop\Docker> docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 754d3f77cdc6 mcr.microsoft.com/windows/servercore "powershell while($t…" About a minute ago Exited (3221225786) 29 seconds ago stack_servercore.3.c6mxlecnidh0ut9tmyjqgtzyt
Client: Docker Engine - Enterprise Version: 18.09.4 API version: 1.39 Go version: go1.10.8 Git commit: c3516c43ef Built: 03/27/2019 18:22:15 OS/Arch: windows/amd64 Experimental: false
Server: Docker Engine - Enterprise Engine: Version: 18.09.4 API version: 1.39 (minimum version 1.24) Go version: go1.10.8 Git commit: c3516c43ef Built: 03/27/2019 18:20:29 OS/Arch: windows/amd64 Experimental: false
Containers: 1 Running: 0 Paused: 0 Stopped: 1 Images: 1 Server Version: 18.09.4 Storage Driver: windowsfilter Windows: Logging Driver: json-file Plugins: Volume: local Network: ics l2bridge l2tunnel nat null overlay transparent Log: awslogs etwlogs fluentd gelf json-file local logentries splunk syslog Swarm: active NodeID: ghb4x7uuse2l8ps1kfpknuxwm Is Manager: true ClusterID: dlzrmcaus247hjudwu37h340n Managers: 1 Nodes: 1 Default Address Pool: 10.0.0.0/8 SubnetSize: 24 Orchestration: Task History Retention Limit: 5 Raft: Snapshot Interval: 10000 Number of Old Snapshots to Retain: 0 Heartbeat Tick: 1 Election Tick: 10 Dispatcher: Heartbeat Period: 5 seconds CA Configuration: Expiry Duration: 3 months Force Rotate: 0 Autolock Managers: false Root Rotation In Progress: false Node Address: 10.60.25.181 Manager Addresses: 10.60.25.181:2377 Default Isolation: process Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434) Operating System: Windows Server 2019 Datacenter Version 1809 (OS Build 17763.379) OSType: windows Architecture: x86_64 CPUs: 4 Total Memory: 15.54GiB Name: EC2AMAZ-P4KR443 ID: FOBI:ZUHN:H7RY:LGIE:S2YH:IG2I:TVC4:IVKJ:LJES:LOQK:RQ2N:EYGN Docker Root Dir: C:\ProgramData\docker Debug Mode (client): false Debug Mode (server): true File Descriptors: -1 Goroutines: 168 System Time: 2019-03-31T23:43:55.6110218Z EventsListeners: 0 Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false