Projet

Général

Profil

Tâche #29748

Scénario #30011: Traitement express MEN (19-21)

Sur scribe 2.7.2 : pb de droits salt

Ajouté par Gilles Grandgérard il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
19/03/2020
Echéance:
% réalisé:

100%

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

Description

vu dans : https://dev-eole.ac-dijon.fr/jenkins/job/2.7.2/job/test-importation-acascribe-multietab-2.7.2-amd64/69/

mars 19 01:45:36 scribe eole-workstation-manager[1261]: Process MWorker-3:
mars 19 01:45:36 scribe eole-workstation-manager[1261]: Traceback (most recent call last):
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     self.run()
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3/dist-packages/salt/utils/process.py", line 663, in _run
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     return self._original_run()
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3/dist-packages/salt/master.py", line 938, in run
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     self.__bind()
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3/dist-packages/salt/master.py", line 863, in __bind
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     req_channel.post_fork(self._handle_payload, io_loop=self.io_loop)  # TODO: cleaner? Maybe lazily?
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3/dist-packages/salt/transport/zeromq.py", line 568, in post_fork
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     salt.transport.mixins.auth.AESReqServerMixin.post_fork(self, payload_handler, io_loop)
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3/dist-packages/salt/transport/mixins/auth.py", line 99, in post_fork
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     self.master_key = salt.crypt.MasterKeys(self.opts)
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3/dist-packages/salt/crypt.py", line 262, in __init__
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     self.key = self.__get_keys()
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3/dist-packages/salt/crypt.py", line 313, in __get_keys
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     with salt.utils.fopen(path) as f:
mars 19 01:45:36 scribe eole-workstation-manager[1261]:   File "/usr/lib/python3/dist-packages/salt/utils/__init__.py", line 1361, in fopen
mars 19 01:45:36 scribe eole-workstation-manager[1261]:     fhandle = open(*args, **kwargs)  # pylint: disable=resource-leakage
mars 19 01:45:36 scribe eole-workstation-manager[1261]: PermissionError: [Errno 13] Permission denied: '/var/lib/salt/pki/master/master.pem'

Révisions associées

Révision c7422f63 (diff)
Ajouté par Joël Cuissinat il y a environ 4 ans

Don't start eole-workstation-manager if server not instantiated

Ref: #29748

Historique

#1 Mis à jour par Gilles Grandgérard il y a environ 4 ans

  • Tâche parente changé de #29652 à #29749

#2 Mis à jour par Gilles Grandgérard il y a environ 4 ans

  • Sujet changé de Sur scribe 2.8.0 : pb de droits salt à Sur scribe 2.7.2 : pb de droits salt

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

  • Description mis à jour (diff)

#4 Mis à jour par Gilles Grandgérard il y a environ 4 ans

  • Statut changé de Nouveau à Fermé
  • Restant à faire (heures) mis à 0.0

sans suite , c'est avant instance

#5 Mis à jour par Joël Cuissinat il y a environ 4 ans

  • Statut changé de Fermé à En cours
  • Assigné à mis à Joël Cuissinat
  • Temps estimé mis à 0.00 h
  • Tâche parente changé de #29749 à #30011

#6 Mis à jour par Joël Cuissinat il y a environ 4 ans

Ce sont des erreur "avant instance".

Si l'on part du principe que le service eole-workstation-manager sera utilisé uniquement sur un module EOLE, je propose d'ajouter la même condition que dans :
  • z_stats.service
  • eole-sso.service
ConditionPathExists=/etc/eole/config.eol

#7 Mis à jour par Joël Cuissinat il y a environ 4 ans

  • Statut changé de En cours à Résolu
  • % réalisé changé de 0 à 100

#8 Mis à jour par Fabrice Barconnière il y a environ 4 ans

  • aca.scribe-2.7.1 Daily :
    root@scribe:~# systemctl restart eole-workstation-manager.service 
    root@scribe:~# systemctl status eole-workstation-manager.service 
    ● eole-workstation-manager.service - The Salt Master Server for workstation manager
       Loaded: loaded (/lib/systemd/system/eole-workstation-manager.service; enabled; vendor preset: enabled)
       Active: inactive (dead)
    Condition: start condition failed at Mon 2020-05-11 13:38:38 CEST; 6s ago
               └─ ConditionPathExists=/etc/eole/config.eol was not met
         Docs: man:salt-master(1)
               file:///usr/share/doc/salt/html/contents.html
               https://docs.saltstack.com/en/latest/contents.html
    
  • aca.scribe 2.7.2 Daily : paquet eole-workstation-manager 2.7.2-10 refait avec le correctif
    root@scribe:~# systemctl restart eole-workstation-manager.service 
    root@scribe:~# systemctl status eole-workstation-manager.service 
    ● eole-workstation-manager.service - The Salt Master Server for workstation manager
       Loaded: loaded (/lib/systemd/system/eole-workstation-manager.service; enabled; vendor preset: enabled)
       Active: inactive (dead)
    Condition: start condition failed at Mon 2020-05-11 15:03:59 CEST; 2s ago
               └─ ConditionPathExists=/etc/eole/config.eol was not met
         Docs: man:salt-master(1)
               file:///usr/share/doc/salt/html/contents.html
               https://docs.saltstack.com/en/latest/contents.html
    

#9 Mis à jour par Fabrice Barconnière il y a environ 4 ans

  • Statut changé de Résolu à Fermé

Formats disponibles : Atom PDF