question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'eb deploy' Docker multicontainer fails to update env: ECS error (Family can not be blank)

See original GitHub issue

Description

On a Docker multi-container configuration, after have created the environment, on attempt to “eb deploy” to update I get this error from ECS:

Service:AmazonECS, Code:InvalidParameterException, Message:Family can not be blank., Class:com.amazonaws.services.ecs.model.InvalidParameterException

Steps to reproduce

  1. Create an Docker multi-container environment

  2. Update the environment with “eb deploy” Won’t work and throw that error above

  3. OS: Tested on a couple of Linux/Ubuntu/Python distributions, versions: Environments: Python=2.7.6/3.5/3.6 awsebcli==3.17.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
halcarletoncommented, Feb 3, 2020

Hey @AndreLobato, I have been unable to reproduce this issue even with the additional information. If this continues to be an issue for you could you include an example application codebase(github repo or directory archive) which reproduces this issue and exact steps to reproduce?

Thanks

0reactions
AndreLobatocommented, Aug 19, 2021

Sorry again, Just a bit more context to this issue, looks like it happens when I try to “deploy” an “MultiDockerContainer” application, then EB will try to create a new ECS Task, however it seems that is missing to inherit the “family” value from the previous task.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ECS managed Docker environments with the Elastic ...
You can launch a cluster of multi-container instances in a single-instance or scalable Elastic Beanstalk environment using the Elastic Beanstalk console.
Read more >
Deploying an AWS ECS task using containers from ECR
Deployments to AWS ECS using containers from ECR are now possible using the new multi-package feature of Octopus script steps.
Read more >
Elastic BeanStalk MultiContainer docker fails - Stack Overflow
I cannot understand why No ecs task error appears, when I have packaged my dockerrun.aws.json file containing containerDefinitions? Since there ...
Read more >
A Docker Tutorial for Beginners
Learn to build and deploy your distributed applications easily to the cloud with Docker.
Read more >
AWS Elastic Beanstalk - Developer Guide - 1 File Download
You can deploy a new version at any time, as long as no other update operations are in progress on your environment. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found