boolean isRoleFailed() {
      return !(isRoleInProgress() || isSuccessFactorMet());
    }
Role failure means role is no longer in progress and success factor is
not met.
ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java