Bug 1185912 - LVM pool utilization is not reported
Summary: LVM pool utilization is not reported
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-26 15:40 UTC by Vít Ondruch
Modified: 2015-02-20 00:33 UTC (History)
6 users (show)

Fixed In Version: mock-1.2.6-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-09 05:29:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2015-01-26 15:40:27 UTC
Description of problem:
LVM thin pool report was introduced by bug 1167761, but the utilization is not reported for me. This is what I always get:

INFO: LVM plugin enabled. Allocated pool data: None%. Allocated metadata: None%.

and this is my LVM configuration:

config_opts['plugin_conf']['lvm_root_opts'] = {
    'volume_group': 'vg_fedora',
    'size': '15G',
    'pool_name': 'mock',
}


Version-Release number of selected component (if applicable):
$ rpm -q mock-lvm
mock-lvm-1.2.4-1.fc21.noarch


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
LVM pool utilization is not reported.


Expected results:
LVM pool utilization is reported.


Additional info:
Might it be due to wrong default, or that the default configuration override overrides also the "config_opts['plugin_conf']['lvm_root_opts']['check_size']"? I would consider this bug anyway :)

Comment 1 Miroslav Suchý 2015-01-26 16:31:31 UTC
Output of lvdisplay |grep Allocated
  Allocated pool data    63,68%
  Allocated metadata     32,13%

There is coma instead of dot. Which is likely due non standard LC_NUMERIC.

Fixed by:
  * 1ba8fc8  reset LC before calling lvm commands [RHBZ#1185912]

Comment 2 Fedora Update System 2015-02-03 04:42:10 UTC
mock-1.2.6-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.2.6-1.el6

Comment 3 Fedora Update System 2015-02-03 04:42:46 UTC
mock-1.2.6-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/mock-1.2.6-1.el7

Comment 4 Fedora Update System 2015-02-03 04:43:38 UTC
mock-1.2.6-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mock-1.2.6-1.fc20

Comment 5 Fedora Update System 2015-02-03 04:44:09 UTC
mock-1.2.6-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mock-1.2.6-1.fc21

Comment 6 Fedora Update System 2015-02-03 19:31:55 UTC
Package mock-1.2.6-1.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mock-1.2.6-1.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0617/mock-1.2.6-1.el7
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-02-09 05:29:24 UTC
mock-1.2.6-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-02-15 02:55:46 UTC
mock-1.2.6-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-02-20 00:32:31 UTC
mock-1.2.6-1.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-02-20 00:33:30 UTC
mock-1.2.6-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


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