Projet

Général

Profil

Tâche #23604

Scénario #23526: Epic 6 : Déployer la configuration sur les serveurs

L’initialisation de la base de données doit être géré par le nouveau système avec Vault

Ajouté par Daniel Dehennin il y a environ 6 ans. Mis à jour il y a environ 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
10/04/2018
Echéance:
% réalisé:

100%

Temps estimé:
3.00 h
Temps passé:
Restant à faire (heures):
0.0

Description

  • Le message v1.execution.salt.jobs.list retourne une erreur car le curseur n’est pas initialisé
  • La base de données est créée par un script dans le service postgres

Révisions associées

Révision fb84ff75 (diff)
Ajouté par Daniel Dehennin il y a environ 6 ans

PostgreSQL: “salt-returner” database must not be managed by postgres

Ref: #23604

Révision 9314a713 (diff)
Ajouté par Daniel Dehennin il y a environ 6 ans

SaltStack: create database with sqitch

  • services/saltmaster/Dockerfile: install sqitch files.
  • services/saltmaster/migrations/deploy/salt-runner-db.sql: initialize the
    “salt-runner” database.
  • services/saltmaster/migrations/revert/salt-runner-db.sql: delete the
    “salt-runner” database objects.
  • services/saltmaster/migrations/verify/salt-runner-db.sql: verify
    that tables exist.
  • services/saltmaster/migrations/sqitch.conf: use PostgreSQL as engine.
  • services/saltmaster/migrations/sqitch.plan: add “salt-runner-db” to
    the sqitch plan.

Ref: #23604

Historique

#1 Mis à jour par Daniel Dehennin il y a environ 6 ans

  • Restant à faire (heures) changé de 3.0 à 6.0

#2 Mis à jour par Daniel Dehennin il y a environ 6 ans

  • Assigné à mis à Daniel Dehennin
  • % réalisé changé de 0 à 100
  • Restant à faire (heures) changé de 6.0 à 0.25

#3 Mis à jour par Daniel Dehennin il y a environ 6 ans

  • Statut changé de Nouveau à En cours

#4 Mis à jour par Scrum Master il y a environ 6 ans

  • Statut changé de En cours à Résolu

#5 Mis à jour par Daniel Dehennin il y a environ 6 ans

  • Statut changé de Résolu à Fermé
  • Tâche parente changé de #23526 à #23524
  • Restant à faire (heures) changé de 0.25 à 0.0

#6 Mis à jour par Daniel Dehennin il y a environ 6 ans

  • Tâche parente changé de #23524 à #23526

Formats disponibles : Atom PDF