Bug 1289699

Summary: SmartState analysis fails for users Last Logon on RHEL7 hosts
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: SmartState AnalysisAssignee: Marek Aufart <maufart>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Ola Pavlenko <opavlenk>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, dajohnso, gblomqui, jhardy, maufart, mcornea, obarenbo, tcarlin, tzumainn
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1278003 Environment:
Last Closed: 2017-11-08 17:40:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On: 1278003    
Bug Blocks:    

Comment 2 Rich Oliveri 2015-12-14 16:54:22 UTC
Greg, this is a clone of https://bugzilla.redhat.com/show_bug.cgi?id=1278003

Comment 3 John Prause 2016-03-14 15:53:16 UTC
Deferring to 5.5.4 since today is dev complete for 5.5.3

Comment 4 Greg Blomquist 2016-04-19 14:43:04 UTC
We don't yet have an upstream solution for this.  We can't figure out what's causing the failure to parse the login information.

We'll likely have to punt on this again ... I don't see this getting fixed upstream before 5.5.4 release date.

Comment 11 CFME Bot 2016-06-22 15:51:16 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/b3a96711a126f400c6a9a9efb91f5ceadb4b0c6c

commit b3a96711a126f400c6a9a9efb91f5ceadb4b0c6c
Author:     Marek Aufart <maufart>
AuthorDate: Wed Jun 22 10:57:20 2016 +0200
Commit:     Marek Aufart <maufart>
CommitDate: Wed Jun 22 16:42:11 2016 +0200

    Fix SSA user logon on RHEL7
    
    Smart state analysis failed to read user logon time after
    certain amount of logged actions. Reading /var/log/wtmp file
    in binary mode fixes it.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1289699
    https://bugzilla.redhat.com/show_bug.cgi?id=1278003

 gems/pending/metadata/linux/LinuxUsers.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)