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

Bug 1367023

Summary: Power-off takes too long
Product: [oVirt] ovirt-engine Reporter: Arik <ahadas>
Component: BLL.VirtAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: bugs, mgoldboi, michal.skrivanek, tjelinek
Target Milestone: ovirt-4.1.0-betaFlags: rule-engine: ovirt-4.1+
mgoldboi: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+
Target Release: 4.1.0.2   
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: 2017-03-16 14:48:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arik 2016-08-15 09:39:31 UTC
Description of problem:
Power-off should be almost immediate.
Indeed, when calling the 'destroy' verb we immediately get an event as a result but it is ignored because before calling the 'destroy' verb we acquire a monitoring lock. So after this event is ignored, we wait for the next polling cycle that could be in 15sec in the worst case.

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


How reproducible:
depends on timing, but high reproduction rate

Steps to Reproduce:
1. Power off a running VM
2.
3.

Actual results:
The VM status is switched to powering-down (which is also wrong because the VM is not powering down) and it takes several seconds until the next polling cycle that detects the VM is not reported from VDSM and thus destroyed.

Expected results:
The VM should switch to down very quick as a result of the event we get from VDSM.

Additional info:

Comment 1 Tomas Jelinek 2016-08-16 08:18:07 UTC
targeting to 4.0.4 since it may have high usability impact.

Comment 2 meital avital 2017-03-09 09:35:48 UTC
Verified on version: 4.1.1.3-0.1.el7