public void setStages(Collection<StageEntity> stages) {
    this.stages = stages;
  }
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
all belonging {@link HostRoleCommandEntity#status} (or {@link StageEntity#status})
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RequestEntity.java