Bug 643333
Summary: | Uninventory of disabled service doesn't get auto discovered unless agent is restarted | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Rajan Timaniya <rtimaniy> | ||||||
Component: | Inventory | Assignee: | Rajan Timaniya <rtimaniy> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Corey Welton <cwelton> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 4.0.0 | CC: | ian.springer, jshaughn, mfoley | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-05-03 17:43:44 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 585306 | ||||||||
Attachments: |
|
Description
Rajan Timaniya
2010-10-15 10:47:41 UTC
Created attachment 453702 [details]
agent log
It is expected that uninventoried services will be rediscovered and auto-imported if the underlying managed resources still exist. Services never appear in the discovery queue, since they are always auto-imported. Can you clarify what you mean by "disabled services"? Service level scans are infrequent. You may need to wait up to 24 hours, I think. Also, if the resources were down when uninventoried then it's possible they may not get rediscovered. Depending on the discovery code a down resource may not be discoverable. But, I think the issue was the former, that the service level scan did not happen as fast as you expected. I think that interval is configurable. Perhaps try setting to a shorter interval and try again. Or, you can perform an agent prompt command, 'discovery -f' to force a service level scan. Assigning back to QA. If none off these comments resolve the issue, as mazz for more info. discussed with mazz, as follows. this issue is specific to uninventory of a disabled service. a service is a child of a top level server such as network adapter or CPU or EJB or DataSource under JBossAS. in RHQ4, you don't explicitly import services, when a top lever server is imported all discovered services under it are auto-imported. services never show up in the discovery queue. additionally, i uninventoried a resource "Cron" ... and ran "discovery -f" and I do see this resource in the discovery queue without agent restart. i am comfortable closing this. |