Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1336812 - VMware vCenter Provider : VM reconfigure (powered on or off) add disk error when more than 1 disk present
VMware vCenter Provider : VM reconfigure (powered on or off) add disk error w...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.6.0
All Unspecified
high Severity high
: GA
: 5.6.0
Assigned To: Adam Grare
luke couzens
vmware:reconfigure
:
Depends On:
Blocks: 1358509
  Show dependency treegraph
 
Reported: 2016-05-17 09:38 EDT by Andre Motta
Modified: 2017-09-05 03:41 EDT (History)
6 users (show)

See Also:
Fixed In Version: 5.6.0.8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1358509 (view as bug list)
Environment:
Last Closed: 2016-06-29 12:03:04 EDT
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 RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Andre Motta 2016-05-17 09:38:13 EDT
Description of problem:
VMware vCenter Provider : VM reconfigure (powered on or off) add disk error when more than 1 disk present. Deleting the existing second disk from CF or directly from vCenter and then adding a new disk to the VM which at that point only has 1 disk works.

Version-Release number of selected component (if applicable):
CFME 4.1 beta 2.5

How reproducible:
Every time a VM is reconfigured adding a disk and has more than 1 disk. 

Steps to Reproduce:
1. Provision a vSphere VM with 1 or 2 disks
2. Reconfigure the VM from CFME adding a 3rd disk.
3. It will fail with "Invalid configuration for device '0'.

Actual results:

It will fail with 
Reconfigure virtual machine: status:"Invalid configuration for device '0'.

Expected results:
Reconfigure virtual machine: status: "Completed"

Additional info:
Comment 4 CFME Bot 2016-05-19 08:40:48 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/79ae05ba6a9f239b7709973a30e7dfff4574e595

commit 79ae05ba6a9f239b7709973a30e7dfff4574e595
Author:     Adam Grare <agrare@redhat.com>
AuthorDate: Wed May 18 12:18:53 2016 -0400
Commit:     Adam Grare <agrare@redhat.com>
CommitDate: Wed May 18 14:20:43 2016 -0400

    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=1336812

 gems/pending/VMwareWebService/MiqVimVm.rb          |  36 ++-
 .../pending/spec/VMwareWebService/MiqVimVm_spec.rb | 347 ++++++++++++++++++---
 2 files changed, 337 insertions(+), 46 deletions(-)
Comment 5 luke couzens 2016-06-02 06:22:12 EDT
Verified in 5.6.0.9
Comment 7 errata-xmlrpc 2016-06-29 12:03:04 EDT
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
Comment 8 CFME Bot 2016-08-02 18:01:33 EDT
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a711f10895696e9ccb5a437eda2596a3a2a4a8f8

commit a711f10895696e9ccb5a437eda2596a3a2a4a8f8
Author:     Adam Grare <agrare@redhat.com>
AuthorDate: Wed May 18 12:18:53 2016 -0400
Commit:     Drew Bomhof <dbomhof@redhat.com>
CommitDate: Mon Aug 1 17:14:06 2016 -0400

    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=1336812

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

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