Project: springxd
Issue XD-2114: Job stuck in "deploying" state when no containers are available
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.
Story points: 5