Bug 1617977

Summary: Report space saving values in vdo stats
Product: [oVirt] vdsm Reporter: Sahina Bose <sabose>
Component: GlusterAssignee: Denis Chaplygin <dchaplyg>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: high    
Version: 4.30.0CC: apinnick, bshetty, bugs, rcyriac, ylavi
Target Milestone: ovirt-4.2.6Flags: rule-engine: ovirt-4.2+
rule-engine: exception+
ylavi: planning_ack+
sabose: devel_ack+
bshetty: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
VDO savings are displayed as part of the brick properties in the Manager UI. This feature allows administrators to see the actual space savings resulting from VDO duplication and compression.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-13 07:41:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1590967    

Description Sahina Bose 2018-08-16 10:13:10 UTC
Description of problem:

To display space savings to user in oVirt engine, when vdo is turned on for a device, these values need to be reported from vdsm in the vdo verbs.

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


How reproducible:
NA

Comment 1 SATHEESARAN 2018-09-04 12:05:24 UTC
vdsm reports the size values properly

#  vdsm-client --gluster-enabled GlusterHost vdoVolumeList
{
    "vdoVolumeList": [
        {
            "name": "/dev/mapper/vdo_sdb", 
            "free": 19954217996288, 
            "device": "/dev/sdb", 
            "physicalBytesUsed": 3286122496, 
            "logicalBytesUsed": 12486795264, 
            "size": 19998441472000
        }
    ]
}