Bug 1217693 - undefined method `config' for #<Hash:0x0000000f507148> [ops/explorer] on configure->configuration
Summary: undefined method `config' for #<Hash:0x0000000f507148> [ops/explorer] on conf...
Keywords:
Status: CLOSED DUPLICATE of bug 1217161
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.4.0
Assignee: Dan Clarizio
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-01 04:43 UTC by Nandini Chandra
Modified: 2015-05-01 13:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-01 13:25:51 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nandini Chandra 2015-05-01 04:43:04 UTC
Description of problem:
------------------------
I ran into this issue while verifying bug 1145799.

Error text:

undefined method `config' for #<Hash:0x0000000e9b7ab8> [ops/explorer]

Snippet from production.log:

[----] I, [2015-04-30T17:23:51.499672 #30431:8f9ea4]  INFO -- : Started GET "/ops/explorer" for 127.0.0.1 at 2015-04-30 17:23:51 -0400
[----] I, [2015-04-30T17:23:51.502668 #30431:8f9ea4]  INFO -- : Processing by OpsController#explorer as HTML
[----] F, [2015-04-30T17:23:51.871097 #30431:8f9ea4] FATAL -- : Error caught: [NoMethodError] undefined method `config' for #<Hash:0x00000010076ab0>
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/core_ext/object/try.rb:36:in `try'
/var/www/miq/vmdb/app/controllers/ops_controller.rb:172:in `explorer'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/abstract_controller/base.rb:167:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/rendering.rb:10:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/callbacks.rb:557:in `_run__2870380282264200488__process_action__4606151061809672419__callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/rescue.rb:29:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/notifications.rb:123:in `block in instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/notifications.rb:123:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/abstract_controller/base.rb:121:in `process'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/abstract_controller/rendering.rb:45:in `process'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal.rb:203:in `dispatch'
/opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'


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


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


Steps to Reproduce:
------------------
1.While enabling C&U collection by datastore,select a few datastores for C&U data collection.
2.Navigate away from Config->Configuration to a different tab,eg: Config->About tab and then navigate back to Config->Configuration.


Actual results:
---------------
Error encountered.


Expected results:
----------------
No error


Additional info:
----------------

Comment 2 Harpreet Kataria 2015-05-01 13:25:51 UTC

*** This bug has been marked as a duplicate of bug 1217161 ***


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