Project

General

Profile

Tâche #32903

Scénario #33049: Traitement express MEN (35-38)

salt minion : erreur lors de la configuration Veyon

Added by Gilles Grandgérard 2 months ago. Updated 9 days ago.

Status:
Résolu
Priority:
Normal
Assigned To:
Start date:
09/07/2021
Due date:
% Done:

100%

Estimated time:
0.00 h
Remaining (hours):
0.0

Description

Erreur lors de la configuration Veyon
Est-ce que cette opération est fait au bon moment ?

cf.: https://dev-eole.ac-dijon.fr/jenkins/job/2.7.2/job/test-etb1-scribe-joineole-win10-2.7.2-amd64/lastFailedBuild/parsed_console/


"cmd_|-Import Veyon configuration_|-veyon-cli.exe config import veyon-config.json_|-run": {
    "__id__": "Import Veyon configuration",
    "__run_num__": 12,
    "__sls__": "eole-workstation.veyon.config.import",
    "changes": {
         "pid": 4412,
         "retcode": 4294967295,
         "stderr": "[ERREUR] Impossible de modifier la propri\u00e9t\u00e9 de d\u00e9marrage automatique du service Veyon",
         "stdout": "[ERREUR]" 
    },
    "comment": "Command \"veyon-cli.exe config import veyon-config.json\" run",
    "duration": 171.774,
    "name": "veyon-cli.exe config import veyon-config.json",
    "result": false,
    "start_time": "04:00:42.849677" 
},

Associated revisions

Revision ecffd188 (diff)
Added by Daniel Dehennin 10 days ago

fix(veyon): register service before importing configuration

It may solve the situation where importing the configuration result in
the error:

Could not modify the autostart property for the Veyon Service

Revision d3366672 (diff)
Added by Daniel Dehennin 9 days ago

fix(veyon): register the service only on Windows machines

The GNU/Linux machines can't register the service and the
corresponding state always fail on such systems.

History

#1 Updated by Joël Cuissinat 2 months ago

  • Subject changed from slat minion : erreur lors de la configuration Veyon to salt minion : erreur lors de la configuration Veyon

#2 Updated by Gilles Grandgérard 2 months ago

  • Target version set to sprint 2021 26-34 Equipe MENSR (été)

#3 Updated by Daniel Dehennin 15 days ago

Cela ne le fait pas à chaque fois, j’ai ouvert une demande afin d’avoir plus d’information.

#4 Updated by Daniel Dehennin 10 days ago

  • Parent task set to #33049

#5 Updated by Daniel Dehennin 10 days ago

  • Status changed from Nouveau to En cours
  • Assigned To set to force orange

#6 Updated by Daniel Dehennin 10 days ago

  • Assigned To changed from force orange to Daniel Dehennin

#7 Updated by Daniel Dehennin 10 days ago

  • % Done changed from 0 to 100

J’ai mis à jour les journaux.

Voilà ce que cela donne en ordre d’exécution :

----------
          ID: Download Veyon Configuration
    Function: file.managed
        Name: C:\Program Files\Veyon\veyon-config.json
      Result: True
     Comment: File C:\Program Files\Veyon\veyon-config.json updated
     Started: 15:45:24.255425
    Duration: 78.293 ms
     Changes:   
              ----------
              diff:
                  New file
----------
          ID: Register Veyon service
    Function: cmd.run
        Name: veyon-cli.exe service register
      Result: True
     Comment: Command "veyon-cli.exe service register" run
     Started: 15:45:24.333718
    Duration: 343.754 ms
     Changes:   
              ----------
              pid:
                  3360
              retcode:
                  0
              stderr:
              stdout:
                   Inscription du service VeyonService.[OK]
----------
          ID: Import Veyon configuration
    Function: cmd.run
        Name: veyon-cli.exe config import veyon-config.json
      Result: True
     Comment: Command "veyon-cli.exe config import veyon-config.json" run
     Started: 15:45:24.677472
    Duration: 187.531 ms
     Changes:   
              ----------
              pid:
                  3724
              retcode:
                  0
              stderr:
              stdout:
                  [OK]

#8 Updated by Daniel Dehennin 10 days ago

  • Status changed from En cours to Résolu

#9 Updated by Daniel Dehennin 9 days ago

L’enregistrement du service n’est exécuté que pour les Windows.

Also available in: Atom PDF