Bug 1434836

Summary: Error on the hosts when statsd record is missing type_instance
Product: [oVirt] ovirt-engine-metrics Reporter: Shirly Radco <sradco>
Component: GenericAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0.1CC: bugs, lsvaty
Target Milestone: ovirt-4.1.2Flags: sradco: ovirt-4.1?
sradco: planning_ack?
rule-engine: devel_ack+
lsvaty: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-23 08:16:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1402901    

Description Shirly Radco 2017-03-22 12:59:38 UTC
Description of problem:
Started getting errors
[warn]: failed to expand `type_instance` error_class=NameError error="undefined local variable or method `type_instance'"

For statsd balloon and cpu records.
The reason is that when parsing I removed the "type_instance", but later we try to use it when nesting.

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

How reproducible:
100%

Steps to Reproduce:
1.Run collectd and fluentd 
2.check /var/log/messages
3.

Actual results:
cpu and balloon statsd records give errors

Expected results:
No errors

Additional info:

Comment 1 Lukas Svaty 2017-05-10 11:20:23 UTC
verified in ovirt-engine-metrics-1.0.3-1.el7ev.noarch
no similiar log messages found on hosts /var/log/messages