dataall icon indicating copy to clipboard operation
dataall copied to clipboard

Stacks Updater is triggered properly, but the container task does not complete

Open JahedZ opened this issue 2 years ago • 1 comments

Describe the bug

In data.all, there is a scheduled Fargate task that is triggered each night, at 1:00 UTC. It automatically updates all stacks (environments, datasets) that have drifted from the CDK template.

These tasks are properly scheduled. However, the container does not complete the tasks due to an IAM permission error.

image

How to Reproduce

The logs are available in Cloudwatch under [demo/ecs/stacks-updater].

Expected behavior

The tasks should properly execute, and update old datasets/workspaces upon completion.

This allows data.all to maintain up-to-date resources. For example, if you update the definition of what an environment is, you will not have to manually update all existing tasks from the console, it will simply automatically happen, at most 24h after the CI/CD completion.

Your project

No response

Screenshots

image

OS

Any

Python version

3.8

AWS data.all version

v 1.0.0

Additional context

I will provide the code to

1/ Extend the IAM permissions for the container role, allowing successful task execution

2/ Extend the task execution to also update pipelines, notebook, and ML Studio profiles.

JahedZ avatar Jul 29 '22 16:07 JahedZ

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 7 days it will automatically be closed.

github-actions[bot] avatar Sep 01 '22 12:09 github-actions[bot]