Bug 1214070

Summary: [rhel-7.1.3] [docker-storage-setup] Create spec file dependency to require lvm2 version >= lvm2-2.02.112
Product: Red Hat Enterprise Linux 7 Reporter: Vivek Goyal <vgoyal>
Component: rhel-server-atomicAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: dwalsh, jeder, jkrieger, lsm5, lsu, miabbott, miminar, msnitzer, sghosh, walters, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: docker-1.6.2-10.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-23 09:29:21 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: 1211379    

Description Vivek Goyal 2015-04-21 21:04:25 UTC
Description of problem:

docker-storage-setup.sh requires minimum lvm2 version to be lvm2-2.02.112. Express this dependency in spec file when we ship it in 7.1.3.

Running docker-storage-setup.sh with old lvm2 creates bad thin pool mappings
which can't even be removed using latest lvm2 tools in 7.1.

So it will not be wise to get customers into such situation.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Vivek Goyal 2015-04-21 21:26:35 UTC
Dan mentioned that docker-storage-setup will be shippped in 7.1.3. This fix should go out with it. We don't want existing customers to be running old lvm2
with docker-storage-setup and run into bunch of problems (as we did this morning when a developer from rel-eng tried to setup lvm thin pool).

Comment 3 Daniel Walsh 2015-04-22 18:42:44 UTC
Lokesh can you start the process of getting docker-storage into Extras, and set the rpm up with  a requirement of the latest version of lvm2.

Comment 5 Michal Minar 2015-06-10 13:04:57 UTC
Docker no longer requires lvm2 since 1.6.2-5 although it should.
In commit edc795d6e3dbd5c9ba09509a437c873347cf2425 docker-storage-setup subpackage was removed together with:

    Requires: lvm2 >= 2.02.112
    Requires: systemd-units
    Requires: xfsprogs

These should be added to the docker package.

Comment 6 Lokesh Mandvekar 2015-06-10 18:35:37 UTC
(In reply to Michal Minar from comment #5)
> Docker no longer requires lvm2 since 1.6.2-5 although it should.
> In commit edc795d6e3dbd5c9ba09509a437c873347cf2425 docker-storage-setup
> subpackage was removed together with:
> 
>     Requires: lvm2 >= 2.02.112
>     Requires: systemd-units
>     Requires: xfsprogs

just to note, systemd-units is provided by the base systemd package itself and the dep list contains a simple 'systemd' (in addition to the other deps mentioned of course)

Comment 8 Luwen Su 2015-06-15 06:20:33 UTC
In docker-1.6.2-10.el7.x86_64, move to verified
# rpm -e lvm2-2.02.115-3.el7.x86_64
lvm2 >= 2.02.112 is needed by (installed) docker-1.6.2-10.el7.x86_64
# rpm -e xfsprogs
xfsprogs is needed by (installed) docker-1.6.2-10.el7.x86_64

Comment 10 errata-xmlrpc 2015-06-23 09:29:21 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-2015-1167.html