Bug 1292184

Summary: UI: VM Provisioning - When adding a provisiong request, uploading Sysprep Answer file does not load screen properly
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Taras Lehinevych <tlehinev>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, dajohnso, dclarizi, hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1292194 (view as bug list) Environment:
Last Closed: 2016-06-29 15:22:11 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:    
Bug Blocks: 1292194    

Description Harpreet Kataria 2015-12-16 16:48:33 UTC
Description of problem:When adding a provisiong request, uploading Sysprep Answer file does not load screen properly


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


How reproducible:100%


Steps to Reproduce:
1. Go to Workload explorer, Press Provision button under Lifecycle
2. Select a windows template, click contnue
3. After filling out fields, switch to Customize tab
4. From Customize drop down select "Sysprep answer File"
5. Select a file to upload in Upload File section, press Upload button

Actual results:
Flash message is displayed with results of upload, but form fields are missing on the screen

Expected results: Flash message with upload results should be displayed along with other form fields.


Additional info:

Comment 1 Harpreet Kataria 2015-12-16 16:49:04 UTC
this BZ addresses http://talk.manageiq.org/t/customize-sysprep-answer-file/1099

Comment 2 Harpreet Kataria 2015-12-16 16:55:17 UTC
Milan,

I am not sure but maybe https://github.com/ManageIQ/manageiq/blob/master/app/views/miq_request/_prov_field.html.haml#L529 is the culprit. Let me know if you need help looking into this.

Thanks,
~Harpreet

Comment 3 Milan Zázrivec 2015-12-22 14:25:41 UTC
https://github.com/ManageIQ/manageiq/pull/5957

Comment 4 CFME Bot 2015-12-23 17:45:50 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/d05c209a99d39473f1187aa6446c6b26f24f6b45

commit d05c209a99d39473f1187aa6446c6b26f24f6b45
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Tue Dec 22 15:22:43 2015 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Tue Dec 22 15:24:32 2015 +0100

    Fix VM provisioning from Services -> Workloads
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1292184

 .../application_controller/sysprep_answer_file.rb           |  2 +-
 app/views/miq_request/_prov_edit.html.haml                  | 13 ++++++-------
 app/views/miq_request/prov_edit.html.haml                   |  3 ++-
 app/views/vm_or_template/explorer.html.haml                 |  7 ++++++-
 config/routes.rb                                            |  1 +
 5 files changed, 16 insertions(+), 10 deletions(-)

Comment 5 Taras Lehinevych 2016-05-05 16:26:20 UTC
Verified in 5.6.0.5-beta2.4

Comment 7 errata-xmlrpc 2016-06-29 15:22:11 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