Project

General

Profile

Tâche #22131

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

Lister les jobs

Added by Fabrice Barconnière 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:
12.00 h
Spent time:
Remaining (hours):
0.0

Description

  • demandés par l'utilisateur (ou un autre service)
  • exécutés sur chaque minion

Associated revisions

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

SaltStack: controller must be easily extendable

Refactor executor code in its own submodule to permit addition of new
feature without too much pain.

  • services/saltmaster/src/salt_ctrl/salt_exec.py: code of the executor.
  • services/saltmaster/src/salt_ctrl/salt_ctrl.py (_build_CallResult):
    new utility to wrap responses in “CallResult”.
    (SaltRunner): rename Salt controller class.
    Initialise a new executor object and register all its exposed
    methods.

Ref: #22131

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

SaltStack: list all jobs stored in the database

  • services/common/messages/v1/jobs.salt.list.yml: describe the
    “jobs.salt.list” message.
  • services/saltmaster/src/salt_ctrl/salt_jobs.py: implement a “SaltJobs”
    class with a “list_jobs” method to retrieve all jobs from the
    database.

Ref: #22131

History

#1 Updated by Scrum Master over 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master over 2 years ago

  • Description updated (diff)
  • Assigned To set to Daniel Dehennin

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

  • % Done changed from 0 to 20
  • Remaining (hours) changed from 12.0 to 9.0

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

  • % Done changed from 20 to 100

#5 Updated by Daniel Dehennin over 2 years ago

  • Remaining (hours) changed from 9.0 to 0.5

#6 Updated by Scrum Master over 2 years ago

  • Status changed from En cours to Résolu

#7 Updated by Lionel Morin over 2 years ago

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

Also available in: Atom PDF