boolean vmPowerOn = Boolean.parseBoolean(vmPowerOnStr);
if (!checkVMStatus || (checkVMStatus && !vmPowerOn)) {
logger.debug("check vm status: " + checkVMStatus
+ ", vm original status is poweron? " + vmPowerOn);
StatusUpdater statusUpdator =
new DefaultStatusUpdater(jobExecutionStatusHolder,
getJobExecutionId(chunkContext));
boolean success =
clusteringService.stopSingleVM(clusterName, nodeName,
statusUpdator, vmPoweroff);