Bug 1547704 - Incorrect size of the brick in the generated gdeploy config file
Summary: Incorrect size of the brick in the generated gdeploy config file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHHI-V 1.5
Assignee: Sahina Bose
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1547705
Blocks: 1520836
TreeView+ depends on / blocked
 
Reported: 2018-02-21 18:59 UTC by SATHEESARAN
Modified: 2018-11-08 05:38 UTC (History)
1 user (show)

Fixed In Version: cockpit-ovirt-0.11.17-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1547705 (view as bug list)
Environment:
Last Closed: 2018-11-08 05:37:26 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:3523 0 None None None 2018-11-08 05:38:11 UTC

Description SATHEESARAN 2018-02-21 18:59:26 UTC
Description of problem:
-----------------------
When user inputs the size of the bricks as 'X' GB, the logical size of the VDO volume as made available in the generated gdeploy config file is just 'X' which creates VDO volume with logical size 'X' MB

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, by selecting 'Hosted Engine with Gluster'
2. While on the 'bricks' tab, provide the size of the brick
3. Enable dedupe and compression on all the bricks from the same device
4. Observe the generated gdeploy config file

Actual results:
---------------
generated gdeploy config file has the size in numeral without proper units, so VDO cli creates VDO volume takes it as MB by default

Expected results:
-----------------
The unit 'G' should be suffixed to the computed logical size


Additional info:
----------------
<actual_gdeploy_conf>
[vdo]
action=create
devices=sdb
names=vdovol_sdb
logicalsize=2000
</actual_gdeploy_conf>

<expected_gdeploy_conf>
[vdo]
action=create
devices=sdb
names=vdovol_sdb
logicalsize=2000G
</expected_gdeploy_conf>

Comment 1 SATHEESARAN 2018-04-30 09:36:24 UTC
This dependent bug is already marked verified. Moving this bug to ON_QA with the fixed-in-version from the dependent bug

Comment 5 SATHEESARAN 2018-04-30 09:37:10 UTC
Tested with cockpit-ovirt-dashboard-0.11.23

The logical size of the VDO volume has 'G' suffix

Comment 7 errata-xmlrpc 2018-11-08 05:37:26 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/RHEA-2018:3523


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