Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1390756 - No MW Provider Event Shown After Deleting Datasource
No MW Provider Event Shown After Deleting Datasource
Status: CLOSED WONTFIX
Product: Middleware Manager
Classification: JBoss
Component: Other (Show other bugs)
7.0.0 TP2
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Ruben Vargas Palma
Matt Mahoney
hawkular
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-01 16:26 EDT by Matt Mahoney
Modified: 2018-01-04 10:36 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-01-04 10:36:03 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware


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

  None (edit)
Description Matt Mahoney 2016-11-01 16:26:26 EDT
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 16:31 EDT
Created attachment 1216242 [details]
CFME evm.log
Comment 3 Matt Mahoney 2016-11-01 16:32 EDT
Created attachment 1216243 [details]
HS log
Comment 5 Heiko W. Rupp 2016-11-03 11:55:15 EDT
Jay, can you please have a look? Are those even expected to show up?
Comment 6 Jay Shaughnessy 2016-11-04 17:56:48 EDT
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 17:37:47 EST
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 10:12:10 EST
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 08:02:45 EST
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 10:20:48 EST
I am seeing Datasource events with this fix to commons.
Comment 12 Heiko W. Rupp 2016-11-15 10:07:43 EST
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 13:50 EST
Created attachment 1231312 [details]
CR2 - evm.log
Comment 14 Matt Mahoney 2016-12-13 13:52 EST
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.