RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1214070 - [rhel-7.1.3] [docker-storage-setup] Create spec file dependency to require lvm2 version >= lvm2-2.02.112
Summary: [rhel-7.1.3] [docker-storage-setup] Create spec file dependency to require lv...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rhel-server-atomic
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks: 1211379
TreeView+ depends on / blocked
 
Reported: 2015-04-21 21:04 UTC by Vivek Goyal
Modified: 2015-06-23 09:29 UTC (History)
11 users (show)

Fixed In Version: docker-1.6.2-10.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-23 09:29:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1167 0 normal SHIPPED_LIVE docker bug fix update 2015-06-23 13:29:05 UTC

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


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