Bug 1350861 - After configuring custom VM numa topologies updating the VM in the UI is impossible
Summary: After configuring custom VM numa topologies updating the VM in the UI is impo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.0.2
: 4.0.2.4
Assignee: Roman Mohr
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks: 1324830
TreeView+ depends on / blocked
 
Reported: 2016-06-28 14:15 UTC by Roman Mohr
Modified: 2016-08-12 14:29 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-12 14:29:33 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: blocker+
mgoldboi: planning_ack+
rgolan: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
Log which contains the GWT error (755.15 KB, text/plain)
2016-06-28 14:15 UTC, Roman Mohr
no flags Details
Payload with the "undefined" Integer (15.02 KB, text/plain)
2016-07-11 13:28 UTC, Roman Mohr
no flags Details
Superdev screenshots (319.84 KB, application/x-gzip)
2016-07-12 09:31 UTC, Roman Mohr
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 61038 0 master MERGED dal: Fix NUMA node deserialization 2016-07-25 12:43:01 UTC
oVirt gerrit 61044 0 ovirt-engine-4.0 MERGED dal: Fix NUMA node deserialization 2016-07-25 12:59:57 UTC
oVirt gerrit 61731 0 ovirt-engine-4.0.2 MERGED dal: Fix NUMA node deserialization 2016-07-31 14:47:16 UTC

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


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