Bug 1331184

Summary: vm reconfigure adding new disk fails
Product: Red Hat CloudForms Management Engine Reporter: luke couzens <lcouzens>
Component: ProvidersAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: abellott, cpelland, gblomqui, gmccullo, jfrey, jhardy, lcouzens, obarenbo, simaishi
Target Milestone: Beta 2   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: reconfigure
Fixed In Version: 5.6.0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:55:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of adding disk none

Description luke couzens 2016-04-27 22:33:33 UTC
Description of problem:reconfiguring a vsphere vm fails


Version-Release number of selected component (if applicable):5.6.0.4-beta2.3


How reproducible:100%


Steps to Reproduce:
1.provision 5.6 appliance
2.add vsphere provider
3.provision new vm
4.select new vm 
5.power off vm
6.click configuration -> reconfigure this vm
7.add new disk and click submit
8.click on and approve request if required
9.check last message on request.

Actual results:error displayed in last message and vm changes not applied


Expected results:vm is reconfigured


Additional info: 

last message : Error: nil can't be coerced into Fixnum

Comment 3 luke couzens 2016-04-28 15:32:48 UTC
Created attachment 1151947 [details]
Screenshot of adding disk

Comment 5 CFME Bot 2016-04-29 16:55:41 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/8d30c0ff11f18cefaf0aa28727cc5a7f27718408

commit 8d30c0ff11f18cefaf0aa28727cc5a7f27718408
Author:     Lucy Fu <lufu>
AuthorDate: Thu Apr 28 17:54:36 2016 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Fri Apr 29 09:24:33 2016 -0400

    getScsiCandU may return either an empty hash or an array of controller key and unit number.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1331184

 .../vmware/infra_manager/vm/reconfigure.rb         |  2 +-
 .../vmware/infra_manager/vm/reconfigure_spec.rb    | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

Comment 6 luke couzens 2016-05-04 12:00:18 UTC
Verified in 5.6.0.5-beta2.4

Comment 9 errata-xmlrpc 2016-06-29 15:55:47 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