Project

General

Profile

Actions

Feature #11645

closed

[keepstore] Add "StorageClasses" field to volume config

Added by Tom Clegg over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Keep
Target version:
Story points:
1.0
Release relationship:
Auto

Description

Part of the Keep storage classes story.

Accept a "StorageClasses" key (value is an array of strings) for each configured volume.
  • If config is empty or not provided, change to ["default"] transparently.
  • Ensure this is reported in the /mounts API as StorageClasses, so keep-balance can see it.
  • Remove abandoned Tier field from /mounts API.
 type VolumeMount struct {
     UUID        string
     DeviceID    string
     ReadOnly    bool
     Replication int
+    StorageClasses []string
-    Tier        int
     volume      Volume
 }

Subtasks 1 (0 open1 closed)

Task #13082: Review 11645-keepstore-storageclassesResolvedPeter Amstutz05/09/2017Actions

Related issues

Blocks Arvados - Feature #11184: [Keep] Support multiple storage classesResolvedTom MorrisActions
Actions

Also available in: Atom PDF