Project

General

Profile

Actions

Feature #11644

closed

[keepstore] mount-oriented APIs

Added by Tom Clegg almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Keep
Target version:
Story points:
3.0

Description

Keepstore's role in the management part of the Keep storage tiers story.
  • A "mounts" request (GET /mounts) should return information about all currently mounted volumes (see below; "DeviceID" is a string that can enable keep-balance to detect when multiple Keep mounts, possibly on multiple keepstore nodes, are using the same underlying storage device).
  • A block-index request for a specific mount (GET /mounts/zzzzz-aaaaa-aaaabbbbccccddd/blocks) should return a list of blocks stored on that mount. A prefix can be provided as a query parameter (.../blocks?prefix=aaa).
  • An entry in a pull request may include a "MountUUID" field indicating which mount the new copy should be written to.
  • An entry in a trash request may include a "MountUUID" field indicating which mount the block should be deleted from.

The new "/mounts" API is unrestricted. The other three APIs here, including the list of blocks for a specified mount, are only available to system processes (i.e., require "data manager" token).

Example /mounts response:

[
 {
  "UUID":"zzzzz-aaaaa-aaaabbbbccccddd",
  "Tier":1,
  "ReadOnly":false,
  "Replication":1,
  "DeviceID":"9febe660-c4e4-4db4-9f59-fbc9d559547c/keep" 
 }
]

Subtasks 6 (0 open6 closed)

Task #11685: Report current mounts using UUIDs assigned at runtimeResolvedTom Clegg05/09/2017Actions
Task #11686: Get filesystem UUIDs from linux APIsResolvedTom Clegg05/09/2017Actions
Task #11687: Obey MountUUID restrictions in trash listResolvedTom Clegg05/09/2017Actions
Task #11661: Review 11644-mounts-apiResolvedTom Clegg05/09/2017Actions
Task #11688: Obey MountUUID restrictions in pull listResolvedTom Clegg05/09/2017Actions
Task #11689: Accept index request for a specific mountResolvedTom Clegg05/09/2017Actions

Related issues

Related to Arvados - Feature #11184: [Keep] Support multiple storage classesResolvedTom MorrisActions
Has duplicate Arvados - Idea #7928: [Keep] keepstore identifies underlying volumes to clientsDuplicate12/02/2015Actions
Actions

Also available in: Atom PDF