lablup / lablup/backend.ai

Reschedule a new session based on a terminated session's creation params

Open
#3,284 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

As an extension of the session restart feature we already have (refs #3283), it would be nice to have an API to create a new session based on a terminated session's creation params, using the terminated session ID as a sole required parameter like a session template ID. Technically a client may remember the parameters and just create a new session using them, so _this is not a high-priority urgent issue_, but having this in the core would improve UX.

Unlike the existing session restart API, it will create an entirely new session and perform the full scheduling and preparation steps again. This may be more useful because it could use new agent nodes to avoid "faulty" nodes in case when the prior session has been terminated due to hardware failure, etc.

This would be useful for FastTrack when dealing with failed pipeline tasks. Also, we could provide an easier way in GUI/CLI to retry a failed batch job or duplicate interactive sessions with the same configuration.

JIRA Issue: BA-5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.