Bug 1783360

Summary: Unable to use the "prevent current event from proceeding" action on a "VM Retire Request" event
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ControlAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: John Dupuy <jdupuy>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.3CC: bmidwood, dmetzger, jdupuy, lufu, obarenbo, tfitzger, wfitzger
Target Milestone: GAKeywords: Regression, ZStream
Target Release: 5.11.2Flags: pm-rhel: cfme-5.11.z+
simaishi: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1702018 Environment:
Last Closed: 2020-02-12 05:02:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1702018    
Bug Blocks:    

Comment 3 CFME Bot 2019-12-16 20:35:54 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/87cbdb74de606d1d38e927c5f77ba06a036406fa
commit 87cbdb74de606d1d38e927c5f77ba06a036406fa
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Wed Aug 14 17:52:01 2019 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Wed Aug 14 17:52:01 2019 -0400

    Merge pull request #552 from lfu/prevent_retirement_1702018

    Vm retirement is processed by VmRetireRequest state machine.

    (cherry picked from commit 3e2fb4beb1c6d214ca62daa65eb9856d6cc69a5c)

    https://bugzilla.redhat.com/show_bug.cgi?id=1783360

 content/automate/ManageIQ/System/Event/MiqEvent/POLICY.class/request_vm_retire.yaml | 6 -
 1 file changed, 6 deletions(-)

Comment 4 CFME Bot 2019-12-16 20:35:58 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/87cbdb74de606d1d38e927c5f77ba06a036406fa
commit 87cbdb74de606d1d38e927c5f77ba06a036406fa
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Wed Aug 14 17:52:01 2019 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Wed Aug 14 17:52:01 2019 -0400

    Merge pull request #552 from lfu/prevent_retirement_1702018

    Vm retirement is processed by VmRetireRequest state machine.

    (cherry picked from commit 3e2fb4beb1c6d214ca62daa65eb9856d6cc69a5c)

    https://bugzilla.redhat.com/show_bug.cgi?id=1783360

 content/automate/ManageIQ/System/Event/MiqEvent/POLICY.class/request_vm_retire.yaml | 6 -
 1 file changed, 6 deletions(-)

Comment 6 CFME Bot 2019-12-16 21:45:30 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/64c93869d65825e99c8fc9dd6cc14592fa5c818e
commit 64c93869d65825e99c8fc9dd6cc14592fa5c818e
Author:     Lucy Fu <lufu>
AuthorDate: Tue Aug 13 10:07:38 2019 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Tue Aug 13 10:07:38 2019 -0400

    Add policy check to Vm retirement.

    https://bugzilla.redhat.com/show_bug.cgi?id=1783360

 app/models/vm_or_template.rb | 19 +
 spec/models/vm/retirement_management_spec.rb | 40 +-
 2 files changed, 54 insertions(+), 5 deletions(-)

Comment 7 John Dupuy 2020-01-15 14:19:36 UTC
Verified in CFME 5.11.2.0

Comment 9 errata-xmlrpc 2020-02-12 05:02:24 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://access.redhat.com/errata/RHBA-2020:0452