Bug 1396937

Summary: VM reconfigure: submit is disabled, when memory new value is set after add disk
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jfrey, jhardy, obarenbo, oourfali
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev, vm reconfigure
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1401018 (view as bug list) Environment:
Last Closed: 2017-06-12 17:44:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1401018    
Attachments:
Description Flags
submit disabled before memory set
none
submit disabled after memory set. none

Description Ilanit Stein 2016-11-21 08:53:31 UTC
Description of problem:
VM reconfigure submit is disabled, when memory new value is inserted,
after filling new value to cpu sockets, and add disk.

Version-Release number of selected component (if applicable):
cfme-5.7.0.11
RHV-4.0.5

Steps to Reproduce:
1. VM reconfigure a down VM
2. Set memory to be changed, but not yet change it (a message will be seen
See screenshot "submit disabled before memory set" attachment.
4. Set the cpu to be changed. change socket number 1->2.
5. Press "Add disk" button, add disk with some size, and press "add" action.
6. Set a new valid value to the memory for example 1024->2048 MB)
submit button still do not turn into enabled, though validation to all fields is OK.
See screenshot "submit disabled after memory set" attachment.

Expected results:
Submit button should be enabled, after setting a new value to the memory,
with the steps above.

Additional information:
If the memory new value is inserted before add disk,
then the submit button is enabled.

Comment 2 Ilanit Stein 2016-11-21 08:54:32 UTC
Created attachment 1222325 [details]
submit disabled before memory set

Comment 3 Ilanit Stein 2016-11-21 08:55:06 UTC
Created attachment 1222327 [details]
submit disabled after memory set.

Comment 4 Moti Asayag 2016-11-29 15:45:51 UTC
https://github.com/ManageIQ/manageiq/pull/12897

Comment 7 Ilanit Stein 2017-04-23 11:34:51 UTC
Verified on CFME-5.8.0.11/RHV-4.0.7 - For the flow in bug description,
the submit button is active.