-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
dockerd segfaults on rollback after a constraint has been set #42783
Labels
area/swarm
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
version/20.10
Comments
Can you paste just the stack where the panic is? I'm not inclined to open a random zip. |
Yes, here it is :
|
akiuni
changed the title
dockerd segfaults when on query POST rollback
dockerd segfaults on rollback after a constraint has been set
Aug 26, 2021
cpuguy83
added
area/swarm
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
version/20.10
labels
Aug 31, 2021
This is a duplicate of #37883. It's been reported in swarmkit repo and a PR is ready to be merged, cf. moby/swarmkit#2947 and moby/swarmkit#2950. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/swarm
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
version/20.10
BUG REPORT INFORMATION
In swarm mode, dockerd segfaults on query "POST rollback=previous" to rollback a constraint.
Steps to reproduce the issue:
I've written a pytest from aiodocker lib to reproduce the bug :
Describe the results you received:
dockerd crashes and corrupts the swarm.
Describe the results you expected:
In the test, the constraint should have been removed properly.
Additional information you deem important (e.g. issue happens only occasionally):
If I run actions manually, dockerd doesn't crash
In the test, I add labels before the set constaints, the test passes
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
I'm runing on a single node swarm bound on localhost:unix//. OS is VirtualBox 6.1 / Debian 10.9.
Also reproduced on another computer, Docker version 20.10.7, build 20.10.7-0, Ubuntu 20.04.1, no virtual box.
Bug appears when dockerd is started via systemd but also manually with :
/usr/bin/dockerd -D -H unix:// --containerd=/run/containerd/containerd.sock
I attach the ouput log
20210817_crash_dockerd.zip
The text was updated successfully, but these errors were encountered: