Bug 1518519

Summary: [DOCKER] Builds fail with "error: build error: devmapper: Error mounting"
Product: Red Hat Enterprise Linux 7 Reporter: Jaspreet Kaur <jkaur>
Component: dockerAssignee: Antonio Murdaca <amurdaca>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.4CC: amurdaca, ancollin, ansverma, aos-bugs, atripath, bjarolim, clichybi, cynthia.devaraj, dornelas, dwalsh, dzhukous, erjones, fkluknav, jamills, jhonce, jkaur, jokerman, lsm5, mmccomas, pdwyer, sgaikwad, tsweeney, vgoyal
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: docker-1.12.6-71.git3e8e77d.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-25 12:57:49 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:
Bug Depends On:    
Bug Blocks: 1186913    

Description Jaspreet Kaur 2017-11-29 06:47:36 UTC
Description of problem: Builds are failing with below error :

error: build error: devmapper: Error mounting '/dev/mapper/docker-253:7-786433-66102a8b70b2778aac36aa9ef99d6cbb7d9b9f46188ff870807c017496162a7c' on '/var/lib/docker/devicemapper/mnt/66102a8b70b2778aac36aa9ef99d6cbb7d9b9f46188ff870807c017496162a7c': invalid argument


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
 
Actual results: Fails each time with the error


Expected results: It should suceed


Additional info :

Seems similar to  https://github.com/openshift/origin/issues/17330

Comment 2 Cynthia 2017-11-29 18:26:52 UTC
This impacts our user community, can you please priortize this

Comment 7 Cynthia 2017-12-01 18:12:05 UTC
Any updates on this issue 

Thanks,
Cynthia

Comment 8 Vivek Goyal 2017-12-01 18:22:29 UTC
I can't find error message in the log. Where did you get this error message. I will need all the surrounding messages around that and see if something is odd.

Also please provide me a system where problem is reproducible.

Comment 32 Daniel Walsh 2017-12-12 14:02:58 UTC
I believe this would only happen if the container was created on a docker enabled selinux system which was later disabled, on the host.

Comment 33 Daniel Walsh 2017-12-12 14:03:23 UTC
I actually think the system has SELinux disabled.

Comment 34 Daniel Walsh 2017-12-12 14:05:27 UTC
This label also looks strange since it only uses one category.  Not sure if OpenShift allows users to specify the MCS Label?  Using one category is not a great idea,  Since all containers with s0:c12,c* can write to this label.

Comment 54 Daniel Walsh 2018-01-04 19:55:53 UTC
Antonio do we have these patches merged?

Comment 64 Vivek Goyal 2018-01-18 13:23:15 UTC
*** Bug 1535694 has been marked as a duplicate of this bug. ***

Comment 66 errata-xmlrpc 2018-01-25 12:57:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0202