Bug 1209847 - [Regression] Disk format is ignored in provisioning
Summary: [Regression] Disk format is ignored in provisioning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.4.0
Assignee: Harpreet Kataria
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-08 10:39 UTC by Pete Savage
Modified: 2015-06-16 12:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:57:18 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

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


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