Bug 1537520

Summary: No event AWS_EC2_Instance_UPDATE when renaming a VM on EC2
Product: Red Hat CloudForms Management Engine Reporter: thiebaut fischer <tfischer>
Component: ReportingAssignee: Julian Cheal <jcheal>
Status: CLOSED CURRENTRELEASE QA Contact: Ievgen Zapolskyi <izapolsk>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: bsorota, izapolsk, jcheal, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1558594 1558595 (view as bug list) Environment:
Last Closed: 2018-07-30 14:44:59 UTC Type: Bug
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:    
Bug Blocks: 1558594, 1558595    
Attachments:
Description Flags
event_streams table results none

Description thiebaut fischer 2018-01-23 12:34:42 UTC
Created attachment 1384855 [details]
event_streams table results

Description of problem:
There is no event AWS_EC2_Instance_UPDATE while renaming the instance on EC2

Version-Release number of selected component (if applicable):

Version 5.9.0.17.20180116225234_ac8b6f5

How reproducible:
100%

Steps to Reproduce:
1.setup a instance on EC2
2. rename it 
3. check its timeline

Actual results:
No event appearing on the renamed VM

Expected results:
See event on the timeline

Additional info:
Sometimes there is events for that, sometimes not.

Comment 2 thiebaut fischer 2018-02-06 15:16:00 UTC
i noticed that on 5.8 source_instance is the old name of the instance (before being renamed), whether on the other provider it is the new name

Comment 6 Julian Cheal 2018-02-27 12:56:53 UTC
PR for this BZ https://github.com/ManageIQ/manageiq-providers-amazon/pull/415

Comment 12 Bronagh Sorota 2018-03-19 19:30:58 UTC
Satoe - 

https://github.com/ManageIQ/manageiq/pull/17160 was made to address spec failures in the manageia-ui-classic caused by https://github.com/ManageIQ/manageiq-providers-amazon/pull/415 and will need backported also.

Comment 13 Bronagh Sorota 2018-03-19 19:35:07 UTC
Julian
As per Satoe's question in comment 8 and comment 9, did the problem exist in 5.9 and 6.0? The BZ description states it did *not* yet the PR was made on master and gaprindishvili. 


Can you clarify so we can put this to bed?

Thanks
Bronagh

Comment 17 Dave Johnson 2018-07-30 14:44:59 UTC
Closing this as its already been verified in two z-streams and has test coverage around it.