Bug 1381260

Summary: undefined local variable or method `id' for Metric::Capture:Module
Product: Red Hat CloudForms Management Engine Reporter: Gellert Kis <gekis>
Component: ProvidersAssignee: Marcel Hild <mhild>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: abellott, agrare, fdewaley, gblomqui, gekis, jfrey, jhardy, jocarter, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-26 11:07:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: VMware Target Upstream Version:
Attachments:
Description Flags
bug in log none

Description Gellert Kis 2016-10-03 13:57:18 UTC
Created attachment 1206901 [details]
bug in log

Description of problem:

In general : 
Occasional automatic provider refresh operations seem to complete successfully, but the Virtual Machines tree view does not contain the top-level datacenter object and several objects below the datacenter are also missing. Initiating a manual refresh fixes the issue and updates the object tree successfully, but after a while the datacenter / VMs tree goes missing again.

error in logs is :


[----] E, [2016-09-30T17:35:33.742352 #121894:130f998] ERROR -- : MIQ(MiqQueue#deliver) Message id: [1000012750596], Error: [undefined local variable or method `id' for Metric::Capture:Module]
[----] E, [2016-09-30T17:35:33.742544 #121894:130f998] ERROR -- : [NameError]: undefined local variable or method `id' for Metric::Capture:Module  Method:[rescue in deliver]
[----] E, [2016-09-30T17:35:33.742708 #121894:130f998] ERROR -- : /var/www/miq/vmdb/app/models/metric/capture.rb:199:in `block (2 levels) in queue_captures'

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


How reproducible:

in customer environment

in customer environment happened after operations : 
appliance cfme version is 5.6.0.13 .
import db , custom automate model, 
register for rhn , 
upgrade to 5.6.1.2 via yum ,terminal . 

Steps to Reproduce:
,....



Actual results:

see attachment 

///////////////////////////////////////////////////////////////

Expected results:


Additional info:

Comment 8 Felix Dewaleyne 2016-10-26 09:29:57 UTC
Confirmed, applying 5.6.2.1 fixed the issue

Comment 9 Josh Carter 2017-02-15 14:57:11 UTC
Changing this to Closed fixed in Current release since it was a known bug in 5.6.1 and resolved in 5.6.2