Bug 1222182 - no implicit conversion of Symbol into Integer [storage/perf_chart_chooser] while grouping datastore C&U charts by tag [NEEDINFO]
Summary: no implicit conversion of Symbol into Integer [storage/perf_chart_chooser] wh...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.5.0
Assignee: Martin Povolny
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks: 1261911
TreeView+ depends on / blocked
 
Reported: 2015-05-16 03:31 UTC by Nandini Chandra
Modified: 2019-08-15 04:36 UTC (History)
8 users (show)

Fixed In Version: 5.5.0.3
Doc Type: Bug Fix
Doc Text:
Cause: Extra line from chart definition Consequence: When grouping datastore C&U charts by tag, get error "no implicit conversion of Symbol into Integer [storage/perf_chart_chooser]." Fix: Remove extra line in chart definition. Result: No error.
Clone Of:
: 1261911 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:09:48 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:
cfme-bot: needinfo?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1569783 0 None None None Never
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Nandini Chandra 2015-05-16 03:31:56 UTC
Description of problem:
-----------------------
Unexpected error encountered while grouping Virtual Machines graphs by tags.

Error text:

no implicit conversion of Symbol into Integer [storage/perf_chart_chooser]


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


How reproducible:
-----------------
Always


Steps to Reproduce:
-------------------
1.Enable C&U collection on an appliance
2.Tag a few VMs.Navigate to the datastore utilization page
3.Group the datastore C&U graphs by tag.


Actual results:
--------------
Exception occurs.


Expected results:
----------------
No errors


Additional info:
----------------
Snippet from production.log:

[----] F, [2015-05-15T23:25:29.570294 #4209:987eac] FATAL -- : Error caught: [TypeError] no implicit conversion of Symbol into Integer
/var/www/miq/vmdb/app/controllers/application_controller/performance.rb:904:in `[]'
/var/www/miq/vmdb/app/controllers/application_controller/performance.rb:904:in `block in perf_gen_tag_data_after_wait'
/var/www/miq/vmdb/app/controllers/application_controller/performance.rb:903:in `each'
/var/www/miq/vmdb/app/controllers/application_controller/performance.rb:903:in `each_with_index'
/var/www/miq/vmdb/app/controllers/application_controller/performance.rb:903:in `perf_gen_tag_data_after_wait'
/var/www/miq/vmdb/app/controllers/application_controller/performance.rb:812:in `perf_gen_tag_data'
/var/www/miq/vmdb/app/controllers/application_controller/performance.rb:624:in `perf_gen_data'
/var/www/miq/vmdb/app/controllers/application_controller/performance.rb:42:in `perf_chart_chooser'
/var/www/miq/vmdb/app/controllers/application_controller.rb:363:in `wait_for_task'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/abstract_controller/base.rb:167:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_controller/metal/rendering.rb:10:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/callbacks.rb:568:in `_run__4040326267902871670__process_action__3498288852099815545__callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_controller/metal/rescue.rb:29:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/notifications.rb:123:in `block in instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/notifications.rb:123:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action'

Comment 5 Martin Povolny 2015-09-08 11:29:10 UTC
upstream PR:

https://github.com/ManageIQ/manageiq/pull/4245

Comment 7 CFME Bot 2015-09-08 13:36:15 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/dd29ab17a950cfc1e1a806fb48399bd2c0fc1de9

commit dd29ab17a950cfc1e1a806fb48399bd2c0fc1de9
Author:     Martin Povolny <mpovolny>
AuthorDate: Tue Sep 8 13:25:55 2015 +0200
Commit:     Martin Povolny <mpovolny>
CommitDate: Tue Sep 8 13:26:46 2015 +0200

    Remove extra line from chart definition.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1222182

 product/charts/layouts/daily_tag_charts/Storage.yaml | 1 -
 1 file changed, 1 deletion(-)

Comment 17 CFME Bot 2015-09-24 00:49:14 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ffa6b73ae3854a0c0a9bf4144a9008cf07504865

commit ffa6b73ae3854a0c0a9bf4144a9008cf07504865
Author:     Martin Povolny <mpovolny>
AuthorDate: Tue Sep 8 13:25:55 2015 +0200
Commit:     Martin Povolny <mpovolny>
CommitDate: Mon Sep 21 14:22:38 2015 +0200

    Remove extra line from chart definition.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1222182

 vmdb/product/charts/layouts/daily_tag_charts/Storage.yaml | 1 -
 1 file changed, 1 deletion(-)

Comment 18 CFME Bot 2015-09-24 00:55:44 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=aabec8d3a64e05e08cc9c2217b944bd0a42904c8

commit aabec8d3a64e05e08cc9c2217b944bd0a42904c8
Merge: 5fcb18c ffa6b73
Author:     Dan Clarizio <dclarizi>
AuthorDate: Mon Sep 21 18:29:19 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Mon Sep 21 18:29:19 2015 -0400

    Merge branch 'bz_1261911' into '5.4.z'
    
    Remove extra line from chart definition.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1222182
    
    See merge request !256

 vmdb/product/charts/layouts/daily_tag_charts/Storage.yaml | 1 -
 1 file changed, 1 deletion(-)

Comment 19 Nandini Chandra 2015-10-28 17:05:57 UTC
Verified in 5.5.0.7

Comment 21 errata-xmlrpc 2015-12-08 13:09:48 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

Comment 23 CFME Bot 2016-02-09 17:42:46 UTC
Detected commit referencing this ticket while ticket status is CLOSED.


Note You need to log in before you can comment on or make changes to this bug.