Red Hat Bugzilla – Bug 760078
Failed to import "Process" resource
Last modified: 2012-01-18 04:24:24 EST
Created attachment 540817 [details]
exception stacktrace in log file
Description of problem:
I try to import a resource of type "Process", just like in this demo:
but I get the error: "Failed to manually import resource".
Version-Release number of selected component:
RHQ server 4.2 is running on an Linux system, the monitored JBoss 4.2.3 and the RHQ agent are running on another Linux box.
Steps to Reproduce:
1. Go to "Inventory", select a platform, right-click on the platform.
2. Select "Import" -> "Process", "Resource import wizard" opens.
3. For "Type" select "Process query".
4. For "Piql" uncheck the "Unset?" check-box and in "Value" field enter this:
5. Click "Finish" button.
On the top banner I got an error message saying: "Failed to manually import resource".
In RHQ server log I have the error attached.
The process resource should be successfully imported and it should appear in inventory.
These steps worked fine for me on Windows. I also tried it with the agent
down, but that resulted in a different, and expected, connection exception.
I suggest someone try this
... I just tried this on Linux and it worked for me again.
So, I can't repro this. Perhaps the agent was running as a user unable
to perform the process query?
Setting back to NEW
My bad, my test cases were wrong. I close the bug. Sorry for trouble...