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

Bug 1552526

Summary: lvmcache size value is missing units in the generated gdeploy config file
Product: [oVirt] cockpit-ovirt Reporter: SATHEESARAN <sasundar>
Component: GdeployAssignee: Parth Dhanjal <dparth>
Status: CLOSED CURRENTRELEASE QA Contact: Shrivaibavi Raghaventhiran <sraghave>
Severity: high Docs Contact:
Priority: high    
Version: 0.11.12CC: bugs, rhs-bugs, sabose
Target Milestone: ovirt-4.2.2Flags: sasundar: ovirt-4.2?
sabose: blocker?
sasundar: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+
Target Release: 0.11.16   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.11.16-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1552524 Environment:
Last Closed: 2018-04-18 12:27:18 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: 1552524    

Description SATHEESARAN 2018-03-07 09:30:28 UTC
+++ This bug was initially created as a clone of Bug #1552524 +++

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 Vishnu 2018-03-12 14:43:46 UTC
Issue fixed in 88778 id

Comment 2 Shrivaibavi Raghaventhiran 2018-04-18 10:07:36 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 3 Sandro Bonazzola 2018-04-18 12:27:18 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.