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 1184246 - default thin_check options don't have --clear-needs-check-flag
Summary: default thin_check options don't have --clear-needs-check-flag
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.1
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Peter Rajnoha
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 1184353
TreeView+ depends on / blocked
 
Reported: 2015-01-20 20:42 UTC by Vivek Goyal
Modified: 2023-03-08 07:27 UTC (History)
11 users (show)

Fixed In Version: lvm2-2.02.115-1.el7
Doc Type: Bug Fix
Doc Text:
No documentation needed. This is intra-release bug.
Clone Of:
: 1184353 (view as bug list)
Environment:
Last Closed: 2015-03-05 13:11:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0513 0 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2015-03-05 16:14:41 UTC

Description Vivek Goyal 2015-01-20 20:42:23 UTC
Description of problem:

I installed latest lvm2 (lvm2-2.02.114-5.el7.x86_64) on rhel7.1 virtual machine.
and then I did "lvm dumpconfig --type default | grep thin_check_options". And following is output.

 thin_check_options="-q"

I was expecting default to be.


thin_check_options="-q --clear-needs-check-flag"

I am expecting above to be default so that needs-check flag clears on the
pool automatically during thin pool volume activation.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Kabelac 2015-01-20 20:47:42 UTC
Configure log from builds needs to be checked for WARNINGs:

These comes from the latest build and are quite serious:

checking whether to include thin provisioning... internal
configure: WARNING: /usr/sbin/thin_check: Bad version "" found
checking for x86_64-redhat-linux-gnu-thin_restore... no
checking for thin_restore... no
checking whether thin_check supports the needs-check flag... configure: WARNING: thin_restore not found in path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin
no
checking whether to include cache... internal
checking for x86_64-redhat-linux-gnu-cache_check... no
checking for cache_check... no
configure: WARNING: cache_check not found in path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin
checking for x86_64-redhat-linux-gnu-cache_dump... no
checking for cache_dump... no
configure: WARNING: cache_dump not found in path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin
checking for x86_64-redhat-linux-gnu-cache_repair... no
checking for cache_repair... no
configure: WARNING: cache_repair not found in path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin
checking for x86_64-redhat-linux-gnu-cache_restore... no
checking for cache_restore... no
configure: WARNING: cache_restore not found in path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin

...

configure: WARNING: unrecognized options: --disable-dependency-tracking
configure: WARNING: Support for thin provisioning is limited since some thin provisioning tools are missing!
configure: WARNING: You should also install thin_check vsn 0.3.2 (or later) to use lvm2 thin provisioning
configure: WARNING: Support for cache is limited since some cache tools are missing!

Comment 3 Alasdair Kergon 2015-01-20 22:51:20 UTC
Missing BuildRequires, so it's not detecting the tools and missing these settings out of the build.

Comment 4 Peter Rajnoha 2015-01-21 14:07:00 UTC
(In reply to Alasdair Kergon from comment #3)
> Missing BuildRequires, so it's not detecting the tools and missing these
> settings out of the build.

Added to the lvm2 spec file.

Comment 6 Corey Marthaler 2015-01-22 21:31:19 UTC
Marking verified in the latest rpms.

lvm2-2.02.114-5.el7:
[root@host-113 ~]# lvm dumpconfig --type default | grep thin_check_options
        thin_check_options="-q"


lvm2-2.02.115-2.el7:
[root@host-114 ~]# lvm dumpconfig --type default | grep thin_check_options
        thin_check_options="-q --clear-needs-check-flag"

Comment 8 errata-xmlrpc 2015-03-05 13:11:02 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-0513.html


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