Skip to content

Adapt obi-one to use launch-system with AWS-only api/orchestrator deployment#612

Merged
eleftherioszisis merged 5 commits intomainfrom
task-manager-unified
Mar 2, 2026
Merged

Adapt obi-one to use launch-system with AWS-only api/orchestrator deployment#612
eleftherioszisis merged 5 commits intomainfrom
task-manager-unified

Conversation

@eleftherioszisis
Copy link
Contributor

@eleftherioszisis eleftherioszisis commented Mar 1, 2026

This PR updates obi-one to work with the launch-system now that both the API and orchestrator run exclusively in AWS (no longer in both AWS and Azure).

Summary:

  • Pass the compute_cell to the launch-system in the resources block.
  • Delegate infrastructure selection to the launch-system orchestrator.
  • Remove AWS/Azure endpoint toggling logic from obi-one.

obi-one no longer handles cloud-specific routing. The launch-system/orchestrator now determines the correct infrastructure, simplifying the task launch flow and reducing complexity.

cores=1,
memory=2,
timelimit="00:10",
compute_cell="local",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not expecting "local". May be add that one to the documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"local" is only defined when the launch-system is deployed locally. Alternatively, we could have "cell_a" or "cell_b" as a default.

Note, that I am making here the assumption that the vlab manager request will always return a compute cell domain, therefore this will be always be overridden.

One case that this would be handy could be if we had an env var to disable the request to the vlab manager when obi-one is executed locally alongside a local deployment of the launch-system.

data = response.json()
compute_cell = data["data"]["virtual_lab"]["compute_cell"]
L.info("Resolved subdomain %s", compute_cell)
L.info("Retrieved comput_cell %s", compute_cell)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comput_cell -> compute_cell

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed.

@eleftherioszisis eleftherioszisis merged commit b9d9ae2 into main Mar 2, 2026
5 checks passed
@eleftherioszisis eleftherioszisis deleted the task-manager-unified branch March 2, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants