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
Devicemapper "Unknown Device" when trying to start "Created" container #22031
Comments
Is there any additional information I could provide to help diagnose this issue? |
We saw this issue again today, docker complaining about "Unknown device":
If we take a look at the devicemapper files, there is 1 for the container, 1 init for mnt, 1 init for metadata:
Having a look at these flies (not that this means anything to me):
Check dmsetup:
This container does not appear to be known to devicemapper but is still known to docker. As you can see it's been there for 5 hours but docker hasn't picked up that it doesn't exist. I can't find any errors in the docker logs relating to this (aside from the "Unknown device" error above). Any pointers on any debug I can switch on for docker (or devicemapper?) greatly appreciated. |
ping @rhvgoyal any suggestions? @andrewmichaelsmith are you still able to reproduce this on the current version of docker? There's been a lot of changes since 1.8, and we don't do patch releases for older releases |
closing, because we didn't get a reply, open a new issue if you're still having this on the current release |
same problem
|
Just saw this on docker 1.12.1 |
@marksteward Docker 1.12.1 or 17.12.1? Docker 1.12.1 reached end of life in March of last year, and has not been maintained since. However without full details, and without a reproducible case, this may be difficult to address. If you do have a consistent way to reproduce this on a current version of Docker, please open a new issue instead. |
Yep, no problem - just updating here in case anyone stumbles across it in the future. We've got some theories about what caused it. |
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:
We see this issue quite often but I've failed to reproduce it consistently. If you could provide us with any pointers we'd be very grateful.
Describe the results you received:
It is sometimes the case that a container is "Created" (using, I think, docker create) but a
docker start
of that container fails with an error:As you might expect, this is not showing up in devicemapper:
$ lsblk | grep 217410d0ab96 $
It looks like - even though docker thinks the container exists, devicemapper does not.
Describe the results you expected:
I would expect
217410d0ab96
to start without issue.Additional information you deem important (e.g. issue happens only occasionally):
Unfortunately the issue only happens occasionally. But often enough that we will usually have a few lying around, I'm ready and waiting to provide any additional debug you need.
The text was updated successfully, but these errors were encountered: