Bug 535973 (RHQ-372)

Summary: Uninventory button should not be displayed for Services
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Core UIAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact: Jeff Weiss <jweiss>
Severity: medium Docs Contact:
Priority: low    
Version: 0.1CC: ccrouch, dajohnso
Target Milestone: ---Keywords: Improvement
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-372
Whiteboard:
Fixed In Version: 1.2 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Springer 2008-04-24 16:34:00 UTC
If a Service is uninventoried, it will be rediscovered on the next Service scan and auto-imported by the Server. The auto-import of Services is by design, but it has the side effect of making uninventorying Services rather pointless. So it would be less confusing for users to not even provide the option to uninventory Services. On the Browse Resources page, this would mean not displaying an Uninventory button when viewing Services. On the Inventory tab's Child Resources section, it would mean not displaying the Uninventory button if all child Resources are Services. In the case where there is a mix of Server and Service child Resources, the button would have to be shown for the sake of the Servers.


Comment 1 Jason Dobies 2008-04-24 18:27:04 UTC
What happens now if they uninventory a service? Does it get uninventoried successfully and then silently appear on the next discovery?

If that's the case, I'd argue this should be higher than a minor bug. I think it's going to be confusing and frustrating to the user if we give them the ability to uninventory a service and then repeatedly ignore their wishes by re-adding it on each discovery.

Comment 2 Heiko W. Rupp 2008-04-29 12:41:46 UTC
I rather think we should have an "uninventory and ignore" button, that uninventories the service and leaves it as ignored in the resource tree, so that it won't get autodiscovered.

On my Mac I have 4 network interfaces, of which at least one is always administratively down. I want to get rid of this in the inventory and not having it showing red in half of the application.

Comment 3 Joseph Marques 2008-07-20 21:25:35 UTC
on the one hand, "uninventory and ignore" makes sense; on the other hand, the system today does not allow ignoring services yet.  this still needs more discussion.

Comment 4 Joseph Marques 2008-12-18 02:48:52 UTC
rev2438 - suppress univentory button for services, since they get automatically rediscovered; 

Comment 5 Jeff Weiss 2009-01-05 20:42:15 UTC
Verified, rev2522.  no "uninventory" button for services.  Still there for platforms and servers.

Comment 6 Red Hat Bugzilla 2009-11-10 21:07:57 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-372
This bug is related to RHQ-910
This bug relates to RHQ-618