Bug 1592642

Summary: Unable to uncheck arbiter brick with dedupe and compression enabled
Product: [oVirt] cockpit-ovirt Reporter: bipin <bshetty>
Component: GdeployAssignee: Gobinda Das <godas>
Status: CLOSED CURRENTRELEASE QA Contact: bipin <bshetty>
Severity: high Docs Contact:
Priority: unspecified    
Version: 0.11.7CC: bshetty, bugs, godas, rbarry, rhs-bugs, sabose, sankarshan, sasundar
Target Milestone: ovirt-4.2.5Flags: rule-engine: ovirt-4.2?
bshetty: planning_ack?
rule-engine: devel_ack+
sasundar: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.11.30-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1592641 Environment:
Last Closed: 2018-07-31 15:25:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1592641, 1596277    
Attachments:
Description Flags
host1 bricks
none
host2 bricks on cockpit UI
none
host3 bricks on cockpit UI none

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.