Bug 1229781 - undefined method `description' for #<EmsOpenstack:0x000000109620e8> [ems_cloud/show] while clicking on openstack provider
Summary: undefined method `description' for #<EmsOpenstack:0x000000109620e8> [ems_clou...
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
medium
Target Milestone: GA
: 5.4.1
Assignee: Harpreet Kataria
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On: 1229104
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-09 15:34 UTC by Harpreet Kataria
Modified: 2015-07-30 13:11 UTC (History)
7 users (show)

Fixed In Version: 5.4.1.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 1229104
Environment:
Last Closed: 2015-07-30 13:11:22 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1511 0 normal SHIPPED_LIVE CFME 5.4.1 bug fixes, and enhancement update 2015-07-30 17:10:05 UTC

Comment 2 CFME Bot 2015-06-11 13:40:20 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/1f1dd086ff9f09a2ab8d407a0a0248c857b1772d

commit 1f1dd086ff9f09a2ab8d407a0a0248c857b1772d
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Jun 9 11:38:12 2015 -0400
Commit:     Harpreet Kataria <hkataria>
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 4 CFME Bot 2015-07-14 22:00:12 UTC
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>
AuthorDate: Tue Jun 9 11:38:12 2015 -0400
Commit:     Harpreet Kataria <hkataria>
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 5 CFME Bot 2015-07-14 22:01:01 UTC
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>
AuthorDate: Tue Jul 14 17:57:53 2015 -0400
Commit:     Dan Clarizio <dclarizi>
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 7 Nandini Chandra 2015-07-28 07:58:55 UTC
Verified in 5.4.1

Comment 9 errata-xmlrpc 2015-07-30 13:11:22 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://rhn.redhat.com/errata/RHBA-2015-1511.html


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