Bug 1542797

Summary: basenames of the disks should be used for naming lv components
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhhi-1.1CC: godas, rhs-bugs
Target Milestone: ---   
Target Release: RHHI-V 1.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1542798 (view as bug list) Environment:
Last Closed: 2018-11-08 05:37:26 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: 1542798    
Bug Blocks: 1520836    

Description SATHEESARAN 2018-02-07 02:53:11 UTC
Description of problem:
-----------------------
1. If the user provides the full disk path as /dev/sdb in cockpit UI, the gdeploy configuration file is generated with vg names, thinpool names, lv name with that full path. for example, poolname=gluster_thinpool_/dev/sdb

2. If the user provides the full disk path as /dev/sdc for lvmcache configuration, then the disk is chosen as '/dev/sdc' and not just 'sdc'

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
Observed this with cockpit-ovirt-dashboard-0.11.9-0.1.el7ev.noarch
But should be reproducible with earlier versions too

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

Steps to Reproduce:
-------------------
1. Start with RHHI installation using cockpit
2. Provide the disk as '/dev/sdb'

Actual results:
---------------
All the LVM components ( vg, lv thinpool, lv, etc ) should make use of the basename

Expected results:
-----------------
LVM components have the suffix of '/dev/sdb'

Comment 1 SATHEESARAN 2018-04-25 10:43:45 UTC
Tested with cockpit-ovirt-dashboard-0.11.22

Base names are used for creating bricks.
Even when /dev/sdb is provided from cockpit UI, the names are used as gluster_vg_sdb

Comment 6 errata-xmlrpc 2018-11-08 05:37:26 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/RHEA-2018:3523