Bug 1558331

Summary: Slabsize unit not recognised as GB in gdeployConfig.conf file generated during deployment
Product: [oVirt] cockpit-ovirt Reporter: bipin <bshetty>
Component: GdeployAssignee: Gobinda Das <godas>
Status: CLOSED CURRENTRELEASE QA Contact: Mugdha Soni <musoni>
Severity: high Docs Contact:
Priority: unspecified    
Version: 0.11.7CC: bugs, lveyde, rhs-bugs, sabose, sasundar
Target Milestone: ovirt-4.2.2Flags: rule-engine: ovirt-4.2?
bshetty: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+
Target Release: 0.11.19   
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: 1558330 Environment:
Last Closed: 2018-04-27 07:21:53 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: 1558330    
Bug Blocks:    
Attachments:
Description Flags
screenshot of slabsize none

Description bipin 2018-03-20 04:07:22 UTC
+++ This bug was initially created as a clone of Bug #1558330 +++

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 Mugdha Soni 2018-04-17 13:19:59 UTC
Created attachment 1423043 [details]
screenshot of slabsize

Comment 2 Mugdha Soni 2018-04-19 04:24:32 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'.

Comment 3 Mugdha Soni 2018-04-19 04:24:46 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'.

Comment 4 Sandro Bonazzola 2018-04-27 07:21:53 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.