Project

General

Profile

Actions

Story #15003

closed

[config] Go package & tool for preprocessing cluster config file

Added by Tom Clegg almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
04/26/2019
Due date:
% Done:

100%

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

Description

This tool preprocesses cluster configs so individual components only need to understand a single config object, despite complications like supporting old config formats.

Initial functionality:
  • Read the cluster config file from disk
  • Apply defaults (perhaps by layering on-disk config after loading yaml file embedded in Go binary)
  • Migrate values from old configs to their new positions (e.g., NodeProfiles → Services)
  • Error out if the old configs cannot be migrated/ignored safely
Possible future functionality (not implemented here):
  • Load secrets from disk ("signing key is file:///etc/key")
  • Load pre-cluster-config-file configs like keepstore.yml
  • Layered configs
  • Includes

Subtasks 8 (1 open7 closed)

Task #15096: Review 15003-preprocess-configResolvedTom Clegg04/26/2019

Actions
Task #15262: Review 15003-disable-config-warningsResolvedTom Clegg04/26/2019

Actions
Task #15288: Review 15003-new-config-structResolvedTom Clegg04/26/2019

Actions
Task #15302: Review 15003-duration-formatResolvedLucas Di Pentima04/26/2019

Actions
Task #15314: Add RailsAPI configs to authoritative Go config structResolvedTom Clegg04/26/2019

Actions
Task #15315: Ensure CloudVMs.DriverParameters are in config-dumpResolvedTom Clegg04/26/2019

Actions
Task #15331: Review 15003-config-default-locationResolvedTom Clegg04/26/2019

Actions
Task #15459: Review 15003-real-configs-flagged-unknownIn ProgressTom Clegg04/26/2019

Actions

Related issues 2 (0 open2 closed)

Related to Arvados - Bug #10282: [Go programs]Warn or error when unrecognized keys appear in config filesClosed

Actions
Blocks Arvados - Story #13648: [Epic] Use one cluster configuration file for all componentsResolved

Actions
Actions

Also available in: Atom PDF