Bug 1358509

Summary: VMware vCenter Provider : VM reconfigure (powered on or off) add disk error when more than 1 disk present
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ProvidersAssignee: Drew Bomhof <dbomhof>
Status: CLOSED WONTFIX QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: agrare, amotta, gblomqui, jfrey, jhardy, jprause, lcouzens, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.6   
Hardware: All   
OS: Unspecified   
Whiteboard: vmware:reconfigure
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1336812 Environment:
Last Closed: 2017-08-16 17:29:25 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:
Bug Depends On: 1336812    
Bug Blocks:    

Comment 2 CFME Bot 2016-08-02 22:01:38 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a4c2c29c15c53beba9cd5d12b14194bc600e721d

commit a4c2c29c15c53beba9cd5d12b14194bc600e721d
Merge: 84070f6 a711f10
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Aug 2 17:58:25 2016 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Tue Aug 2 17:58:25 2016 -0400

    Merge branch '5.5.z_vm_reconfig_more_than_one_disk' into '5.5.z'
    
    Fix calculation of the controller and unit number
    
    When calculating the controller key and unit number detect was
    used so that if there were more than 1 scsi controller or
    virtual disk on the target vm the new disk would be added to
    a populated slot on the scsi controller, leading to the error
    message from VMware "Invalid configuration for device '0'"
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1358509
    
    PR: https://github.com/ManageIQ/manageiq/pull/8791
    
    Cherry-pick was clean
    
    See merge request !1029

 gems/pending/VMwareWebService/MiqVimVm.rb          |  36 ++-
 .../pending/spec/VMwareWebService/MiqVimVm_spec.rb | 347 ++++++++++++++++++---
 2 files changed, 337 insertions(+), 46 deletions(-)

Comment 3 Chris Pelland 2017-08-16 17:29:25 UTC
This bug has been open for more than a year and is assigned to an older release of CloudForms. 

If you would like to keep this Bugzilla open and if the issue is still present in the latest version of the product, please file a new Bugzilla which will be added and assigned to the latest release of CloudForms.