Bug 1390372

Summary: UI Indicates Success when Deleting Datasource on EAP Domain Controller, but does not get deleted
Product: Red Hat CloudForms Management Engine Reporter: Matt Mahoney <mmahoney>
Component: ProvidersAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Matt Mahoney <mmahoney>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cpelland, hrupp, jfrey, jhardy, mfoley, obarenbo, simaishi
Target Milestone: GAKeywords: Triaged, ZStream
Target Release: 5.8.1Flags: dajohnso: needinfo? (mfoley)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: :middleware
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1396231 (view as bug list) Environment:
Last Closed: 2017-08-24 16:50:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1396231    
Attachments:
Description Flags
CFME evm.log none

Description Matt Mahoney 2016-10-31 20:32:25 UTC
Created attachment 1215915 [details]
CFME evm.log

Description of problem:
Deleting a Datasource on a EAP Domain Controller is allowed and indicates success via the UI. However, the dastasources does not get deleted, and the following error message occurred in the CFME log:

[----] E, [2016-10-31T16:10:15.827373 #2056:af2547c] ERROR -- : MIQ(ManageIQ::Providers::Hawkular::MiddlewareManager#run_operation) error callback was called, reason: Could not perform [Remove] on a [Datasource] given by inventory path [/t;hawkular/f;master.Unnamed%20Domain/r;Local~~/r;Local~%2Fhost%3Dmaster/r;Local~%2Fhost%3Dmaster%2Fserver%3Dserver-two/r;Local~%2Fhost%3Dmaster%2Fserver%3Dserver-two%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS] requested on [2016-10-31T20:10Z]: java.lang.IllegalArgumentException: [/host=master/server=server-two/subsystem=datasources/data-source=ExampleDS] is not a datasource path. It must start with either [/subsystem=datasources/data-source=] or [/subsystem=datasources/xa-data-source=]


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

How reproducible:
Always

Steps to Reproduce:
1. EAP Domain Controller Under Hawkular management 
2. In CFME, Delete the "Example" Datasource of the Domain Contoller (server-xxx)
3. Note the CFME Success message

Actual results:


Expected results:
The Datasource should either be deleted (if feature is supported in DR7) or disallow the deletion of a Datasource on an EAP Domain Controller.


Additional info:

Comment 2 Jirka Kremser 2016-11-03 15:10:11 UTC
https://github.com/ManageIQ/manageiq/pull/12407

Comment 3 Heiko W. Rupp 2016-11-09 14:37:30 UTC
This is merged to master

Comment 6 Dave Johnson 2017-07-14 03:49:51 UTC
Please assess the importance of this issue and update the priority accordingly.  Somewhere it was missed in the bug triage process.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#priority for a reminder on each priority's definition.

If it's something like a tracker bug where it doesn't matter, please set it to Low/Low.

Comment 7 Jirka Kremser 2017-07-20 12:42:41 UTC
This is working fine in Fine, see the screenshots:

http://i.imgur.com/03EgsnC.png
http://i.imgur.com/WLkkJzz.png
http://i.imgur.com/21e4Urk.png

In other words it's not allowed to perform this operation on domain mode resources.

Comment 8 Jirka Kremser 2017-07-20 12:44:29 UTC
.. oh and Fine should be 5.8.x