Bug 1035667 - Paused VM can be resumed on host that is not UP
Summary: Paused VM can be resumed on host that is not UP
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.0
Assignee: Arik
QA Contact: Pavel Novotny
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-28 09:40 UTC by Arik
Modified: 2014-03-31 12:30 UTC (History)
7 users (show)

Fixed In Version: ovirt-3.4.0-alpha1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-31 12:30:24 UTC
oVirt Team: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 18245 0 None None None Never

Description Arik 2013-11-28 09:40:20 UTC
Description of problem:
Due to changes in the validator that is used before running VM (patch: I772377045d5c6d694e00006c9b12e210c52ab353) we always allow to resume paused VMs without checking the status of the host they are going to be resumed on. It leads to situation where paused VM can be resume on non-operational host, which we used to block before 3.3.

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


How reproducible:
100%

Steps to Reproduce:
1. run VM in pause mode
2. block the connectivity between the host and the storage
3. wait for the host to become non-operational (wait 5 minutes)
4. run the VM

Actual results:
the VM is resumed

Expected results:
the VM shouldn't be resumed with a proper error message

Additional info:

Comment 1 Michal Skrivanek 2013-12-02 15:20:53 UTC
is this worth oVirt 3.3.2?

Comment 2 Arik 2013-12-04 09:24:15 UTC
(In reply to Michal Skrivanek from comment #1)
> is this worth oVirt 3.3.2?

I don't think so. it happens in rare negative flows.

Comment 3 Sandro Bonazzola 2014-01-13 13:57:16 UTC
oVirt 3.4.0 alpha has been released including the fix for this issue.

Comment 4 Pavel Novotny 2014-02-18 17:39:54 UTC
Verified in ovirt-engine-3.4.0-0.7.beta2.el6.noarch.

Followed reproducer in comment 0 for verification.

Results:
Error dialog is shown when attempting to resume the paused VM on an host that is not Up, e.g., Non Operational, Initializing, etc.

-~-
Error while executing action:

paused-vm:

    Cannot run VM. Operation can be performed only when Host status is Up.
-~-

Comment 5 Sandro Bonazzola 2014-03-31 12:30:24 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released


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