You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
Describe the bug
When attempting to install on an already existing Waypoint Server instance running on ECS it throws a panic error while attempting to "Registering Task definition"
Steps to Reproduce
Have an already running instance of Waypoint Server on ECS running with version 0.4.0.
Have the Waypoint CLI with version 0.4.1 and attempt to install
Hello! The underlying error here is caused due to invalid cpu/memory combination of values. For 512 CPU, if you want to specify the memory as well you must use one of the following memory values: 1024 (1GB), 2048 (2GB), 3072 (3GB), 4096 (4GB). See this page for some more information on the combinations:
I'm currently working on a fix to have Waypoint validate and throw an error when the memory/cpu values are invalid according to that document. Stay tuned!
Short story:
Hello again! I've opened #1872 which should "fix" this issue, by returning an error that users can use to diagnose the cause. Screen shot attached in #1872.
Long story:
Function registerTaskDefinition was failing for an unrecognized error, and it just looped until it ran out of attempts then moved on. The ecs.RegisterTaskDefinitionOutput was then returned as nil, and then we got a nil reference panic on L286
In #1872 we verify the mem/cpu values are a good pair and if not, error. We also verify the taskOut is not nil.
Describe the bug
When attempting to install on an already existing Waypoint Server instance running on ECS it throws a panic error while attempting to "Registering Task definition"
Steps to Reproduce
Log excerpt:
Expected behavior
Running waypoint install should redeploy the Waypoint Server with the new settings specified in the cli.
Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:
aws/ecs
Additional context
The text was updated successfully, but these errors were encountered: