Bug 1794573

Summary: vmotion migration (live migrations using the vmware tool) are not triggering vm migration control policies
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: John Dupuy <jdupuy>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.13CC: akarol, dmetzger, fdewaley, gmccullo, jfrey, jhardy, lufu, mfeifer, mkanoor, mshriver, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.15   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.15.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1788540 Environment:
Last Closed: 2020-02-25 05:39: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: 1788540    
Bug Blocks:    

Comment 2 CFME Bot 2020-01-28 15:07:38 UTC
New commit detected on ManageIQ/manageiq-content/hammer:

https://github.com/ManageIQ/manageiq-content/commit/fce92275b1ba8c1cc5a08512cf2ca1cc8ff52ff0
commit fce92275b1ba8c1cc5a08512cf2ca1cc8ff52ff0
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Jan  7 12:11:23 2020 -0500
Commit:     Greg McCullough <gmccullo>
CommitDate: Tue Jan  7 12:11:23 2020 -0500

    Merge pull request #625 from agrare/add_drs_migrate_vm_task_event

    Add an automate event for DrsMigrateVM_Task

    (cherry picked from commit 1196ecced601c9729c4c74335d212460470b7333)

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

 content/automate/ManageIQ/System/Event/EmsEvent/VC.class/drsmigratevm_task.yaml | 12 +
 1 file changed, 12 insertions(+)

Comment 5 John Dupuy 2020-02-13 15:37:13 UTC
Based on the BZ description I am marking this verified. 

Steps of verification:
1) Create an action of type "Inherit Parent Tags" that inherits tags of various categories on a "Host/Node" parent type
2) Create a policy that calls this action on the event "VM Live Migration"
3) Assign this policy to a policy profile
4) Add a vSphere provider and assign the policy profile to it
5) Add some tags to the hosts on the provider so that they'll be inherited, make sure they are of the same category as the tags in 1)
6) Create a VM on the provider
7) In vcenter, migrate the VM to some other host
8) In CFME, verified that the tags of the new host were inherited/placed onto the VM created in 6)

Comment 8 errata-xmlrpc 2020-02-25 05:39: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/RHSA-2020:0589