public CommandExecutionType getCommandExecutionType() {
    return commandExecutionType;
  }
This status informs if any of the underlying tasks
have faced any type of failures {@link HostRoleStatus#isFailedState()}

Status calculated by only taking into account {@link HostRoleCommandEntity#status}
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/StageEntity.java