Bug 1328083 - resize instance, changing flavor throws undefined method `[]' for nil:NilClass [vm_cloud/resize_vm]
Summary: resize instance, changing flavor throws undefined method `[]' for nil:NilClas...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Beta 2
: 5.6.0
Assignee: Marek Aufart
QA Contact: Omri Hochman
URL:
Whiteboard: openstack:vm:reconfigure
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-18 12:03 UTC by Ronnie Rasouli
Modified: 2018-07-25 16:48 UTC (History)
7 users (show)

Fixed In Version: 5.6.0.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 15:50:25 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Ronnie Rasouli 2016-04-18 12:03:08 UTC
Description of problem:

Reconfiguring an instance changing it's flavor to larger flavor throws an error.

as described in:https://github.com/ManageIQ/manageiq/issues/7899


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



5.6.0.1-beta2.20160413141124_e25ac0e


How reproducible:
100%

Steps to Reproduce:
1.create and boot an instance
2.reconfigure the instance
3.change it's flavor to larger flavor

Actual results:

an error appear:
Unexpected error encountered Error text:

undefined method `[]' for nil:NilClass [vm_cloud/resize_vm]  



Expected results:


Additional info:

Comment 3 CFME Bot 2016-05-06 03:05:54 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/edcdac67efa4d961db161f8aef259137bb28ee03

commit edcdac67efa4d961db161f8aef259137bb28ee03
Author:     Marek Aufart <maufart>
AuthorDate: Fri Apr 29 10:58:58 2016 +0200
Commit:     Marek Aufart <maufart>
CommitDate: Mon May 2 15:30:13 2016 +0200

    Fix openstack cloud instance resize
    
    Issue #7899
    https://bugzilla.redhat.com/show_bug.cgi?id=1328083

 .../manageiq/providers/openstack/cloud_manager/vm/resize.rb    | 10 +++++++++-
 app/views/vm_common/_resize.html.haml                          |  5 +++++
 .../manageiq/providers/openstack/cloud_manager/vm_spec.rb      |  1 +
 3 files changed, 15 insertions(+), 1 deletion(-)

Comment 5 Udi Kalifon 2016-06-01 07:37:40 UTC
Verified that the error doesn't happen any more, but the instance resize is still an issue. Verified in 5.6.0.8-rc1-nightly.20160527091122_ced67ee.

Comment 7 errata-xmlrpc 2016-06-29 15:50:25 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/RHBA-2016:1348


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