Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1229104 - undefined method `description' for #<EmsOpenstack:0x000000109620e8> [ems_cloud/show] while clicking on openstack provider
undefined method `description' for #<EmsOpenstack:0x000000109620e8> [ems_clou...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.4.0
Unspecified Unspecified
unspecified Severity medium
: GA
: 5.5.0
Assigned To: Harpreet Kataria
Nandini Chandra
:
Depends On:
Blocks: 1229781
  Show dependency treegraph
 
Reported: 2015-06-08 01:25 EDT by Nandini Chandra
Modified: 2015-12-08 08:16 EST (History)
6 users (show)

See Also:
Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1229781 (view as bug list)
Environment:
Last Closed: 2015-12-08 08:16:23 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 12:58:09 EST

  None (edit)
Description Nandini Chandra 2015-06-08 01:25:02 EDT
Description of problem:
--------------------------


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


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


Steps to Reproduce:
-------------------
1.Navigate to Cloud->Providers page.
2.Click any openstack provider.
3.

Actual results:
---------------
Error occurs


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


Additional info:
----------------
Comment 2 Nandini Chandra 2015-06-08 01:33:28 EDT
Snippet from production.log
---------------------------
[----] F, [2015-06-08T01:24:12.135019 #2666:78dea8] FATAL -- : Error caught: [NoMethodError] undefined method `description' for #<EmsOpenstack:0x0000000c824108>
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activemodel/lib/active_model/attribute_methods.rb:407:in `method_missing'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activerecord/lib/active_record/attribute_methods.rb:149:in `method_missing'
/var/www/miq/vmdb/app/helpers/ems_cloud_helper/textual_summary.rb:31:in `textual_provider_region'
/var/www/miq/vmdb/app/helpers/ems_cloud_helper/textual_summary.rb:8:in `block in textual_group_properties'
/var/www/miq/vmdb/app/helpers/ems_cloud_helper/textual_summary.rb:8:in `collect'
/var/www/miq/vmdb/app/helpers/ems_cloud_helper/textual_summary.rb:8:in `textual_group_properties'
/var/www/miq/vmdb/app/views/shared/views/ems_common/_main.html.haml:4:in `_app_views_shared_views_ems_common__main_html_haml__258574547880236950_110449940'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/template.rb:145:in `block in render'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/activesupport/lib/active_support/notifications.rb:125:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/template.rb:143:in `render'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/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_view/renderer/abstract_renderer.rb:38:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/renderer/partial_renderer.rb:237:in `render'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/renderer/renderer.rb:41:in `render_partial'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/renderer/renderer.rb:15:in `render'
/opt/rh/cfme-gemset/bundler/gems/rails-4842a8377644/actionpack/lib/action_view/helpers/rendering_helper.rb:24:in `render'
/opt/rh/cfme-gemset/bundler/gems/jquery-rjs-33e0fc1c0b25/lib/jquery-rjs/rendering.rb:8:in `render_with_update'
/opt/rh/cfme-gemset/gems/haml-4.0.6/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
/opt/rh/cfme-gemset/gems/haml-4.0.6/lib/haml/helpers.rb:89:in `non_haml'
/opt/rh/cfme-gemset/gems/haml-4.0.6/lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/var/www/miq/vmdb/app/views/shared/views/ems_common/_show.html.haml:14:in `_app_views_shared_views_ems_common__show_html_haml___2686320826751755106_109754440'
Comment 3 Nandini Chandra 2015-06-08 04:04:28 EDT
This issue seems to be happening on just one of my appliances.Additionally,it happens when one particular Openstack provider is clicked.
Comment 8 CFME Bot 2015-06-11 09:40:16 EDT
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/1f1dd086ff9f09a2ab8d407a0a0248c857b1772d

commit 1f1dd086ff9f09a2ab8d407a0a0248c857b1772d
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Tue Jun 9 11:38:12 2015 -0400
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Tue Jun 9 13:29:42 2015 -0400

    Added changes to reset provider region after user changes provider type
    
    - Added changes to reset provider region value in case user changed provider type after selecting provider region for a different type and then changed type to "Openstack". Added spec test to verify.
    - Added a description method to EmsOpenstack, to prevent from blowing up in UI incase somehow user's db has provider_region column populated for Openstack Provider.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1229104
    https://bugzilla.redhat.com/show_bug.cgi?id=1229781

 vmdb/app/controllers/ems_common.rb                  |  1 +
 vmdb/app/models/mixins/ems_openstack_mixin.rb       |  4 ++++
 vmdb/spec/controllers/ems_common_controller_spec.rb | 15 +++++++++++++++
 3 files changed, 20 insertions(+)
Comment 9 CFME Bot 2015-07-14 18:00:08 EDT
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4979bdc21d8392e39b78e1f4afbe0ea7314fb781

commit 4979bdc21d8392e39b78e1f4afbe0ea7314fb781
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Tue Jun 9 11:38:12 2015 -0400
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Fri Jun 12 17:39:52 2015 -0400

    Added changes to reset provider region after user changes provider type
    
    - Added changes to reset provider region value in case user changed provider type after selecting provider region for a different type and then changed type to "Openstack". Added spec test to verify.
    - Added a description method to EmsOpenstack, to prevent from blowing up in UI incase somehow user's db has provider_region column populated for Openstack Provider.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1229104
    https://bugzilla.redhat.com/show_bug.cgi?id=1229781
    (cherry picked from commit 1f1dd08)

 vmdb/app/controllers/ems_common.rb                  |  1 +
 vmdb/app/models/mixins/ems_openstack_mixin.rb       |  4 ++++
 vmdb/spec/controllers/ems_common_controller_spec.rb | 15 +++++++++++++++
 3 files changed, 20 insertions(+)
Comment 10 CFME Bot 2015-07-14 18:00:55 EDT
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=2881a2b5b380e2371143cac7b417285b3fbde19e

commit 2881a2b5b380e2371143cac7b417285b3fbde19e
Merge: 9dad98d 4979bdc
Author:     Dan Clarizio <dclarizi@redhat.com>
AuthorDate: Tue Jul 14 17:57:53 2015 -0400
Commit:     Dan Clarizio <dclarizi@redhat.com>
CommitDate: Tue Jul 14 17:57:53 2015 -0400

    Merge branch '54z_bz_1229781' into '5.4.z'
    
    Added changes to reset provider region after user changes provider type
    
    - Added changes to reset provider region value in case user changed provider type after selecting provider region for a different type and then changed type to "Openstack". Added spec test to verify.
    - Added a description method to EmsOpenstack, to prevent from blowing up in UI incase somehow user's db has provider_region column populated for Openstack Provider.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1229104
    https://bugzilla.redhat.com/show_bug.cgi?id=1229781
    (cherry picked from commit 1f1dd08)
    
    @jfrey @dclarizio this is clean cherry-pick, please review
    PR: https://github.com/ManageIQ/manageiq/pull/3105
    
    See merge request !127

 vmdb/app/controllers/ems_common.rb                  |  1 +
 vmdb/app/models/mixins/ems_openstack_mixin.rb       |  4 ++++
 vmdb/spec/controllers/ems_common_controller_spec.rb | 15 +++++++++++++++
 3 files changed, 20 insertions(+)
Comment 11 Nandini Chandra 2015-10-30 14:59:56 EDT
Verified in 5.5.0.7
Comment 13 errata-xmlrpc 2015-12-08 08:16:23 EST
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

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