Project

General

Profile

Actions

Bug #8084

closed

[Node Manager] Doesn't convert units when determining if a job's scratch request is satisfiable

Added by Brett Smith over 8 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Node Manager
Target version:
-
Story points:
0.5

Description

In libcloud, the disk attribute of a NodeSize is a number of gigabytes. Because our own scratch attribute is based on this by default, we've decided that it's also a number of gigabytes. See the comments about scratch in, e.g., doc/ec2.example.cfg.

Crunch jobs can have a min_scratch_mb_per_node runtime constraint. Node Manager looks at this constraint to determine satisfiability, but it compares this raw number of MB with the NodeSize's number of GB scratch without any units conversation.

Convert units as appropriate when determining satisfiability.

Actions

Also available in: Atom PDF