Bug 1602261

Summary: Disabling Thinpool when compression and deduplication is enabled on a device
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: bipin <bshetty>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: bipin <bshetty>
Severity: high Docs Contact:
Priority: high    
Version: rhhiv-1.5CC: godas, musoni, rcyriac, rhs-bugs, sankarshan, sasundar
Target Milestone: ---   
Target Release: RHHI-V 1.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1602263 1602286 (view as bug list) Environment:
Last Closed: 2019-05-20 04:55:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1602263    
Bug Blocks: 1520836, 1602286    
Attachments:
Description Flags
Cockpit_UI_Verified none

Description bipin 2018-07-18 05:55:05 UTC
Description of problem:
Currently in RHHI, when thinpool and VDO(compression and deduplication) are enabled for a device it affects the discard functionality. Basically the thinpool has minimum 64kb size discard set and VDO has its default as 4kb. Since thinp falls above VDO in RHHI stack , it disables the discard passdown. This bug is raised to make sure the thinp is disabled, so that the VDO  max_discard_sectors=4 is enabled.


Version-Release number of selected component (if applicable):
cockpit-ovirt-dashboard-0.11.30-1.el7ev.noarch
ansible-2.6.1-1.el7ae.noarch
gdeploy-2.0.2-27.el7rhgs.noarch
vdo-6.1.0.168-18.x86_64
kmod-kvdo-6.1.0.171-17.el7_5.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:


Additional info:

This is raised based on the bug 1600156

Comment 1 bipin 2018-07-25 10:11:27 UTC
Verified the bug on cockpit-ovirt-0.11.31-1.
Attaching the screenshot from cockpit

Steps:
====
1.Start the gluster deployment 
2.Move towards the brick tab and check the enable compression and deduplication checkbox
3.The thinpool gets unchecked for that device
4.Complete the deployment and the VDO device is created without thinp


CLI output:
==========
sdb                                                                8:16   0    20T  0 disk 
└─vdo_sdb                                                        253:14   0  50.8T  0 vdo  
  ├─gluster_vg_sdb-gluster_lv_engine                             253:19   0   100G  0 lvm  /gluster_bricks/engine
  ├─gluster_vg_sdb-gluster_lv_data                               253:20   0  1000G  0 lvm  /gluster_bricks/data
  └─gluster_vg_sdb-gluster_lv_vmstore                            253:21   0     4T  0 lvm  /gluster_bricks/vmstore

Comment 2 bipin 2018-07-25 10:11:54 UTC
Created attachment 1470496 [details]
Cockpit_UI_Verified