clusterDef.getCurrentReport().setAction("");
clusterDef.getCurrentReport().setClusterAndNodesServiceStatus(ServiceStatus.STARTED);
} catch (SoftwareManagementPluginException ex) {
if (ex instanceof CommandExecFailException) {
String hostId = ((CommandExecFailException)ex).getRefHostId();
CmNodeDef nodeDef = clusterDef.idToHosts().get(hostId);
String errMsg = null;
if (nodeDef != null) {
errMsg = "Failed to start role for node " + nodeDef.getName() + " for "
+ ((ex.getMessage() == null) ? "" : (", " + ex.getMessage()));
// reset all node actions.