if (operationMode.equals("DECOMMISSIONED")) {
log.info("The storage node " + getHost() + " is already decommissioned.");
} else {
Class<?>[] emptyParams = new Class<?>[0];
EmsOperation operation = storageService.getOperation("decommission", emptyParams);
operation.invoke((Object[]) emptyParams);
operationMode = (String) operationModeAttr.refresh();
if (!operationMode.equals("DECOMMISSIONED")) {
result.setErrorMessage("Failed to decommission storage node " + getHost() + ". The " +
"StorageService is reporting " + operationMode + " for its operation mode but it should be " +