+++ 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.
This bug is actually cloned from the RHHI 1.1 bug which directly corresponds to the failure of gdeploy in creating lvmcache backed LVs
Commit: https://github.com/gluster/gdeploy/commit/be2c9ddbecb47c fixes the issue.
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.
The build - gdeploy-2.0.2-16.el7rhgs is available with the errata and with comment3 marking this bug as VERIFIED
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