Bug 1209847

Summary: [Regression] Disk format is ignored in provisioning
Product: Red Hat CloudForms Management Engine Reporter: Pete Savage <psavage>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: high    
Version: 5.4.0CC: hkataria, jhardy, mfalesni, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:57:18 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:

Description Pete Savage 2015-04-08 10:39:10 UTC
Description of problem: CFME doesn't honour the disk format selection any more


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


How reproducible: 100%


Steps to Reproduce:
1. Provision a vm (rhevm tested) and try to specify the disk format as Preallocated
2. 
3.

Actual results: In the request view the Radio element is set to Default and the provisioning proceeds as such.


Expected results: Provisioning should honour the disk format selection


Additional info:

Comment 3 CFME Bot 2015-04-22 16:56:06 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/97d5a00415f93b888d6091886fb83f9ba6fcc7a8

commit 97d5a00415f93b888d6091886fb83f9ba6fcc7a8
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Apr 10 12:20:04 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Apr 10 12:20:04 2015 -0400

    Only serialize a single changed field to send transaction.
    
    Added new JS function that only send up a single field that is changed to send up in AJAX transaction, sending up the whole div with all fields in it was causing to reset some of the values on the screen.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1209847

 vmdb/app/assets/javascripts/miq_application.js   | 4 ++++
 vmdb/app/views/miq_request/_prov_field.html.haml | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

Comment 5 Milan Falešník 2015-05-05 12:20:34 UTC
Verified in 5.4.0.0.24.20150427192818_1fd9e49

The disk format selection persisted in the request. RHEV was shouting that it cannot provision a VM with COW preallocated on such datastore, which I presume is a success for this bug. vSphere worked normally and the provisioning type was correctly done.

Comment 7 errata-xmlrpc 2015-06-16 12:57:18 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-1100.html