Created attachment 521244 [details] drift error 1 Description of problem: Negative test for Drift (no agent running) produces unhandled exception Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. make sure agent is not running 2. setup a Drift Configuration 3. do Drift Detection Actual results: Illegal State Exception Expected results: Negative test is handled more gracefully Additional info: attachments
Created attachment 521245 [details] drift error 2
Created attachment 521246 [details] server log
This situation is not specific to drift. This situation occurs any time the server sends a request to an agent that is down or otherwise unreachable. I believe that we display a message in the UI indicating as such, and I also think that the exception in the log is very descriptive. Here is the exception message from the attached server log file, Caused by: java.lang.IllegalStateException: Agent could not be reached and may be down (see server logs for more). Could not perform drift detection request [DriftConfiguration [id=10001, name=File System, enabled=true, interval=60, resource=Resource[id=10001, type=Linux, key=foleymonsterbox1.foleyhomenetwork, name=foleymonsterbox1.foleyhomenetwork, parent=<null>, version=Linux 2.6.35.12-88.fc14.x86_64], basedir=BaseDirectory [context=fileSystem, name=/home/mfoley/folderwatchedbyDrift], includes=[], excludes=[]]] What more are you looking for?
+1 this is working as expected. Unless there is something we're missing, please close.