Skip to content

Support stopping ECS services with the Daemon scheduling strategy #44

Open

Description

@rererecursive

Attempting to stop services in an ECS cluster that used the daemon scheduling strategy throws an error. The logs are:

I, [2019-05-20T19:00:13.578661 #30810]  INFO -- : Stopping ECS service my-service...
E, [2019-05-20T19:00:13.598088 #30810] ERROR -- : An exception occurred during stop operation against resource my-ecs-cluster
E, [2019-05-20T19:00:13.598134 #30810] ERROR -- : The daemon scheduling strategy does not support a desired count for services. Remove the desired count value and try again

The code that stops the ECS services needs to be aware of the different types of scheduling strategies and used the appropriate mechanism to stop the service for each.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions