Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit task count to 1 for ECS provenance cluster #31

Closed
sjoshi-jpl opened this issue Jul 25, 2023 · 7 comments
Closed

Limit task count to 1 for ECS provenance cluster #31

sjoshi-jpl opened this issue Jul 25, 2023 · 7 comments
Assignees
Labels
B14.0 i&t.skip Skip I&T of this task/ticket task wontfix This will not be worked on

Comments

@sjoshi-jpl
Copy link
Contributor

sjoshi-jpl commented Jul 25, 2023

Research options to limit task count to max 1 for ECS provenance cluster. The requirement is to not kick off another task until the existing task completes.

If a task runs for too long (goes over a certain time period), it should through an error and terminate.

Investigate possible solutions :

  1. Capacity provider for ECS cluster using AutoScaling groups (will need SA support)
  2. Update provenance script to cap # of documents per task
@sjoshi-jpl sjoshi-jpl self-assigned this Jul 25, 2023
@sjoshi-jpl sjoshi-jpl added this to B14.0 Jul 25, 2023
@github-project-automation github-project-automation bot moved this to Release Backlog in B14.0 Jul 25, 2023
@sjoshi-jpl sjoshi-jpl added task B14.0 i&t.skip Skip I&T of this task/ticket labels Jul 25, 2023
@nutjob4life
Copy link
Member

Sagar reports: focusing on this right now

@sjoshi-jpl
Copy link
Contributor Author

sjoshi-jpl commented Jul 27, 2023

@tloubrieu-jpl - I do not have access to create an ASG so I've opened a ticket with SA team.

https://itsd-jira.jpl.nasa.gov/servicedesk/customer/portal/16/DSIO-4247

@sjoshi-jpl
Copy link
Contributor Author

sjoshi-jpl commented Aug 1, 2023

@tloubrieu-jpl @jordanpadams as discussed today, we might no longer need this ticket (or we can re-purpose it) since we don't need the ASG and instead we're going to use the lock-file approach with Lambda that SA team is working on using a separate ticket.

DSIO-4247

@sjoshi-jpl
Copy link
Contributor Author

@tloubrieu-jpl is this where we're tracking lambda creation for ECS tasks? Or should that be tracked in #30 ?

@tloubrieu-jpl
Copy link
Member

I don't know @sjoshi-jpl , maybe the lambda would make more sense in this ticket since it is orchestrating the provenance processes and guarantee that only one is running on each domain at once and especially that not a new porcess is launched if one already runs.

The monitoring is more an after the fact, metrics measurements.

@sjoshi-jpl
Copy link
Contributor Author

Per latest update from Susan, they're working on creating the lambda as well the registry-sweeper cluster.

@sjoshi-jpl
Copy link
Contributor Author

sjoshi-jpl commented Aug 15, 2023

#60 New ticket created for tracking this task post multi-tenancy. @tloubrieu-jpl we can close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B14.0 i&t.skip Skip I&T of this task/ticket task wontfix This will not be worked on
Projects
No open projects
Status: 🏁 Done
Development

No branches or pull requests

4 participants