Bug 1305809 - [Cinder] - Running a stateless VM leaves a locked snapshot and the VM cannot be started
Summary: [Cinder] - Running a stateless VM leaves a locked snapshot and the VM cannot ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 3.6.3.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.3
: 3.6.3.2
Assignee: Maor
QA Contact: Natalie Gavrielov
URL:
Whiteboard:
Depends On:
Blocks: 1270725 1288157
TreeView+ depends on / blocked
 
Reported: 2016-02-09 10:03 UTC by Maor
Modified: 2016-02-23 13:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-23 13:31:55 UTC
oVirt Team: Storage
Embargoed:
tnisan: ovirt-3.6.z?
ylavi: exception?
rule-engine: planning_ack+
tnisan: devel_ack+
rule-engine: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 53492 0 master MERGED core: Use Callback for RunVmCommand. 2016-02-14 19:36:01 UTC
oVirt gerrit 53493 0 master MERGED core: Validate steps using CoCo on RunVmCommand 2016-02-14 19:35:49 UTC
oVirt gerrit 53494 0 master MERGED core: RunVmCommand using callbacks 2016-02-14 19:35:37 UTC
oVirt gerrit 53495 0 master MERGED core: Set parent command for child comamnd. 2016-02-14 19:35:30 UTC
oVirt gerrit 53501 0 master MERGED core: Support mixed disk types for stateless VM. 2016-02-14 19:35:20 UTC
oVirt gerrit 53509 0 master MERGED core: Remove redundant command line 2016-02-15 11:01:22 UTC
oVirt gerrit 53511 0 ovirt-engine-3.6 MERGED core: Use Callback for RunVmCommand. 2016-02-15 12:26:11 UTC
oVirt gerrit 53512 0 ovirt-engine-3.6 MERGED core: Validate steps using CoCo on RunVmCommand 2016-02-15 12:29:12 UTC
oVirt gerrit 53513 0 ovirt-engine-3.6 MERGED core: RunVmCommand using callbacks 2016-02-15 12:31:01 UTC
oVirt gerrit 53514 0 ovirt-engine-3.6 MERGED core: Set parent command for child comamnd. 2016-02-15 12:32:09 UTC
oVirt gerrit 53535 0 ovirt-engine-3.6.3 MERGED core: Use Callback for RunVmCommand. 2016-02-15 17:30:36 UTC
oVirt gerrit 53536 0 ovirt-engine-3.6.3 MERGED core: Validate steps using CoCo on RunVmCommand 2016-02-15 17:31:35 UTC
oVirt gerrit 53537 0 ovirt-engine-3.6.3 MERGED core: RunVmCommand using callbacks 2016-02-15 17:32:04 UTC
oVirt gerrit 53538 0 ovirt-engine-3.6.3 MERGED core: Set parent command for child comamnd. 2016-02-15 17:33:04 UTC

Description Maor 2016-02-09 10:03:04 UTC
Description of problem:
Following the fix of create snapshot with Cinder disks for failure flow, 
The child command callback does not call the parent any more, but it is
all being done through ConcurrentChildCommandsExecutionCallback.

For stateless VM, part of the logic is to create a stateless snapshot
which being called from RunVmCommand.

before introducing ConcurrentChildCommandsExecutionCallback the
end action was called from CreateCinderSnapshotCommand endCommand though now
running a stateless VM creates a stateless snapshot and leaves the snapshot in lock status.
    
Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Run a stateless VM with Cinder disk
2.
3.

Actual results:
The stateless snapshot is in lock status for ever.

Expected results:
The stateless snapshot should be created and the stateless VM should run

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2016-02-09 10:03:05 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Red Hat Bugzilla Rules Engine 2016-02-09 10:03:05 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.


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