Project

General

Profile

Actions

Idea #7668

closed

[Crunch] Get node hardware information from properties, not info

Added by Brett Smith about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Start date:
10/28/2015
Due date:
Story points:
0.5

Description

History:

  • Node hardware information used to be in the info field.
  • Node info is only visible to admins. In #3605, we moved this information to properties, so non-admins could see it.
  • We neglected to updated crunch-dispatch to keep up with this change.

Wherever crunch-dispatch looks for node hardware info (under the keys total_ram_mb, total_scratch_mb, and total_cpu_cores), make sure it's looking in the properties field, rather than info.


Subtasks 1 (0 open1 closed)

Task #7672: Review 7668-crunch-node-properties-wipResolvedBrett Smith10/28/2015Actions
Actions #1

Updated by Brett Smith about 9 years ago

  • Story points set to 0.5
Actions #2

Updated by Brett Smith about 9 years ago

  • Description updated (diff)
Actions #3

Updated by Brett Smith about 9 years ago

  • Description updated (diff)
  • Category set to Crunch
  • Assigned To set to Radhika Chippada

Confirmed that crunch-job does not look at this information.

Actions #4

Updated by Brett Smith about 9 years ago

  • Status changed from New to In Progress
  • Assigned To changed from Radhika Chippada to Brett Smith

7668-crunch-node-properties-wip is up for review. It is a less-than-one-line change, but please double-check my work that this will bring all of Crunch in line with the current way node information is stored.

Actions #5

Updated by Tom Clegg about 9 years ago

f76d7ea LGTM.

I've also pushed cf56615 to 7668-crunch-node-properties-wip, moving stats to properties in source:services/api/test/fixtures/nodes.yml.

If that looks right to you too, please merge.

Actions #6

Updated by Brett Smith about 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:8dea5d629b93c1a8201cd347be19fc6f48239622.

Actions

Also available in: Atom PDF