Bug 1297022

Summary: SmartState Analysis fails for a RHEL7 VM with an ext4 /boot and an xfs / partition on RHEV
Product: Red Hat CloudForms Management Engine Reporter: Peter McGowan <pmcgowan>
Component: SmartState AnalysisAssignee: Hui Song <hsong>
Status: CLOSED DUPLICATE QA Contact: Vadim Rutkovsky <vrutkovs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: jhardy, mmorsi, nachandr, obarenbo, roliveri
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: smartstate:rhev
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-02 16:59:38 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:
Attachments:
Description Flags
Extract from evm.log with debug logging enabled none

Description Peter McGowan 2016-01-08 18:34:54 UTC
Created attachment 1112946 [details]
Extract from evm.log with debug logging enabled

Description of problem:
I have a RHEL7 VM that contains an ext4 formatted /boot and xfs formatted /. The VM is on RHEV 3.5.6.2, on an iSCSI Storage Domain.

Running a SmartState Analysis on this fails with "No root filesystem found"

Version-Release number of selected component (if applicable):
RHEV 3.5.6.2-0.1.el6ev
CFME 5.5.0.13

How reproducible:
Every Time

Steps to Reproduce:
1. Create a RHEL7 VM with ext4 /boot partition and xfs / partition
2. Run SmartState Analysis against this VM
3.

Actual results:
failure

Expected results:
success

Additional info:
Extract from evm.log with debug logging enabled is attached

Comment 4 Mo Morsi 2016-02-01 22:02:27 UTC
Inspecting the environment it seems / is on the ext4 partition but the linux mount probe is failing to detect the fs. It is reporting that the /etc/fstab file cannot be found:

161101 [----] D, [2016-01-27T19:26:56.619537 #24238:51d998] DEBUG -- : MIQ(FsProbe-getFsMod) FS probe attempting [Ext4Probe] for [root] [partition: 0]
161102 [----] D, [2016-01-27T19:26:56.619637 #24238:51d998] DEBUG -- : Ext4Probe >> dobj=#<MiqDisk:0x00000008c9b190>
161103 [----] D, [2016-01-27T19:26:56.619950 #24238:51d998] DEBUG -- : Ext4Probe << TRUE
161104 [----] I, [2016-01-27T19:26:56.620005 #24238:51d998]  INFO -- : MIQ(FsProbe-getFsMod) FS probe detected [Ext4] for [root] [partition: 0]
161105 [----] D, [2016-01-27T19:26:57.203389 #23968:c9b990] DEBUG -- : MIQ(MiqServer#monitor_servers_as_master) Checking other servers as master server
161106 [----] D, [2016-01-27T19:26:57.210494 #23968:c9b990] DEBUG -- : MIQ(MiqRegion#lock) Acquiring lock on MiqRegion::1000000000001...
161107 [----] D, [2016-01-27T19:26:57.213161 #23968:c9b990] DEBUG -- : MIQ(MiqRegion#lock) Acquired lock
161108 [----] D, [2016-01-27T19:26:57.326107 #23968:c9b990] DEBUG -- : MIQ(MiqRegion#lock) Releasing lock
161109 [----] I, [2016-01-27T19:26:57.733245 #24190:a55988]  INFO -- : MIQ(ManageIQ::Providers::Redhat::InfraManager::EventCatcher::Runner#process_event) EMS [rhevm01.bit63.net] as [admin@internal] Skipping caug
161110 [----] D, [2016-01-27T19:26:58.376985 #24238:51d998] DEBUG -- : MIQ(MountManagerProbe-getRootMod) Mount Manager probe attempting [WinMountProbe]
161111 [----] D, [2016-01-27T19:26:58.377957 #24238:51d998] DEBUG -- : WinMountProbe << FALSE because file system (Ext4) is not supported
161112 [----] D, [2016-01-27T19:26:58.378054 #24238:51d998] DEBUG -- : MIQ(MountManagerProbe-getRootMod) Mount Manager probe attempting [LinuxMountProbe]
161113 [----] D, [2016-01-27T19:26:58.379400 #24238:51d998] DEBUG -- : LinuxMountProbe << FALSE because file /etc/fstab does not exist


The file seems to exist on the vm so why this is the case is still a question.

Comment 5 Rich Oliveri 2016-02-22 16:36:40 UTC
Mo is / on an EXT4 file system? Is the description incorrect in stating it's XFS?
Is there an XFS file system on the VM?
Hui found a bug in out EXT4 code that could result in this problem, but that's probably not the case if root should be on XFS.

Comment 6 Mo Morsi 2016-02-23 18:32:29 UTC
Yes, this bug was misreported, / is EXT4 and /boot is XFS on the vm in question.

Comment 9 Rich Oliveri 2016-03-02 16:59:38 UTC

*** This bug has been marked as a duplicate of bug 1302851 ***