Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

[19.03 backport] Fix regression in handling of NotFound err during startup ENGCORE-929 #317

Merged
merged 1 commit into from Aug 9, 2019

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Aug 9, 2019

backport of moby#39703 for 19.03

Signed-off-by: Deep Debroy ddebroy@docker.com
(cherry picked from commit 4d5b626)
Signed-off-by: Sebastiaan van Stijn github@gone.nl

- What I did
Address a regression during daemon startup introduced in moby#38931.

fixes moby#39623
fixes moby#39742
fixes docker/for-win#4463
fixes microsoft/navcontainerhelper#548

- How I did it
Added (back) proper handling of NotFound err

- How to verify it
Start a container in Windows like:

docker run -d --restart always --name testcontainer --network nat -p 8080:80 mcr.microsoft.com/windows/servercore:ltsc2019 ping -t 127.0.0.1

and Restart-Computer.
After reboot, make sure container comes back up properly and is not a zombie.

- Description for the changelog
Fix regression in reboot of Windows daemon

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Deep Debroy <ddebroy@docker.com>
(cherry picked from commit 4d5b626)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

@ddebroy @crosbymichael @kolyshkin ptal

@thaJeztah thaJeztah changed the title [19.03 backport] Fix regression in handling of NotFound err during startup [19.03 backport] Fix regression in handling of NotFound err during startup ENGCORE-929 Aug 9, 2019
@ddebroy
Copy link

ddebroy commented Aug 9, 2019

LGTM

@crosbymichael
Copy link

crosbymichael commented Aug 9, 2019 via email

Copy link

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Member Author

RS1 failure can be fixed by moby#39168

which wasn't backported yet

02:24:29 --- FAIL: TestClientWithRequestTimeout (0.00s)
02:24:29     client_test.go:259: assertion failed: 
02:24:29         --- context.DeadlineExceeded
02:24:29         +++ err
02:24:29         :
02:24:29         	-: context.deadlineExceededError{}
02:24:29         	+: &net.OpError{Op: "dial", Net: "tcp", Addr: s"127.0.0.1:49294", Err: &poll.TimeoutError{}}

@andrewhsu andrewhsu merged commit 29fe4e5 into docker:19.03 Aug 9, 2019
@thaJeztah thaJeztah deleted the 19.03_backport_fix_39623 branch August 9, 2019 09:03
@freddydk
Copy link

Any information on when we will see this released?
Azure VMs using image Windows Server 2019 with Containers is now including 19.03.1 and all containers are left as living dead after reboot (which happens frequently)

@thaJeztah
Copy link
Member Author

19.03.2 will be released next week and include this patch

@freddydk
Copy link

Great, will there be a docker desktop 2.1.0.2 as well then?
Will have to reach out to Azure team to update the server images asap.

@thaJeztah
Copy link
Member Author

Desktop releases will be released in tandem, yes

@cpuguy83
Copy link

Doesn't seem like this commit is in the 19.03.2 tag.

@thaJeztah
Copy link
Member Author

@cpuguy83
Copy link

Ah, GH is not reporting it in the tag for some reason.
I did a compare and indeed it seems like it is there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
7 participants