Bug 1390372 - UI Indicates Success when Deleting Datasource on EAP Domain Controller, but does not get deleted
Summary: UI Indicates Success when Deleting Datasource on EAP Domain Controller, but d...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.8.1
Assignee: Jirka Kremser
QA Contact: Matt Mahoney
URL:
Whiteboard: :middleware
Depends On:
Blocks: 1396231
TreeView+ depends on / blocked
 
Reported: 2016-10-31 20:32 UTC by Matt Mahoney
Modified: 2023-09-14 03:33 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1396231 (view as bug list)
Environment:
Last Closed: 2017-08-24 16:50:50 UTC
Category: ---
Cloudforms Team: Middleware
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
CFME evm.log (10.69 MB, text/plain)
2016-10-31 20:32 UTC, Matt Mahoney
no flags Details

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

Comment 11 Red Hat Bugzilla 2023-09-14 03:33:39 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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