Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1049321

Summary: pending memory not cleared when resuming paused VM after a minute
Product: [Retired] oVirt Reporter: Arik <ahadas>
Component: ovirt-engine-coreAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3CC: acathrow, dfediuck, gchaplik, iheim, michal.skrivanek, yeylon
Target Milestone: ---Keywords: Reopened
Target Release: 3.4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-11 06:44:41 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: 1114266    

Description Arik 2014-01-07 12:27:35 UTC
Description of problem:
When resuming VM that was run in paused mode after a minute (assuming there's no guest agent, so after a minute the VM state is switched to up), the pending memory that was added when we started it is not cleared.

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


How reproducible:
100%

Steps to Reproduce:
1. Start a VM with no guest agent in paused mode
2. Wait for a minute
3. Resume the VM

Actual results:
The allocated pending memory is not cleared

Expected results:
The pending memory that was added while starting the VM should be cleared

Additional info:
The problem is that when we resume the VM, its state is changed from Paused to Up. in VdsUpdateRunTimeInfo we'll first treat it as a VM that is successfully run, and thus the run command will be cleared from the async command collections, and then treat it as a VM was powering up - but since there will be no async command to call the onPoweringUp method on, it won't reduce the pending memory as expected

Comment 1 Itamar Heim 2014-01-12 08:43:12 UTC
setting target release to current version for consideration and review. please do not push non-RFE bugs to an undefined target release to make sure bugs are reviewed for relevancy, fix, closure, etc.

Comment 2 Sandro Bonazzola 2014-03-04 09:22:26 UTC
This is an automated message.
Re-targeting all non-blocker bugs still open on 3.4.0 to 3.4.1.

Comment 3 Sandro Bonazzola 2014-05-08 13:38:09 UTC
This is an automated message

oVirt 3.4.1 has been released:
 * should fix your issue
 * should be available at your local mirror within two days.

If problems still persist, please make note of it in this bug report.

Comment 4 Michal Skrivanek 2014-05-26 08:25:42 UTC
not in 3.4 :-(

Comment 5 Sandro Bonazzola 2014-06-11 06:44:41 UTC
This is an automated message

oVirt 3.4.2 has been released:
 * should fix your issue
 * should be available at your local mirror within two days.

If problems still persist, please make note of it in this bug report.