Bug 1434735 - calculate arbiter brick size dynamically
Summary: calculate arbiter brick size dynamically
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Gdeploy
Version: 0.10.7-0.0.15
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.1.2
: 0.10.7-0.0.18
Assignee: Devyani Kota
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks: Gluster-HC-3 1447919
TreeView+ depends on / blocked
 
Reported: 2017-03-22 09:23 UTC by RamaKasturi
Modified: 2017-05-23 08:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-05-23 08:10:57 UTC
oVirt Team: Gluster
Embargoed:
sabose: ovirt-4.1?
knarra: planning_ack?
rule-engine: devel_ack+
knarra: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 74476 0 master ABANDONED gdeploy: calculate arbiter brick size 2017-05-04 09:16:30 UTC
oVirt gerrit 75645 0 ovirt-4.1 MERGED gdeploy: calculate arbiter brick size 2017-04-20 12:51:19 UTC

Description RamaKasturi 2017-03-22 09:23:48 UTC
Description of problem:
with the current version of cockpit-ovirt arbiter brick size is set to 10GB. With 10GB arbiter bricks, we can support maximum 10TB bricks with 4MB
shards(10TB/4MB *4KB = 10GB). We need to change this and do the size calculation based on the brick size .

Discussion points from vijay's email:
===================================
There is also a need to accommodate growth of data brick size. Maybe we could use this formula for determining arbiter brick size with Cockpit:

min (200 GiB, 2 * (brick-size/shard-size) * 4KB)

This uses a multiplicative factor 2 to account for future expansion in data brick size. 

Version-Release number of selected component (if applicable):
cockpit-ovirt-dashboard-0.10.7-0.0.15.el7ev.noarch

How reproducible:


Steps to Reproduce:
1. create arbiter bricks using cockpit-ovirt
2. 
3.

Actual results:
Arbiter bricks are created with a size of 10GB.

Expected results:
size of arbiter bricks should be calculated dynamically based on the formula given in the description.

Additional info:

Comment 1 RamaKasturi 2017-05-23 05:43:55 UTC
Verified with build cockpit-ovirt-dashboard-0.10.7-0.0.18.el7ev.noarch.

I see that arbiter brick size is calculated dynamically using the formula max(20GB, 2 * (bricksizeinKB)/shardsizeKB) * 4). When the  brick size is 12000GB, arbiter brick size is 24GB.


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