Project

General

Profile

Actions

Bug #5400

closed

[rOCCI] SSH connect fails when local run of "occi" command fails

Added by Schwarz Lionel almost 11 years ago. Updated almost 11 years ago.

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.

Actions #1

Updated by La Rocca Giuseppe almost 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

Also available in: Atom PDF