Bug 1558330

Summary: Slabsize unit not recognised as GB in gdeployConfig.conf file generated during deployment
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: bipin <bshetty>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: Mugdha Soni <musoni>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhiv-1.5CC: rhs-bugs, sabose, sasundar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.11.19-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1558331 (view as bug list) Environment:
Last Closed: 2019-05-20 04:55:30 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:    
Bug Blocks: 1558331    

Description bipin 2018-03-20 04:06:08 UTC
Description of problem:
The current unit value for slabsize under VDO volume section is set as "xxGB" which is not recognized and errors out. Need to set it as " xxG"


Version-Release number of selected component (if applicable):
gdeploy-2.0.2-22.el7rhgs.noarch
cockpit-ovirt-dashboard-0.11.17-1.el7ev.noarch
cockpit-dashboard-160-3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Start RHHI installation with cockpit, selecting 'Hosted Engine with Gluster'
2.Fails when it comes to VDO section since the unit for slabsize if not recognized


Actual results:
Fails since the unit is not recognized


Expected results:
Should not fail

Additional info:
How the parameters are currently:

[vdo1:10.70.36.241]
action=create
names=data
devices=sdb
logicalsize=200000G
blockmapcachesize=128M
readcache=enabled
readcachesize=20M
emulate512=enabled
writepolicy=sync
ignore_vdo_errors=no
slabsize=32GB

How it should be:

[vdo1:10.70.36.241]
action=create
names=data
devices=sdb
logicalsize=200000G
blockmapcachesize=128M
readcache=enabled
readcachesize=20M
emulate512=enabled
writepolicy=sync
ignore_vdo_errors=no
slabsize=32G

Comment 1 SATHEESARAN 2018-04-17 10:47:27 UTC
As the dependent bug is ON_QA, moving this bug to ON_QA.

@Sahina, please provide the devel_ack on this bug

Comment 2 Mugdha Soni 2018-04-19 04:27:14 UTC
Tested with the following-:

1. RedHat-release-virtualization-host-4.2-2.1.el7.x86_64
2. Cockpit-ovirt-dashboard-0.11.20-1
3. gdeploy-2.0.2-19.el7rhgs.noarch

Following are the steps performed for testing:-

1. Login to the cockpit UI and configure all tabs required for gluster deployment.

2.Before deployment verified the gdeploy config file in the reveiw tab and could 
  successfully see the parameter 'slabsize' as 'XG'.