Bug 1558331 - 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: cockpit-ovirt
Classification: oVirt
Component: Gdeploy
Version: 0.11.7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.2.2
: 0.11.19
Assignee: Gobinda Das
QA Contact: Mugdha Soni
URL:
Whiteboard:
Depends On: 1558330
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-20 04:07 UTC by bipin
Modified: 2018-04-27 07:21 UTC (History)
5 users (show)

Fixed In Version: cockpit-ovirt-0.11.19-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1558330
Environment:
Last Closed: 2018-04-27 07:21:53 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-4.2?
bshetty: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+


Attachments (Terms of Use)
screenshot of slabsize (96.89 KB, image/png)
2018-04-17 13:19 UTC, Mugdha Soni
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 89233 0 master MERGED Slabsize unit changed to 'G' for VDO 2018-03-20 10:43:19 UTC
oVirt gerrit 89234 0 ovirt-4.2 MERGED Slabsize unit changed to 'G' for VDO 2018-03-20 10:43:34 UTC

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.


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