Bug 1558330 - Slabsize unit not recognised as GB in gdeployConfig.conf file generated during deployment
Summary: Slabsize unit not recognised as GB in gdeployConfig.conf file generated durin...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Sahina Bose
QA Contact: Mugdha Soni
URL:
Whiteboard:
Depends On:
Blocks: 1558331
TreeView+ depends on / blocked
 
Reported: 2018-03-20 04:06 UTC by bipin
Modified: 2019-05-20 04:55 UTC (History)
3 users (show)

Fixed In Version: cockpit-ovirt-0.11.19-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1558331 (view as bug list)
Environment:
Last Closed: 2019-05-20 04:55:30 UTC
Embargoed:


Attachments (Terms of Use)

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'.


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