Bug 1226562
Summary: | Command-coordination: persist engine lock that is passed to command | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Arik <ahadas> |
Component: | General | Assignee: | Ravi Nori <rnori> |
Status: | CLOSED NOTABUG | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | --- | CC: | bugs, gklein, lpeer, lsurette, mperina, oourfali, rbalakri, Rhev-m-bugs, srevivo, ykaul |
Target Milestone: | ovirt-4.0.0-alpha | Flags: | ylavi:
ovirt-4.0.0?
rule-engine: planning_ack? mperina: devel_ack+ rule-engine: testing_ack? |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-25 15:39:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1302293 | ||
Bug Blocks: | 952703, 1236075 |
Description
Arik
2015-05-30 17:10:03 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. To pass the lock from parent command to the child command the CommandContext passed to executeAsyncCommand should contain the lock. cloneContextAndDetachFromParent() removes the lock, so the right way to invoke the async execution would be to clone the command context with out compensation and execution context but keeping the locks intact. example code snippet CommandCoordinatorUtil.executeAsyncCommand( VdcActionType.ConvertVm, buildConvertVmParameters(), cloneContext().withoutCompensationContext().withoutExecutionContext(); } |