Bug 1552677

Summary: VM does not have deletion event on its own timeline on vsphere55
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED ERRATA QA Contact: thiebaut fischer <tfischer>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: agrare, cpelland, gblomqui, hkataria, izapolsk, jfrey, jhardy, lavenel, mpovolny, obarenbo, simaishi, tfischer
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1538996 Environment:
Last Closed: 2018-05-07 20:43:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1538996    
Bug Blocks:    

Comment 2 CFME Bot 2018-03-07 14:53:04 UTC
New commits detected on ManageIQ/manageiq-providers-vmware/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-vmware/commit/9c749b5396a08de50a42c31e32849eb6db41befa
commit 9c749b5396a08de50a42c31e32849eb6db41befa
Author:     Greg Blomquist <blomquisg>
AuthorDate: Wed Feb  7 16:31:55 2018 -0500
Commit:     Greg Blomquist <blomquisg>
CommitDate: Wed Feb  7 16:31:55 2018 -0500

    Merge pull request #179 from agrare/bz_1538996_add_vm_uid_ems_to_event

    Add VM uuid as the vm_uid_ems to the event payload
    (cherry picked from commit d8c04f7b07d7d82d5767bab0b6be96150b8cd6af)

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

 app/models/manageiq/providers/vmware/infra_manager/event_parser.rb | 2 +
 manageiq-providers-vmware.gemspec | 2 +-
 spec/models/manageiq/providers/vmware/infra_manager/event_data/task_event.yaml | 148 +
 spec/models/manageiq/providers/vmware/infra_manager/event_parser_spec.rb | 10 +
 4 files changed, 161 insertions(+), 1 deletion(-)

Comment 3 CFME Bot 2018-03-07 18:31:42 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/679eef556990e5254e415bd16e808639deb3083e
commit 679eef556990e5254e415bd16e808639deb3083e
Author:     Greg Blomquist <blomquisg>
AuthorDate: Wed Feb  7 16:50:36 2018 -0500
Commit:     Greg Blomquist <blomquisg>
CommitDate: Wed Feb  7 16:50:36 2018 -0500

    Merge pull request #16907 from agrare/bz_1538996_vm_destroy_event_missing

    Fix event linking to a disconnected VM
    (cherry picked from commit 4f0654726ad03a9dbed829d4194791e0be3117f5)

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

 app/models/ems_event.rb | 6 +-
 spec/models/ems_event_spec.rb | 31 +
 2 files changed, 33 insertions(+), 4 deletions(-)

Comment 4 thiebaut fischer 2018-03-22 12:37:54 UTC
I tested on 5.9.2 the VM has its own delete event

Comment 7 errata-xmlrpc 2018-05-07 20:43:22 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-2018:1328