Bug 1817305

Summary: Blacklisting is not done for LVM cache fast devices
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Parth Dhanjal <dparth>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: godas, rhs-bugs
Target Milestone: ---   
Target Release: RHHI-V 1.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-dashboard-0.14.5-1.el8ev.noarch Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1817306 (view as bug list) Environment:
Last Closed: 2020-08-04 14:52:05 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: 1817306    
Bug Blocks: 1779977    

Description SATHEESARAN 2020-03-26 04:50:40 UTC
Description of problem:
-----------------------
Blacklisting should consider the fast SSDs also, when blacklisting option is enabled

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

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

Steps to Reproduce:
-------------------
1. Enable blacklisting option in the cockpit deployment UI

Actual results:
----------------
Blacklisting when enabled should also include lvmcache fast devices, when the lvmcache option is enabled

Comment 1 SATHEESARAN 2020-03-26 04:54:19 UTC
Special thanks to Gobinda for finding out this issue

Comment 3 SATHEESARAN 2020-05-01 11:35:10 UTC
Tested with cockpit-ovirt-dashboard-0.14.5-1.el8ev.noarch with the following steps:

1. Started the RHHI-V deployment from web console
2. Provided the values for hosts, volumes.
3. On the bricks tab, with the default 'blacklist gluster devices' enabled,
also enabled 'lvmcache' SSD device as '/dev/sdg' and provided the details.

The generated inventory file included this LVM device also under blacklist_mpath_devices

[root@ ~]# grep blacklist_mpath /etc/ansible/hc_wizard_inventory.yml -A5
      blacklist_mpath_devices:
        - sdb
        - sdc
        - sdd
        - sdg
      gluster_infra_cache_vars:
--
      blacklist_mpath_devices:
        - sdb
        - sdc
        - sdd
        - sdg
      gluster_infra_cache_vars:
--
      blacklist_mpath_devices:
        - sdb
        - sdc
        - sdd
        - sdg
      gluster_infra_cache_vars:

Comment 5 errata-xmlrpc 2020-08-04 14:52:05 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