Created attachment 902619 [details]
Description of problem:
Removed resources are not auto-uninventoried from EAP6.0.0
Version-Release number of selected component (if applicable):
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
removed/ndeployed application visible in inventory list (server gui)
removed application is auto-uninventoried from linventory list
marking bz urgent since it blocks jon3-42 qualification (for eap 6.0.0) & fix will require regression testing for jon3-42
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:
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]
verified in jon 3.3 dr1 -- screen-shot attached