Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-4052

Add isDelayed method of Application and Pod

    Details

    • Type: Task
    • Status: Resolved
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: DC/OS 1.14.0
    • Component/s: dcos-ui
    • Labels:

      Description

      To get the general problem and instructions on how to create a delayed application, please see the epic description.

       TL;DR: In some situations, the deployment of an application can be delayed within marathon (e.g. failing service and not enough resources). Currently, we show it as recovering or deploying although marathon might not be trying to deploy it anymore due to its delayed state.

      Task: 

       Add a new method to the pod and application structs called isDelayed. It should return this state if the marathon queue endpoint returns queueEntry.delay.overdue === false as documented in https://mesosphere.github.io/marathon/docs/marathon-ui.html#delayed

      Acceptance Criteria:

      • There is a new method isDelayed for the pod and application struct
      • There are unit tests testing for the new method
      • You verified that this function returns true for delayed applications

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                georgistodorov GeorgiSTodorov
                Reporter:
                danielschmidt Daniel Schmidt
                Team:
                Frontend Team
                Watchers:
                Daniel Schmidt, GeorgiSTodorov
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: