Bug 1552526 - lvmcache size value is missing units in the generated gdeploy config file
Summary: lvmcache size value is missing units in the generated gdeploy config file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Gdeploy
Version: 0.11.12
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.2.2
: 0.11.16
Assignee: Parth Dhanjal
QA Contact: Shrivaibavi Raghaventhiran
URL:
Whiteboard:
Depends On:
Blocks: 1552524
TreeView+ depends on / blocked
 
Reported: 2018-03-07 09:30 UTC by SATHEESARAN
Modified: 2018-04-18 12:27 UTC (History)
3 users (show)

Fixed In Version: cockpit-ovirt-0.11.16-1
Clone Of: 1552524
Environment:
Last Closed: 2018-04-18 12:27:18 UTC
oVirt Team: Gluster
Embargoed:
sasundar: ovirt-4.2?
sabose: blocker?
sasundar: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1414794 0 high CLOSED [RFE] provide a way for the user to scale and prepare gluster nodes from cockpit UI. 2021-02-22 00:41:40 UTC
oVirt gerrit 88778 0 None None None 2018-03-12 14:43:45 UTC
oVirt gerrit 88791 0 master ABANDONED Bug Fix - LVM Cache Unit 2018-03-12 14:21:27 UTC
oVirt gerrit 88825 0 None None None 2018-03-13 07:12:02 UTC

Internal Links: 1414794

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.


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