Project

General

Profile

Actions

Feature #16106

closed

[arvados-dispatch-cloud] Azure driver support for preemptible instances

Added by Tom Clegg almost 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Start date:
01/07/2021
Due date:
% Done:

100%

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

Description

When creating instances, source:lib/cloud/azure should create a preemptible instance if the instance type's Preemptible flag is set.

arvados-dispatch-cloud already knows how to choose a preemptible type if the container's scheduling_constraints want one; see ChooseInstanceType() in source:lib/dispatchcloud/node_size.go


Subtasks 1 (0 open1 closed)

Task #16960: Review 16106-azure-spot-instance-supportResolvedWard Vandewege01/07/2021

Actions

Related issues 2 (0 open2 closed)

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

Actions
Related to Arvados - Feature #17249: Make costanalyzer aware of preemptable instancesResolvedWard Vandewege02/04/2021

Actions
Actions #1

Updated by Tom Clegg almost 5 years ago

  • Related to Story #13908: [Epic] Replace SLURM for cloud job scheduling/dispatching added
Actions #2

Updated by Ward Vandewege over 4 years ago

  • Target version set to To Be Groomed
Actions #3

Updated by Ward Vandewege over 4 years ago

  • Target version deleted (To Be Groomed)
Actions #4

Updated by Peter Amstutz about 4 years ago

  • Target version set to 2020-10-21 Sprint
Actions #5

Updated by Peter Amstutz about 4 years ago

  • Target version changed from 2020-10-21 Sprint to 2020-11-04 Sprint
Actions #6

Updated by Peter Amstutz about 4 years ago

  • Target version changed from 2020-11-04 Sprint to 2020-10-21 Sprint
Actions #7

Updated by Peter Amstutz about 4 years ago

  • Status changed from New to In Progress
Actions #8

Updated by Peter Amstutz about 4 years ago

  • Assigned To set to Ward Vandewege
Actions #9

Updated by Ward Vandewege about 4 years ago

  • Target version changed from 2020-10-21 Sprint to 2020-11-04 Sprint
Actions #10

Updated by Peter Amstutz about 4 years ago

  • Target version changed from 2020-11-04 Sprint to 2020-11-18
Actions #11

Updated by Peter Amstutz about 4 years ago

  • Target version changed from 2020-11-18 to 2020-12-02 Sprint
Actions #12

Updated by Peter Amstutz about 4 years ago

  • Target version changed from 2020-12-02 Sprint to 2020-12-16 Sprint
Actions #13

Updated by Peter Amstutz about 4 years ago

  • Target version changed from 2020-12-16 Sprint to 2021-01-06 Sprint
Actions #14

Updated by Peter Amstutz almost 4 years ago

  • Target version changed from 2021-01-06 Sprint to 2021-01-20 Sprint
Actions #15

Updated by Ward Vandewege almost 4 years ago

Ready for review at c1a84bf6f6c570cc632a5ba8c6406543e2206e3a on branch 16106-azure-spot-instance-support. In addition to the automated tests, also tested on ce8i5.

Actions #16

Updated by Ward Vandewege almost 4 years ago

  • Related to Feature #17249: Make costanalyzer aware of preemptable instances added
Actions #17

Updated by Tom Clegg almost 4 years ago

Preemptible is misspelled "[Pp]reemptable" a couple of times on doc page.

Nit: In source:lib/cloud/azure/azure.go I think it would be good form to put the maxPrice var inside the if{} block ("var maxPrice float64 = 1" or "maxPrice := float64(-1)") - especially since we're storing a pointer to it, using it later would be wrong (and admittedly unlikely).

Rest LGTM. Thanks!

Actions #18

Updated by Ward Vandewege almost 4 years ago

Tom Clegg wrote:

Preemptible is misspelled "[Pp]reemptable" a couple of times on doc page.

Nit: In source:lib/cloud/azure/azure.go I think it would be good form to put the maxPrice var inside the if{} block ("var maxPrice float64 = 1" or "maxPrice := float64(-1)") - especially since we're storing a pointer to it, using it later would be wrong (and admittedly unlikely).

Rest LGTM. Thanks!

Great, nice catch, both changes made, and merged.

Actions #19

Updated by Ward Vandewege almost 4 years ago

  • Status changed from In Progress to Resolved
Actions #20

Updated by Ward Vandewege almost 4 years ago

  • Release set to 37
Actions

Also available in: Atom PDF