Bug 1534904

Summary: UDisks reports wrong thinpool size
Product: Red Hat Enterprise Linux 7 Reporter: Vojtech Trefny <vtrefny>
Component: udisks2Assignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Storage QE <storage-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: bmilar, rhandlin, tpelka, xhe
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: udisks2-2.7.3-5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1583658 (view as bug list) Environment:
Last Closed: 2018-04-10 15:43:20 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: 1583658, 1583663    

Description Vojtech Trefny 2018-01-16 09:21:41 UTC
UDisks reports size for thinpools to be double than it actually is.

$ busctl get-property org.freedesktop.UDisks2 /org/freedesktop/UDisks2/lvm/test/thinpool org.freedesktop.UDisks2.LogicalVolume Size
t 109051904

$ sudo lvs
  LV       VG                 Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert                                                
  thinpool test twi-a-tz-- 52.00m 

There is already a fix upstream -- https://github.com/storaged-project/udisks/commit/821bc20911e9a446b943cf40abe0e8a8132bf418

Comment 4 Bohdan Milar 2018-02-07 19:34:34 UTC
Tested on x86_64, ppc64, ppc64le, aarch64.

Bug reproduced with udisks2-2.7.3-4.
NOT reproduced with udisks2-2.7.3-6.

Fix verified.

Comment 7 errata-xmlrpc 2018-04-10 15:43:20 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://access.redhat.com/errata/RHBA-2018:0868