Red Hat Bugzilla – Bug 696753
Ignoring resources fails
Last modified: 2011-05-23 21:17:58 EDT
Created attachment 492203 [details]
Screenshot of what to ignore
I've imported a platform sans a few resoures with success.
Then I've clicked on the platform, then on yes at the "include servers" prompt and clicked on ignore.
Ignoring failed with the red bar.
Actually it seems that the platform children were successfully ignored, but as the platform was selected too, the total operation failed.
I can not get this to reproduce. The only time I've seen an error it was a timeout because the agent was down, which is expected. The resources still get ignored server-side so things actually work.
I've tested with FireFox and Chrome.
I need more specific repro steps, assuming this is still a problem. Asking for more info...
I can't reproduce it at the moment, but suspect that it may have to do with the
total amount of resources to ignore and the speed of the computer / database,
so that the operation just runs into a timeout.
The timeout for this, and by default any server-side RPC call is set to 10 seconds. It should be long enough to perform even a large inventory status change but we'll need to keep an eye on this one.
Unassigning as work has stopped
Submitting to QA for final validation.
the same issue happens on "import" - see bug #701314 for more
master commit 8534967
this commit bumps up the timeout to 1 minute. In addition, if that still isn't enough, we'll log a warning message that tells the user about the timeout but that the server is still processing the request.
hard to test this - I guess just ignore lots of resources in the discovery queue and see that you don't get a timeout (which used to be 10s - so if your request is over 10s and completes successfully, OR you get a yellow warning message, this issue is fixed)
Added for triage for RHQ4.0.1
cherry picked over to release-4.0.0 branch as commit: 9b953bd567a507e890c7ee2688c1e9c803cee88e
verified. tested inventory, univnentory, ignore, import. all looks good. rhq 4.0.1
Bookkeeping - closing bug - fixed in recent release.