Bug 1848467 - Error while attaching the lvmcache to LUKS device thinpool
Summary: Error while attaching the lvmcache to LUKS device thinpool
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHHI-V 1.8
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1848588
Blocks: RHHI-V-1.8-Engineering-Inflight-BZs
TreeView+ depends on / blocked
 
Reported: 2020-06-18 12:16 UTC by SATHEESARAN
Modified: 2020-08-04 14:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1848588 (view as bug list)
Environment:
Last Closed: 2020-08-04 14:52:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3314 0 None None None 2020-08-04 14:52:54 UTC

Description SATHEESARAN 2020-06-18 12:16:50 UTC
Description of problem:
-----------------------
When NBDE setup is completed, the target device is created under /dev/mapper/luks_sdx. When attempting for RHHI-V deployment from web console(cockpit), and attaching the LVM cache, logic uses device name as '/dev/luks_sdc' instead of '/dev/mapper/luks_sdc'

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
cockpit-ovirt-dashboard-0.14.8


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


Steps to Reproduce:
-------------------
1. Start the HC deployment from cockpit
2. On the bricks tab provide the device name as '/dev/mapper/luks_sdc'
3. Enable LVM cache and provide SSD as '/dev/sdg'

Actual results:
---------------
Generated inventory file contains reference to '/dev/luks_sdc'

Expected results:
------------------
Generated inventory file should contain '/dev/mapper/luks_sdc'

Comment 1 SATHEESARAN 2020-06-18 12:24:17 UTC
The generated inventory contains:

<snip>
      gluster_infra_cache_vars:
        - vgname: gluster_vg_luks_sdc
          cachedisk: '/dev/luks_sdc,/dev/sdg'
          cachelvname: cachelv_gluster_thinpool_gluster_vg_luks_sdc
          cachethinpoolname: gluster_thinpool_gluster_vg_luks_sdc
          cachelvsize: 220G
          cachemode: writethrough
</snip>

Expected is that the device should be */dev/mapper/luks_sdc*

<snip>
      gluster_infra_cache_vars:
        - vgname: gluster_vg_luks_sdc
          cachedisk: '/dev/mapper/luks_sdc,/dev/sdg'
          cachelvname: cachelv_gluster_thinpool_gluster_vg_luks_sdc
          cachethinpoolname: gluster_thinpool_gluster_vg_luks_sdc
          cachelvsize: 220G
          cachemode: writethrough
</snip>

Comment 2 SATHEESARAN 2020-06-18 12:26:59 UTC
This error is also true for multipath configuration enabled, where the device name is '/dev/mapper/WWID'

for example: /dev/mapper/3600304801a48610125f9a6571e612c29

Comment 3 SATHEESARAN 2020-07-14 06:37:05 UTC
Tested with cockpit-ovirt-dashboard-0.14.9.el8rhgs

When attaching the LVM cache ( /dev/sdx ) with the LUKS device ( /dev/mapper/luks_sdx ),
the deployment happens in the right way.

Comment 6 errata-xmlrpc 2020-08-04 14:52:32 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 (RHHI for Virtualization 1.8 bug fix and enhancement update), 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/RHEA-2020:3314


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