Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2114

Job stuck in "deploying" state when no containers are available

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.0 GA
    • Fix Version/s: 1.1 M1
    • Component/s: Runtime
    • Labels:
      None
    • Story Points:
      5
    • Rank (Obsolete):
      58
    • Sprint:
      Sprint 37

      Description

      A job gets stuck in "deploying" state when a job is deployed when there are no containers available. When a container is started after this event, the job doesn't automatically start because of the job is stuck in the "deploying" state instead of the "failed" state.

      Refer to https://github.com/spring-projects/spring-xd/blob/193088dc164c73e07d7b4509de22241b28bf42b3/spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/JobDeploymentListener.java

      Update of the status in Zookeeper is inside the NoContainerException catch block.

      This works correctly for streams.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pperalta Patrick Peralta
                Reporter:
                leochu Leo Chu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: