Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1547508

Summary: Logical size of the VDO volume should be sum of sizes all the bricks
Product: [oVirt] cockpit-ovirt Reporter: SATHEESARAN <sasundar>
Component: GdeployAssignee: Gobinda Das <godas>
Status: CLOSED CURRENTRELEASE QA Contact: bipin <bshetty>
Severity: high Docs Contact:
Priority: high    
Version: 0.11.7CC: bugs, lveyde, rhs-bugs, sabose
Target Milestone: ovirt-4.2.2Flags: sasundar: ovirt-4.2?
sasundar: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+
Target Release: 0.11.17   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.11.17-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1547505 Environment:
Last Closed: 2018-04-27 07:22:36 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: 1547505    

Description SATHEESARAN 2018-02-21 13:04:22 UTC
+++ This bug was initially created as a clone of Bug #1547505 +++

Description of problem:
-----------------------
Firstly there is already a issue(BZ 1547450), where gdeploy config file is generated to have multiple VDO volumes.If that issue is fixed, the logical size of VDO volume should be sum of sizes of bricks and multiplied by 10

Currently, the size of one of brick is made as the logical size of VDO volume.

Note: For VM usecase on VDO, the recommended physical to logical size ration is 10:1

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

How reproducible:
-----------------
Always

Steps to Reproduce:
--------------------
1. Start RHHI installation from cockpit, using 'Hosted Engine with Gluster'
2. Proceed with enabling dedupe and compression on all the bricks

Actual results:
---------------
VDO logical size is set to the logical size of one of the brick

Expected results:
-----------------
gdeploy configuration file should contain logical size of the VDO volume equal to 10*(sum of size of all the bricks)

Comment 1 bipin 2018-04-18 13:04:14 UTC
Verified the bug in the below component version's successfully.

Component versions's:
gdeploy-2.0.2-23.el7rhgs.noarch
cockpit-ovirt-dashboard-0.11.21-1.el7ev.noarch

Steps:
1. Install VDO 
2. Start the gluster deployment via cockpit UI and check the compression and deduplication tab.
3. Could see that the logical size is equal to 10 times the sum of bricks

Result:
Please find the attached screenshot of the verification

Comment 3 Sandro Bonazzola 2018-04-27 07:22:36 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.