Bug 1105269
Summary: | Removed resources are not auto-uninventoried from EAP6.0.0 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Armine Hovsepyan <ahovsepy> | ||||||
Component: | Inventory, UI | Assignee: | Stefan Negrea <snegrea> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | JON 3.3.0 | CC: | jshaughn, mfoley, snegrea | ||||||
Target Milestone: | DR01 | ||||||||
Target Release: | JON 3.3.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-12-11 14:01:43 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
the bug is visible for EAP6.2 as well This is due to differences in returned responses when we make the ReadAttribute call to see if the resource exists/isEnabled. Looking at how to make this more consistent. I think we need to use ReadResource instead... Switched the availability implementation to use ReadResource and then extract the enabled attribute. This DMR call is more reliable in detecting missing resources. The new code will correctly report a resource as missing. master branch commit: https://github.com/rhq-project/rhq/commit/a87bc93b3f46d43058258439b2e2dc43a3a48ebe verified in eap-6.2.0 Re-setting back to MODIFIED as there is no Brew build for testing available yet. Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993 Created attachment 923323 [details]
auto_uninventoried
verified in jon 3.3 dr1 -- screen-shot attached |
Created attachment 902619 [details] eap600_removed_app_not-autouninventoried Description of problem: Removed resources are not auto-uninventoried from EAP6.0.0 Version-Release number of selected component (if applicable): RHQ Masteer How reproducible: always Steps to Reproduce: 1. install EAP 6.0.0 and connect to running RHQ/JON 2. deploy web application (see in deployment) 3. mark Uninventiry missing resource policy or AS7 -> deployments (from serveri gui Administration) 4. undeploy application from management console or jboss-cli Actual results: removed/ndeployed application visible in inventory list (server gui) Expected results: removed application is auto-uninventoried from linventory list Additional info: screenshot attached marking bz urgent since it blocks jon3-42 qualification (for eap 6.0.0) & fix will require regression testing for jon3-42