Project

General

Profile

Actions

Feature #15370

closed

[arvados-dispatch-cloud] loopback driver

Added by Tom Clegg over 5 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Start date:
05/17/2022
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

The loopback driver implements cloud.Driver by presenting a fake cloud in which
  • Create() succeeds once, but fails with a quota error if the caller tries to create multiple instances
  • Instances() returns the instance that was created, if any
  • Destroy() makes the instance disappear from the next Instances() result
  • Instance address points to an SSH server (brought up by the driver) that accepts the dispatcher's key and executes shell commands
Using the loopback driver will involve some special configuration.
  • If InstanceTypes is empty, it is automatically configured with a single instance type, with the host's RAM/CPU specs

When combined with #14922 this should make crunch-dispatch-local redundant.

This will also facilitate an arvados-dispatch-cloud integration test that uses the real crunch-run program instead of a stub. This might involve a few other changes, like a configurable location for lockfiles.

It's okay that this will be useless (other than single-container test cases) until #14922 is implemented, because it will also make #14922 easier to test.


Subtasks 2 (0 open2 closed)

Task #19060: Review 15370-loopback-dispatchcloudResolvedWard Vandewege05/19/2022

Actions
Task #19138: Review 15370-install-dockerResolvedWard Vandewege05/17/2022

Actions

Related issues 3 (2 open1 closed)

Related to Arvados - Feature #14922: [crunch-dispatch-cloud] Run multiple containers concurrently on a single VMNew

Actions
Related to Arvados - Story #13908: [Epic] Replace SLURM for cloud job scheduling/dispatchingResolved

Actions
Related to Arvados - Story #18973: Test combinations of federation scenariosNew

Actions
Actions

Also available in: Atom PDF