Bug 1547705 - Incorrect logical size of the VDO volume in the generated gdeploy config file
Summary: Incorrect logical size of the VDO volume in the generated gdeploy config file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Gdeploy
Version: 0.11.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.2.2
: 0.11.17
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1547704
TreeView+ depends on / blocked
 
Reported: 2018-02-21 19:00 UTC by SATHEESARAN
Modified: 2018-05-04 10:48 UTC (History)
4 users (show)

Fixed In Version: cockpit-ovirt-0.11.17-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1547704
Environment:
Last Closed: 2018-05-04 10:48:11 UTC
oVirt Team: Gluster
Embargoed:
sasundar: ovirt-4.2?
sasundar: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 88110 0 ovirt-4.2 MERGED Auto calculating logical size for entered physical size 2018-03-08 13:56:40 UTC
oVirt gerrit 88683 0 ovirt-4.2 MERGED Auto calculating logical size for entered physical size 2018-03-08 13:56:48 UTC

Description SATHEESARAN 2018-02-21 19:00:26 UTC
+++ This bug was initially created as a clone of Bug #1547704 +++

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:35:03 UTC
Tested with cockpit-ovirt-dashboard-0.11.23

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

Comment 2 Sandro Bonazzola 2018-05-04 10:48:11 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.


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