Bug 1298363 - docker: Backport device maper deferred device deletion fix in 1.9
Summary: docker: Backport device maper deferred device deletion fix in 1.9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-13 22:26 UTC by Vivek Goyal
Modified: 2019-03-06 00:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-31 23:23:14 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0536 0 normal SHIPPED_LIVE docker bug fix and enhancement update 2016-04-01 03:19:56 UTC

Description Vivek Goyal 2016-01-13 22:26:58 UTC
Description of problem:

Device mapper graphdriver deferred device deletion feature has a bug which I 
recently fixed upstream and will show up in 1.10. As we will be enabling deferred device deletion by default in 1.9, I think it is important to backport that fix in 1.9.

https://github.com/docker/docker/pull/19241

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

1.9.1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Daniel Walsh 2016-01-13 22:29:07 UTC
Could you open a pull request on the rhel7-1.9 branch.

Comment 2 Vivek Goyal 2016-01-13 22:30:48 UTC
Ok, will do

Comment 4 Daniel Walsh 2016-02-22 20:09:28 UTC
Did this ever happen, or not fixed until docker-1.10

Comment 5 Daniel Walsh 2016-02-22 20:10:08 UTC
Did this ever happen, or not fixed until docker-1.10

Comment 6 Vivek Goyal 2016-02-22 20:12:41 UTC
I think it got pulled into rhel 1.9.

https://github.com/projectatomic/docker/pull/65

Comment 7 Daniel Walsh 2016-02-23 13:49:31 UTC
Fixed in docker-1.9

Comment 9 Luwen Su 2016-03-18 08:36:09 UTC
I can only verify this by watching the log and the patch witin 
docker-1.9.1-23.el7.x86_64,

Starting docker daemon with
#docker daemon --storage-opt dm.use_deferred_removal=true --selinux-enabled --storage-opt dm.use_deferred_deletion=true -D

Trigger defer remove:
#docker run -ti --rm rhel7 /bin/bash
#docker run -ti -v /:/host rhel7 bash

exit the first container will trigger:
Deferred Deleted Device Count: 1

and after exit the second later, it will be to zero later

Comment 11 errata-xmlrpc 2016-03-31 23:23:14 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://rhn.redhat.com/errata/RHBA-2016-0536.html


Note You need to log in before you can comment on or make changes to this bug.