Bug 1822120 - Filter /dev/mapper/x devices, when provided with blacklist_gluster_devices option enabled
Summary: Filter /dev/mapper/x devices, when provided with blacklist_gluster_devices op...
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: 1822121
Blocks: RHHI-V-1.8-Engineering-Inflight-BZs
TreeView+ depends on / blocked
 
Reported: 2020-04-08 10:11 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:
: 1822121 (view as bug list)
Environment:
Last Closed: 2020-08-04 14:52:07 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:25 UTC

Description SATHEESARAN 2020-04-08 10:11:38 UTC
Description of problem:
-----------------------
Technically, when the user enables 'blacklist gluster devices' option, the devices should be of format /dev/sdx. But there are chances, users could provide insane values or provide LUKS devices ( /dev/mapper/luks_sdb ) those were created via executing ansible playbook

In this case, when 'blacklist gluster devices' is enabled and user provides device values as /dev/mapper/x, do not add those devices under 'blacklist_mpath_devices' in the generated inventory file

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

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

Steps to Reproduce:
--------------------
1. Start RHHI-V/HC deployment from web console
2. On the 'bricks' tab, enable the option 'Blacklist Gluster Devices', which is selected by default
3. Provide disk values as /dev/mapper/luks_sdb

Actual results:
----------------
Generated inventory file contains luks_sdb


Expected results:
-----------------
Generated inventory file should not contain luks_sdb



Additional info:

Comment 2 SATHEESARAN 2020-05-06 17:07:39 UTC
Tested with cockpit-ovirt-dashboard-0.14.5

When the device name is provided as /dev/mapper/luks_sdb, and that device is not
added to the 'blacklist_mpath_devices' in the generated inventory file.

There is one known issue in this context.
When there are less than 3 bricks devices are to be blacklisted, an empty ''
is added to the list of devices to blacklisted, but just gets skipped and doesn't
impact the deployment. So this issue is ignored

Comment 4 errata-xmlrpc 2020-08-04 14:52:07 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.