Bug 1547453 - create one VDO volume when encryption & dedupe enabled on few or all the bricks on the same device
Summary: create one VDO volume when encryption & dedupe enabled on few or all the bric...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Gdeploy
Version: 0.11.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.2.2
: 0.11.16
Assignee: Parth Dhanjal
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1547450
TreeView+ depends on / blocked
 
Reported: 2018-02-21 11:12 UTC by SATHEESARAN
Modified: 2018-04-27 07:22 UTC (History)
3 users (show)

Fixed In Version: cockpit-ovirt-0.11.16-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1547450
Environment:
Last Closed: 2018-04-27 07:22:28 UTC
oVirt Team: Gluster
Embargoed:
sasundar: ovirt-4.2?
sabose: exception?
sasundar: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1414794 0 high CLOSED [RFE] provide a way for the user to scale and prepare gluster nodes from cockpit UI. 2021-02-22 00:41:40 UTC
oVirt gerrit 88778 0 None None None 2018-03-12 14:42:52 UTC
oVirt gerrit 88796 0 master ABANDONED Bug Fix - On Multiple VDO volume 2018-03-12 14:22:12 UTC

Internal Links: 1414794

Description SATHEESARAN 2018-02-21 11:12:27 UTC
+++ This bug was initially created as a clone of Bug #1547450 +++

Description of problem:
-----------------------
User can enable dedupe & compression on select few or all the bricks on the same device. Currently the dedupe & compression will be enabled on all the bricks, that are created on the same device.

But when the user has chosen to enable dedupe & compression on 2 bricks from the same device, 2 different VDO volumes are created.

When the user has chosen to enable dedupe & compression on 3 bricks ( engine, vmstore, data ) from the same device, 3 different VDO volumes are created.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Start RHHI installation from cockpit using 'Hosted Engine with Gluster' 
2. On the bricks tab (4th tab), select 'Enable Dedupe & Compression' on all the 3 bricks
3. Observe the generated gdeploy config file

Actual results:
---------------
1. Generated gdeploy config file has sections to create 3 different VDO volumes
2. Name of VDO volume is not generic

Expected results:
-----------------
1. Generated gdeploy config file should have sections to create only one VDO volume
2. Name of the VDO volume should be generic corresponding to the device (e.g)vdovolume_sdb

Comment 1 SATHEESARAN 2018-02-21 11:16:17 UTC
Additional info:
----------------
Following is the snip of config file with dedupe & compression enabled on all the 3 bricks (ie.) engine, data, vmstore

[vdo]
action=create
devices=sdb,sdb,sdb
names=engine,data,vmstore
logicalsize=400,2000,2000

Following is the snip of config file with dedupe & compression enabled on all the 2 bricks (ie.) engine, data

[vdo]
action=create
devices=sdb,sdb
names=engine,data
logicalsize=400,2000

Irrespective of dedupe and compression enabled 1 or 2 or 3 bricks, the expected conf file should be:

[vdo]
action=create
devices=sdb
names=vdovol_sdb
logicalsize=<size>

Comment 2 SATHEESARAN 2018-04-25 10:26:47 UTC
Tested with cockpit-ovirt-dashboard-0.11.22
There is only VDO volume created for all the bricks.

Comment 3 Sandro Bonazzola 2018-04-27 07:22:28 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.