Bug 1494062 - Setting up lvmcache using gdeploy fails
Summary: Setting up lvmcache using gdeploy fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gdeploy
Version: rhgs-3.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.3.1
Assignee: Sachidananda Urs
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1475688 1494041
TreeView+ depends on / blocked
 
Reported: 2017-09-21 12:21 UTC by SATHEESARAN
Modified: 2017-11-29 03:27 UTC (History)
8 users (show)

Fixed In Version: gdeploy-2.0.2-16
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1494041
Environment:
Last Closed: 2017-11-29 03:27:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:3274 0 normal SHIPPED_LIVE [RHEL7] gdeploy bug fixes 2017-11-29 08:26:49 UTC

Description SATHEESARAN 2017-09-21 12:21:16 UTC
+++ This bug was initially created as a clone of Bug #1494041 +++

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

--- Additional comment from Red Hat Bugzilla Rules Engine on 2017-09-21 07:39:59 EDT ---

This bug is automatically being proposed for the release of Red Hat Gluster Storage 3 under active development and open for bug fixes, by setting the release flag 'rhgs‑3.4.0' to '?'. 

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

--- Additional comment from Red Hat Bugzilla Rules Engine on 2017-09-21 07:49:30 EDT ---

This bug is automatically being proposed for the release of Red Hat Gluster Storage 3 under active development and open for bug fixes, by setting the release flag 'rhgs‑3.4.0' to '?'. 

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

Comment 1 SATHEESARAN 2017-09-21 12:22:43 UTC
This bug is actually cloned from the RHHI 1.1 bug which directly corresponds to the failure of gdeploy in creating lvmcache backed LVs

Comment 2 Sachidananda Urs 2017-09-22 07:27:25 UTC
Commit: https://github.com/gluster/gdeploy/commit/be2c9ddbecb47c fixes the issue.

Comment 3 SATHEESARAN 2017-09-22 15:58:30 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.

Note:
Not marking this bug as **VERIFIED** as the gdeploy errata is not yet available.
Once the gdeploy errata is available with this specified build, I will move this bug to VERIFIED state.

Comment 4 SATHEESARAN 2017-09-28 07:54:17 UTC
The build - gdeploy-2.0.2-16.el7rhgs is available with the errata and with comment3 marking this bug as VERIFIED

Comment 7 errata-xmlrpc 2017-11-29 03:27:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3274


Note You need to log in before you can comment on or make changes to this bug.