Project

General

Profile

Tâche #22212

Scénario #21405: Epic 1: Interroger l'état Salt et renvoyer le résultat à la demande

Mise à niveau de la gestion docker

Added by Daniel Dehennin over 2 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
11/13/2017
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

Le conteneur staltmaster a été créé avant l’utilisation d’autopilot.

Associated revisions

Revision 525b37ce (diff)
Added by Daniel Dehennin over 2 years ago

SaltStack: use common base image and switch to autopilot

  • services/saltmaster/Dockerfile: base on latest “zephir_base”.
    Reorder sequence of commands to minimise rebuild time on source
    changes.
    Remove the “CMD” instruction since we base now on autopilot.
  • docker-compose.dev.yml: depends on “base” to get correct build order
    and pass consul and database environment variables.
  • services/saltmaster/containerpilot.json5: add consul information and
    manage generation and update of Salt controller configuration file.
  • services/saltmaster/etc/salt_ctrl.conf.ctmpl: configuration template
    of Salt controller.
  • services/saltmaster/scripts/update-service-conf: generate or update
    the configuration file and restart Salt controller as needed.

Ref: #22212

Revision ae1664e4 (diff)
Added by Daniel Dehennin over 2 years ago

SaltStack: database and crossbar options are stored in a file

  • services/saltmaster/src/salt_ctrl/salt_config.py: load and reload
    configuration from filesystem.
  • services/saltmaster/src/salt_ctrl/salt_ctrl.py: use the
    configuration generated by autopilot.
    Reload the service on SIGUSR2.

Ref: #22212

History

#1 Updated by Fabrice Barconnière over 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Fabrice Barconnière over 2 years ago

  • Assigned To set to Daniel Dehennin
  • % Done changed from 0 to 100

#3 Updated by Daniel Dehennin over 2 years ago

  • Remaining (hours) changed from 3.0 to 0.25

#4 Updated by Scrum Master over 2 years ago

  • Status changed from En cours to Résolu

#5 Updated by Lionel Morin over 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF