Bug 1275666

Summary: Log file shows: Undefined method `Rpm' for LinuxAdmin:Module
Product: Red Hat CloudForms Management Engine Reporter: Thom Carlin <tcarlin>
Component: ApplianceAssignee: Nick Carboni <ncarboni>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: abellott, jhardy, mfalesni, ncarboni, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:40:51 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:

Description Thom Carlin 2015-10-27 13:14:50 UTC
Description of problem:

Error in logs: 

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

5.5.0.7-beta1.3.20151021133253_ed40d96

How reproducible:

100%

Steps to Reproduce:
1. Bring up appliance
2. Examine evm.log
3.

Actual results:

undefined method `Rpm' for LinuxAdmin:Module

Expected results:


Additional info:

evm excerpt:

[----] W, [2015-10-22T08:07:24.801790 #13968:567994]  WARN -- : Diagnostics: [Installed RPMs] command [#<Proc:0x0000000b239398@/var/www/miq/vmdb/lib/vmdb/appliance.rb:182 (lambda)>] failed with error [undefined method `Rpm' for LinuxAdmin:Module]

Comment 2 Nick Carboni 2015-10-30 16:14:34 UTC
https://github.com/ManageIQ/manageiq/pull/5201

Comment 3 CFME Bot 2015-10-30 18:15:20 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6259d184d94feeafef94e111a5c7191df65af711

commit 6259d184d94feeafef94e111a5c7191df65af711
Author:     Nick Carboni <ncarboni>
AuthorDate: Fri Oct 30 12:11:33 2015 -0400
Commit:     Nick Carboni <ncarboni>
CommitDate: Fri Oct 30 12:11:33 2015 -0400

    Reference Rpm as the class rather than the method
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1275666

 lib/vmdb/appliance.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 Nick Carboni 2015-10-30 20:18:25 UTC
Moving back to ONDEV until downstream MR is merged

Comment 5 CFME Bot 2015-11-04 20:06:18 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=3193190e786fcf47a28280699ffd88550d764929

commit 3193190e786fcf47a28280699ffd88550d764929
Author:     Nick Carboni <ncarboni>
AuthorDate: Fri Oct 30 12:11:33 2015 -0400
Commit:     Nick Carboni <ncarboni>
CommitDate: Fri Oct 30 16:02:52 2015 -0400

    Reference Rpm as the class rather than the method
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1275666

 lib/vmdb/appliance.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 CFME Bot 2015-11-04 20:11:35 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=3193190e786fcf47a28280699ffd88550d764929

commit 3193190e786fcf47a28280699ffd88550d764929
Author:     Nick Carboni <ncarboni>
AuthorDate: Fri Oct 30 12:11:33 2015 -0400
Commit:     Nick Carboni <ncarboni>
CommitDate: Fri Oct 30 16:02:52 2015 -0400

    Reference Rpm as the class rather than the method
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1275666

 lib/vmdb/appliance.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 8 Milan Falešník 2015-11-20 13:50:12 UTC
Verified in 5.5.0.11, there is no longer such an error in evm.log.

Comment 10 errata-xmlrpc 2015-12-08 13:40:51 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/RHSA-2015:2551