Bug 1390756 - No MW Provider Event Shown After Deleting Datasource
Summary: No MW Provider Event Shown After Deleting Datasource
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Middleware Manager
Classification: JBoss
Component: Other
Version: 7.0.0 TP2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Ruben Vargas Palma
QA Contact: Matt Mahoney
URL:
Whiteboard: hawkular
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-01 20:26 UTC by Matt Mahoney
Modified: 2018-01-04 15:36 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-04 15:36:03 UTC


Attachments (Terms of Use)
TImeline (22.67 KB, image/png)
2016-11-01 20:26 UTC, Matt Mahoney
no flags Details
CFME evm.log (4.02 MB, application/zip)
2016-11-01 20:31 UTC, Matt Mahoney
no flags Details
HS log (187.40 KB, text/plain)
2016-11-01 20:32 UTC, Matt Mahoney
no flags Details
CR2 - evm.log (1.26 MB, application/zip)
2016-12-13 18:50 UTC, Matt Mahoney
no flags Details
CR2 - Middleware Manager log (402.37 KB, text/plain)
2016-12-13 18:52 UTC, Matt Mahoney
no flags Details

Description Matt Mahoney 2016-11-01 20:26:26 UTC
Created attachment 1216240 [details]
TImeline

Description of problem:
Deleting an EAP Server Datasource did not result in an expected MW Provider event.

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

How reproducible:


Steps to Reproduce:
1. Start EAP Standalone server, as container.
2. Via CFUI, navigate to Provider-> Datasources
3. Delete EAP Datasource, such as ExampleDS
4. Refresh Provider, and verify that Datasources has actually been deleted.
   Datasource count should be 1 less, and Deleted Datasource should no longer be in Datasource List view.
5. Navigate to MW Provider->Detail View-> Monitoring.Timelines view.
6. Select All "Management Events" and "All" event types (adjust date as needed)
 See attached screen shot.

Actual results:
No timeline event after deleting Datasource

Expected results:
Timeline event should be present after deleting Datasource

Additional info:

Comment 2 Matt Mahoney 2016-11-01 20:31:57 UTC
Created attachment 1216242 [details]
CFME evm.log

Comment 3 Matt Mahoney 2016-11-01 20:32:34 UTC
Created attachment 1216243 [details]
HS log

Comment 5 Heiko W. Rupp 2016-11-03 15:55:15 UTC
Jay, can you please have a look? Are those even expected to show up?

Comment 6 Jay Shaughnessy 2016-11-04 21:56:48 UTC
A cursory look indicates that I did lay groundwork for this to show up.  I'll have to investigate in more detail...

Comment 8 Jay Shaughnessy 2016-11-07 22:37:47 UTC
Ruben, I should mention, if you make the MIQ code send the correct command (as opposed to the generic operation) and you still don't see an event, please let me know, there could be other issues.  I was only asking for someone to update the MIQ code.

Comment 9 Ruben Vargas Palma 2016-11-08 15:12:10 UTC
Jay, I reviewed this, the MIQ is sending the correct command (RemoveDatasource), 

The mixin run_operation is calling middleware_manager.remove_middleware_datasource which is calling run_specific_operation('RemoveDatasource', ems_ref) 

It should be another issue there. I'm still looking for something else.

Comment 10 Jay Shaughnessy 2016-11-09 13:02:45 UTC
Ruben, OK, sorry for an incorrect analysis.  I'll look more closely at what is happening on the back-end.

Comment 11 Jay Shaughnessy 2016-11-09 15:20:48 UTC
I am seeing Datasource events with this fix to commons.

Comment 12 Heiko W. Rupp 2016-11-15 15:07:43 UTC
This is now in the 0.21 release of H-services and should thus be in Hawkular-er1

Comment 13 Matt Mahoney 2016-12-13 18:50:34 UTC
Created attachment 1231312 [details]
CR2 - evm.log

Comment 14 Matt Mahoney 2016-12-13 18:52:08 UTC
Created attachment 1231313 [details]
CR2 - Middleware Manager log


Note You need to log in before you can comment on or make changes to this bug.