Bug 1350861

Summary: After configuring custom VM numa topologies updating the VM in the UI is impossible
Product: [oVirt] ovirt-engine Reporter: Roman Mohr <rmohr>
Component: Frontend.WebAdminAssignee: Roman Mohr <rmohr>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.2CC: akrejcir, bugs, dfediuck, eedri, mavital, mgoldboi, rgolan, sbonazzo, tjelinek
Target Milestone: ovirt-4.0.2Keywords: Regression, Triaged, ZStream
Target Release: 4.0.2.4Flags: rule-engine: ovirt-4.0.z+
rule-engine: blocker+
mgoldboi: planning_ack+
rgolan: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-12 14:29:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1324830    
Attachments:
Description Flags
Log which contains the GWT error
none
Payload with the "undefined" Integer
none
Superdev screenshots none

Description Roman Mohr 2016-06-28 14:15:11 UTC
Created attachment 1173463 [details]
Log which contains the GWT error

Description of problem:
In the UI, after creating a custom NUMA topologie for a VM and saving that configuration, subsequent configuration attempts on the VM fail through the UI.

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


How reproducible:
Always

Steps to Reproduce:
1. Create a VM
2. Add custom numa nodes to it
3. Save the updated VM
4. Try to update anything on the VM and klick save

Actual results:
It fails with a 500 return code

Expected results:
Updating a VM through the Webadmin UI should work also when custom NUMA topologies are specified

Additional info:
Look for the stack traces in server.log which start with:

    2016-06-28 12:17:36,206 ERROR [io.undertow.servlet] (default task-58) Exception while dispatching incoming RPC call: java.lang.NumberFormatException: For input string: "undefined"

Comment 1 Red Hat Bugzilla Rules Engine 2016-06-28 14:17:22 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Roman Mohr 2016-06-28 14:33:22 UTC
> Steps to Reproduce:
> 1. Create a VM
> 2. Add custom numa nodes to it
> 3. Save the updated VM
Forgot one step here: The VM has to be in the RUNNING state
> 4. Try to update anything on the VM and klick save

Comment 4 Roman Mohr 2016-07-11 13:28:24 UTC
Created attachment 1178414 [details]
Payload with the "undefined" Integer

Payload with the error. The exact same numa configuration works if the VM is down.

Comment 5 Roman Mohr 2016-07-12 09:31:33 UTC
Created attachment 1178816 [details]
Superdev screenshots

Comment 6 Roman Mohr 2016-07-18 12:20:56 UTC
Can't make it till the 4.0.1 build tomorrow, still not clear what is causing that regression. Moving to 4.0.2.

Comment 7 Eyal Edri 2016-07-27 18:28:56 UTC
still missing from ovirt-engine-4.0.2 branch.
the bug shouldn't have move to MODIFIED, we'll check that.

Comment 8 Artyom 2016-08-07 08:54:09 UTC
Verified on rhevm-4.0.2.4-0.1.el7ev.noarch

1) Create VM with one NUMA node
2) Start VM
3) Update memory and CPU