Bug 1460296

Summary: Middleware - No operation to remove Datasource
Product: Red Hat CloudForms Management Engine Reporter: Hayk Hovsepyan <hhovsepy>
Component: ProvidersAssignee: Tomas Coufal <tcoufal>
Status: CLOSED EOL QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abonas, gblomqui, hhovsepy, jfrey, jhardy, mfoley, mmahoney, obarenbo, simaishi, tcoufal
Target Milestone: GAKeywords: TestOnly, Triaged
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/ManageIQ/manageiq/pull/16611
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1526557 (view as bug list) Environment:
Last Closed: 2018-01-08 14:26:12 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1526557    
Attachments:
Description Flags
datasource_summary none

Description Hayk Hovsepyan 2017-06-09 15:39:47 UTC
Description of problem:
There is not any toolbar operation button to remove Middleware Datasource.
But it existed before both in Datasource's Summary page and for list of datasources.

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

How reproducible:
always

Steps to Reproduce:
1. Go to Datasource Summary page. Or list the Datasources for Middleware Provider.
2. In toolbar buttons, there is missing Operation -> Remove button.


Actual results:
In toolbar buttons, there is missing "Operation -> Remove" button.

Expected results:
"Operation -> Remove" button should exist for Middleware Datasource summary page and in listing of Datasources page.
It should be possible to remove created Datasource.
Clicking 'Remove' button should give informative message that this datasource can be used by other programs.

Additional info:
This is a regression, those buttons existed before.

Comment 2 Alissa 2017-06-11 18:01:14 UTC
Hayk, please provide some details of your environment and a screenshot of the problem. Is this a containerized environment? Is this an environment with domain?
Is the operation to Add datasource available?

Comment 3 Alissa 2017-06-11 19:28:48 UTC
it sounds related to BZ 1390372 - which fix made this unavailable for certain situations.

Comment 4 Hayk Hovsepyan 2017-06-12 07:05:57 UTC
Created attachment 1286950 [details]
datasource_summary

Attaching Datasource Summary page screenshot.

The EAP7 server on which datasource is created, is not in container, it is running from extracted zip.
So it is mutable.

I see that in Server's Datasource List page, the Operations button is available, which is fine and no need to fix. And I see the reason why it is unavailable for Provider's Datasources List page, it could make confusion with immutable servers.

So, the only fix here on this bug is necessary on Datasource Summary page.

Comment 5 Alissa 2017-12-10 11:05:02 UTC
changing Target Release to 5.9 due to the discussion here:
https://github.com/ManageIQ/manageiq/pull/16611#issuecomment-350077844

Comment 6 Tomas Coufal 2017-12-13 14:43:04 UTC
PR backport was reverted and withdrawn from build due to issue with UI classic test.

PR fixing the tests lays here [1] and it should be backported together.

[1] https://github.com/ManageIQ/manageiq/pull/16653