Bug 1552524

Summary: lvmcache size value is missing units in the generated gdeploy config file
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: Shrivaibavi Raghaventhiran <sraghave>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhiv-1.5CC: rhs-bugs
Target Milestone: ---   
Target Release: RHHI-V 1.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1552526 (view as bug list) Environment:
Last Closed: 2018-11-08 05:38:31 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: 1552526    
Bug Blocks: 1520836    

Description SATHEESARAN 2018-03-07 09:29:33 UTC
Description of problem:
-----------------------
lvmcache size is missing units in the generated gdeploy configuration file

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
cockpit-ovirt-dashboard-0.11.12-0.1.el7ev.noarch

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

Steps to Reproduce:
-------------------
1. Start the RHHI installation  with cockpit
2. Enable lvmcache during installation
3. Investigate the generated gdeploy configuration file

Actual results:
---------------
lvmcache section has the lvmcache size without units mentioned

Expected results:
-----------------
lvmcache size should be with the units of GB

Additional info:
----------------
<actual_content>
[lv5]
action=setup-cache
ssd=sdc
vgname=gluster_vg_sdb
poolname=gluster_thinpool_sdb
cache_lv=lvcache
cache_lvsize=220
cachemode=writethrough
ignore_lv_errors=yes
</actual_content>


<expected_content>
action=setup-cache
ssd=sdc
vgname=gluster_vg_sdb
poolname=gluster_thinpool_sdb
cache_lv=lvcache
cache_lvsize=220GB
cachemode=writethrough
ignore_lv_errors=yes
</expected_content>

Comment 1 SATHEESARAN 2018-04-17 10:38:14 UTC
As the dependent bug is ON_QA, this bug should be ideally on ON_QA. Moving it to ON_QA

Comment 5 Shrivaibavi Raghaventhiran 2018-04-18 10:16:13 UTC
This Bug is tested with the following versions
------------------------------------------------
* cockpit-ovirt-dashboard-0.11.21-1.el7ev.noarch
* redhat-release-virtualization-host-4.2-2.1.el7.x86_64

Steps to reproduce
----------------------------------------------
1. Start with Installation of RHHI 2.0
2. Specify the storage details by enabling the LVM cache
3. Check the gdeploy config file generated.

The Expected Results match with the actual result
-------------------------------------------------
[lv2:10.70.36.83]
action=create
poolname=gluster_thinpool_sdc
ignore_lv_errors=no
vgname=gluster_vg_sdc
lvtype=thinpool
size=11280GB
poolmetadatasize=16GB

Comment 7 errata-xmlrpc 2018-11-08 05:38:31 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