-
Notifications
You must be signed in to change notification settings - Fork 17
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
LLT-5040 Fix nat-lab issues around dockers #467
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
b552195
to
ed39c2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think security related changes should have separate PRs
moby/moby#47619 Because of this bug eth0 is not created before sysctl are being set so it is not possible to set any syscts related to the specific interfaces. We can create a workaround by not setting eth0. Instead we can set default so eth0 will have this value assigned later when created.
This reverts commit b98310a. The bug with missing interfaces was not related to any race condition. It was a bug in docker compose: docker/compose#11510 The only affected version is: 2.24.6
v1.0.2 uses Vagrant box with updated docker compose version to get rid of nat-lab issues with missing network interfaces
ed39c2a
to
048c05c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+0.5
LLT-5040 Fix nat-lab issues around dockers
Bug no. 1: Bug in docker compose: docker/compose#11510
This bug randomly causes missing network interfaces in started containers. We just updated docker compose version to the version which is not affected.
Bug no. 2: Bug in docker daemon: moby/moby#47619
Because of this bug eth0 is not created before sysctls are being set so it is not possible to set any sysctls related to the specific interfaces.
We can create a workaround by not setting eth0. Instead we can set default so eth0 will have this value assigned later when created.
☑️ Definition of Done checklist