Bug 1382406

Summary: Cannot cancel clone via policy with cancel vcenter task
Product: Red Hat CloudForms Management Engine Reporter: Chris Pelland <cpelland>
Component: ControlAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dajohnso, dmisharo, jhardy, lufu, obarenbo, rmoore
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.3   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1381255 Environment:
Last Closed: 2016-11-30 19:55:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: VMware Target Upstream Version:
Embargoed:
Bug Depends On: 1381255    
Bug Blocks:    

Comment 1 CFME Bot 2016-10-07 20:00:58 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/79d28e3f40ba6595200165b0e195dc3cd2c437a7

commit 79d28e3f40ba6595200165b0e195dc3cd2c437a7
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Oct 5 12:59:00 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 7 15:59:32 2016 -0400

    Merge pull request #11663 from lfu/cancel_vcenter_task_1381255
    
    Need to keep and pass along the EmsEvent that triggers vm_clone_start
    (cherry picked from commit 17c692fb8eed854f005ac5e27d5a1831a6bc5f53)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1382406

 app/models/miq_action.rb       | 11 ++++++-----
 app/models/miq_event.rb        | 13 +++++++++++++
 spec/models/miq_action_spec.rb |  8 ++++++++
 spec/models/miq_event_spec.rb  | 22 ++++++++++++++++++++++
 4 files changed, 49 insertions(+), 5 deletions(-)

Comment 2 Dmitry Misharov 2016-11-14 10:56:11 UTC
The clone is not canceled. It successfully completed.

Comment 5 Dmitry Misharov 2016-11-28 15:30:09 UTC
Verified in 5.6.3.2.20161122182608_0e3170f.

Comment 7 errata-xmlrpc 2016-11-30 19:55:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2839.html