Actions
Bug #5400
closed[rOCCI] SSH connect fails when local run of "occi" command fails
Status:
Closed
Priority:
Normal
Assigned To:
Category:
Non-grid adaptors
Target version:
Start date:
10/24/2013
Due date:
% Done:
0%
Estimated time:
Description
When the call of executable "occi" fails (in case there is no result), the adaptor then tries to connect via SSH but there is no host defined (the host is normally retrieved from the "occi" command result).
In this case, the submit() method should throw a NoSuccessException.
Updated by La Rocca Giuseppe over 11 years ago
- Status changed from Assigned to Closed
Adeded the following exceptions when occi does not return any results ...
try {
results = run_OCCI("create", Execute);
if (results.isEmpty())
throw new NoSuccessException(
"Some problems occurred while contacting the server. "
+ "Please check your settings.");
} catch (Exception ex) { log.error(ex); }
Actions