Bug 1315408 - Hyphen in LVM name caused wrong filesystem was used to search system files.
Summary: Hyphen in LVM name caused wrong filesystem was used to search system files.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.5.0
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: GA
: 5.6.0
Assignee: Hui Song
QA Contact: Satyajit Bulage
URL:
Whiteboard: smartstate
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-07 16:28 UTC by Hui Song
Modified: 2017-08-31 11:06 UTC (History)
6 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 15:40:36 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Hui Song 2016-03-07 16:28:49 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Hui Song 2016-03-07 16:33:23 UTC
Linux OS will automatically double hyphen, if it exists in the LVM name whenever using as device path. Ex. if vgname = rhel_dhcp181-root, lvname = var, the device path will be /dev/mapper/rhel_dhcp181--root-var. Ignorance this may return empty information in smart state scanning.

https://github.com/ManageIQ/manageiq/issues/7039

Comment 3 Satyajit Bulage 2016-05-03 09:53:20 UTC
Please add verification steps.

Comment 4 Hui Song 2016-05-03 12:25:08 UTC
(In reply to Satyajit Bulage from comment #3)
> Please add verification steps.

1. Create a VM with multiple LVMs.
2. Name LVMs with hyphen inside, such as CFME-root.
3. Install different filesystems in root and other volumes (easier to reproduce the problem).
4. Run SSA to verify the fix.

Comment 5 Satyajit Bulage 2016-05-19 11:57:17 UTC
Created lvm's with given information and Successfully ran SmartState Analysis on the VM. SSA did not return an empty information.

Verified Version :-5.6.0.7-beta2.6.20160516171555_b1be31f

Comment 7 errata-xmlrpc 2016-06-29 15:40:36 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/RHBA-2016:1348


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