Bug 1352509 - RHEV VM Reconfigure: Cold Add/Remove memory fail on Error: divided by 0
Summary: RHEV VM Reconfigure: Cold Add/Remove memory fail on Error: divided by 0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.7.0
Assignee: Moti Asayag
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev, VM Reconfigure
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-04 09:36 UTC by Ilanit Stein
Modified: 2017-03-14 12:47 UTC (History)
5 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-04 12:56:49 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log relevant part (158.79 KB, text/plain)
2016-07-04 09:59 UTC, Ilanit Stein
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ manageiq pull 9882 0 None None None 2016-08-17 10:23:56 UTC
Red Hat Product Errata RHBA-2017:0012 0 normal SHIPPED_LIVE CFME 5.7.0 bug fixes and enhancement update 2017-01-04 17:50:36 UTC

Description Ilanit Stein 2016-07-04 09:36:05 UTC
Description of problem:
For a Powered OFF VM, with Guaranteed memory 512 MB, and Memory size 1024 MB,
CFME Reconfigure VM: change memory size to 2048 MB request fail on 

Version-Release number of selected component (if applicable):
CFME 5.6.0.11-rc2.2.20160614152915_f315c68
RHEVM-3.6.6.2-0.1.el6

How reproducible:
100%

Actual results:
The cold Add VM memory actually succeed (Checking it on RHEV side), in parallel to having the request itself fail on CFME side on the "divided by 0" Error.

Expected results:
Cold Add VM memory request should succeed, without errors.

Comment 2 Ilanit Stein 2016-07-04 09:59:39 UTC
Created attachment 1175937 [details]
evm.log relevant part

Comment 3 Ilanit Stein 2016-07-13 15:26:17 UTC
RHEV VM Cold memory remove request on CFME, fail on "Error divided by 0" as well.

For example, a VM with Memory 512MB, and guaranteed memory 100 MB, 
VM reconfigure-> memory update 512MB->100MB fail on "Error: divided by 0",
while on RHEV side this memory remove operation succeded (memory updated to 100MB)

Comment 4 Satoe Imaishi 2016-08-16 15:34:09 UTC
Moti, can you add PR link that fixed this issue?

Comment 5 Ilanit Stein 2016-08-22 10:49:28 UTC
Verified on manageiq-ovirt-master-201608192000-6658ccc8e  and RHEVM-3.6.8-0.1.
VM memory cold remove 1024M->2048M, for VM with guaranteed memory of 512MB, from CFME side succeeded.
No error was seen on evm.log, or in the request result, on CFME UI.

Comment 6 Ilanit Stein 2016-09-21 08:23:35 UTC
Verified on:

RHV-4.0.4.2-0.1.el7ev
5.7.0.1.20160913164703_66caf07

Memory cold add/remove succeed, with no errors on CFME, and the guaranteed memory is updated to the memory new set value.

Comment 8 errata-xmlrpc 2017-01-04 12:56:49 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-2017-0012.html


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