Bug 1494041

Summary: Setting up lvmcache using gdeploy fails
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhi-1.1CC: rcyriac, rhs-bugs, smohan, storage-qa-internal, surs
Target Milestone: ---   
Target Release: RHHI 1.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gdeploy-2.0.2-16 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1480567
: 1494062 (view as bug list) Environment:
Last Closed: 2018-01-03 10:53:14 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: 1494062    
Bug Blocks: 1486559    

Description SATHEESARAN 2017-09-21 11:39:54 UTC
+++ This bug was initially created as a clone of Bug #1480567 +++

Description of problem:
------------------------
Setting up lvmcache using gdeploy fails.

Note:
This happens consistently with RHEL 7.4 platform, and works well with RHEL 7.3

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHEL 7.4
gdeploy-2.0.2-15

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

Steps to Reproduce:
-------------------
1. setup lvmcache using the following configuration

[lv]
action=setup-cache
ssd=sdc
vgname=vg
poolname=thinpool
cache_lv=lvcache
cache_lvsize=10GB
cachemode=writethrough

Actual results:
---------------
gdeploy throws error while changing attributes of the logical volume

Expected results:
------------------
gdeploy should setup lvmcache successfully

Comment 4 SATHEESARAN 2017-09-22 15:56:12 UTC
Verified with gdeploy-2.0.2-16.el7rhgs and this issue is not seen.

The configuration file used is:
[lv]
action=setup-cache
ssd=vde
vgname=vg
poolname=thinpool
cache_lv=lvcache
cache_lvsize=5GB
cachemode=writeback

This setup the lvmcache as required.

Comment 5 SATHEESARAN 2017-10-06 07:06:26 UTC
The build - gdeploy-2.0.2-16.el7rhgs is available with the errata and with comment4 marking this bug as VERIFIED