Bug 1592642 - Unable to uncheck arbiter brick with dedupe and compression enabled
Summary: Unable to uncheck arbiter brick with dedupe and compression enabled
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.5
: ---
Assignee: Gobinda Das
QA Contact: bipin
URL:
Whiteboard:
Depends On:
Blocks: 1592641 cockpit-ovirt-0.11.30
TreeView+ depends on / blocked
 
Reported: 2018-06-19 03:38 UTC by bipin
Modified: 2018-07-31 15:25 UTC (History)
8 users (show)

Fixed In Version: cockpit-ovirt-0.11.30-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1592641
Environment:
Last Closed: 2018-07-31 15:25:25 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-4.2?
bshetty: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+


Attachments (Terms of Use)
host1 bricks (61.87 KB, image/png)
2018-07-03 09:21 UTC, SATHEESARAN
no flags Details
host2 bricks on cockpit UI (63.52 KB, image/png)
2018-07-03 09:21 UTC, SATHEESARAN
no flags Details
host3 bricks on cockpit UI (63.56 KB, image/png)
2018-07-03 09:22 UTC, SATHEESARAN
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 92789 0 ovirt-4.2 MERGED Allowing to uncheck dedupe & compression per host level 2018-07-09 13:18:26 UTC
oVirt gerrit 92919 0 ovirt-4.2 MERGED Allowing to uncheck dedupe & compression per host level 2018-07-09 13:18:35 UTC

Description bipin 2018-06-19 03:38:03 UTC
+++ This bug was initially created as a clone of Bug #1592641 +++

Description of problem:
Currently the design of VDO in cockpit is, when we check the enable dedupe and compression on a host it reflects on all the peer hosts . This is fine in case of replica 3 (1*3) RHHI enviornment.
But considering the arbiter replica volume, the dedupe and comression need not be enabled in the arbiter brick, since it only has  metadata. So it would be good to have a uncheck option on the third host brick which is used as a arbiter 


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


How reproducible:
100%


Actual results:
Currently the uncheck option is not implemented per brick

Expected results:
To provide the uncheck option on arbiter brick

Additional info:

--- Additional comment from Red Hat Bugzilla Rules Engine on 2018-06-18 23:36:31 EDT ---

This bug is automatically being proposed for the current release of Red Hat Hyperconverged Infrastructure (RHHI) under active development, by setting the release flag 'rhhi‑2.0' to '?'. 

If this bug should be proposed for a different release, please manually change the proposed release flag.

Comment 3 Gobinda Das 2018-06-26 05:46:49 UTC
bipin,
 FYI, VDO configuration is per device/volume level not brick level.
If you want to disable vdo for particular volume then you need to have separate  device.With same device you can't check one and uncheck another one.

Comment 4 Sahina Bose 2018-06-27 12:34:05 UTC
(In reply to Gobinda Das from comment #3)
> bipin,
>  FYI, VDO configuration is per device/volume level not brick level.
> If you want to disable vdo for particular volume then you need to have
> separate  device.With same device you can't check one and uncheck another
> one.

We should be able to disable dedupe/compression on arbiter brick which is on third host - so separate device on the third host

Comment 5 Sahina Bose 2018-06-28 05:16:10 UTC
Bipin, can you confirm if you're able to uncheck for third host for all bricks?

Comment 6 SATHEESARAN 2018-07-03 09:19:57 UTC
(In reply to Sahina Bose from comment #5)
> Bipin, can you confirm if you're able to uncheck for third host for all
> bricks?

Sahina,

This is not possible.

I prefer to have the following:
1. replica 3 volume 'engine' with bricks created from 'sdb' from host{1,2,3}
2. replica 3 volume 'vmstore' with bricks created from 'sdc' from host{1,2,3}
3. arbitrated replicate volume with bricks created from 'sdd' from host{1,2,3}

In this case, while enabling dedupe & compression on bricks created on 'sdd', it gets selected automatically on the bricks on all other hosts ( host2, host3 ). Now I have prefer to uncheck the dedupe & compression only on the 3rd brick of the volume, on host3. When I uncheck all the bricks are unchecked.

Remember here, I choose the same disk name 'sdb' on different hosts. I am **not** creating all the bricks on the disk on the same device, on the same host.

I will be attaching the screenshots for the same

Comment 7 SATHEESARAN 2018-07-03 09:21:09 UTC
Created attachment 1456152 [details]
host1 bricks

Comment 8 SATHEESARAN 2018-07-03 09:21:46 UTC
Created attachment 1456153 [details]
host2 bricks on cockpit UI

Comment 9 SATHEESARAN 2018-07-03 09:22:20 UTC
Created attachment 1456154 [details]
host3 bricks on cockpit UI

Comment 10 Sahina Bose 2018-07-03 09:43:23 UTC
Gobinda, this looks like a bug and not an error in deployment/understanding . Can you address?

Comment 11 Gobinda Das 2018-07-03 10:18:55 UTC
In this case uncheck for all hosts will be complex.If we are ok with only auto check but not uncheck for all hosts then fine.
I will check and update.

Comment 12 Gobinda Das 2018-07-03 17:18:17 UTC
Fixed the issue.

Comment 13 bipin 2018-07-20 15:53:31 UTC
Verified the bug in the component cockpit-ovirt-dashboard-0.11.30-1.el7ev.noarch.
Also attaching the screenshot's

Steps:
=====
1.Create a arbiter replica volume
2.Uncheck compression and deduplication in the 3rd brick on host3.
3.Complete the deployment.
4.Brick created without dedupe and compression enabled

Comment 16 Sandro Bonazzola 2018-07-31 15:25:25 UTC
This bugzilla is included in oVirt 4.2.5 release, published on July 30th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.5 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.