Bug 1417300
| Summary: | Error removing intermediate container XXXX: rmdriverfs: Driver devicemapper failed to remove root filesystem XXXXX: Device is Busy | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luiz Carvalho <lucarval> | ||||||
| Component: | Containers | Assignee: | Vivek Goyal <vgoyal> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | DeShuai Ma <dma> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 3.3.1 | CC: | aos-bugs, jligon, jokerman, lucarval, mateus.caruccio, mmccomas, smahajan, twaugh, vrutkovs | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2017-09-07 13:14:23 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Luiz Carvalho
2017-01-27 21:08:55 UTC
Created attachment 1245274 [details]
Host info
Few questions. - How to reproduce it. Do you have an easy way to reproduce it? - Are you running docker daemon with MountFlags=slave > - How to reproduce it. Do you have an easy way to reproduce it? On this host, I can reproduce it simply by running multiple docker builds simultaneously. > - Are you running docker daemon with MountFlags=slave Yes, attached systemd init file. Created attachment 1245925 [details]
systemd docker init config
BTW, I see following. Successfully built adba727c6b61 That means that despite errors, docker continued to build layer. If that's the case then these errors could be a red herring. And real problem could be that some other tool actually deleted the image and that's why push failed. Can you please verify that these errors actually lead to build failure and image was not generated? Hi, Can you provide the ssh details of the node, where this error is happening ? So that I can login and take a look into this. Shishir > Can you please verify that these errors actually lead to build failure and image was not generated?
Build is succeeding for now. However, we noticed these messages before which we had thought of being harmless. Eventually, their frequency increased and builds started to fail. Also, in some cases, docker build was successful but pushing an image to a registry failed:
APIError: 500 Server Error: Internal Server Error ("plugin rhel-push-plugin failed with error: AuthZPlugin.AuthZReq: Error response from daemon: layer does not exist")
As previously mentioned, we're not seeing these failures anymore after clearing the storage. My concern is that the error messages we're seeing now will eventually lead up to the aforementioned failures.
> Can you provide the ssh details of the node, where this error is happening ?
This host is managed by sysops, and even I don't have direct access to it.
Is there some specific info that you'd like gathered?
Or is direct access the only option?
(In reply to Luiz Carvalho from comment #8) > > Can you please verify that these errors actually lead to build failure and image was not generated? > > Build is succeeding for now. However, we noticed these messages before which > we had thought of being harmless. Eventually, their frequency increased and > builds started to fail. Also, in some cases, docker build was successful but > pushing an image to a registry failed: > APIError: 500 Server Error: Internal Server Error ("plugin rhel-push-plugin > failed with error: AuthZPlugin.AuthZReq: Error response from daemon: layer > does not exist") > > As previously mentioned, we're not seeing these failures anymore after > clearing the storage. My concern is that the error messages we're seeing now > will eventually lead up to the aforementioned failures. Ok, if you are not experiencing these errors after resetting the storage, then this should not be a blocker bug. So please remove status of this bug. Also if image was successfully built and layer was found missing at the time of push, then it most likely is a different issue and not related to device being busy. Device is most likely busy because it probably leaked into some other mount namespace. And if it happens frequently, then it should be debugged as a separate issue. But given device busy failure does not lead to build failure, that error does not seem blocker issue. Hi, Can you setup a local node (VM) where you can reproduce this issue ? And then provide us access to that local node. Having a machine (VM) with a reproducer would be a good starting point for me to start looking into the issue. Shishir Is this still an issue with latest docker? If not, I would like to close it. Try latest docker (-55). Device removal failures were in part due to mount point leaking. Now we ship oci-umount which will help with leaking mount points and that might fix the issue. If this problem is reproducible with latest docker, then I can look at it otherwise I would like to close this bug. +1 for closing this ticket. Thanks! |