Red Hat Bugzilla – Bug 655187
JON241: Can't async uninventory a platform with bundle deployments
Last modified: 2013-08-31 09:07:29 EDT
If a bundle has been deployed to a platform, that platform can't be fully uninventoried. It fails in the Async (backround) removal due to db integrity constraints.
Steps to Reproduce:
1. Deploy a bundle
2. Univentory the platform
3. Watch the server log for Async delete errors
I think a weak workaround would be to delete the bundle which would delete everything related to the bundle. But this may not be desirable to the user.
Fixed in master 9aeb5a00158b7d24dbb706522d8f8bb35e03bb07
Fix cherry picked to release-3.0.0 branch (commit 834e207).
Verified this against jon-server-2.4.1-SNAPSHOT build# ae99b5b.
I do not see error while async deletion. Below is the log snippet.
2010-11-25 14:58:19,182 INFO [org.rhq.enterprise.server.scheduler.jobs.AsyncResourceDeleteJob] Async resource deletion - 306 successful, 0 failed, took  ms
Marking this bug verified.
This has been long implemented and verified - closing.