Project

General

Profile

Tâche #29748

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

Sur scribe 2.7.2 : pb de droits salt

Added by Gilles Grandgérard 3 months ago. Updated 22 days ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/19/2020
Due date:
% Done:

100%

Estimated time:
0.00 h
Remaining (hours):
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'

Associated revisions

Revision c7422f63 (diff)
Added by Joël Cuissinat about 1 month ago

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

Ref: #29748

History

#1 Updated by Gilles Grandgérard 2 months ago

  • Parent task changed from #29652 to #29749

#2 Updated by Gilles Grandgérard 2 months ago

  • Subject changed from Sur scribe 2.8.0 : pb de droits salt to Sur scribe 2.7.2 : pb de droits salt

#3 Updated by Daniel Dehennin 2 months ago

  • Description updated (diff)

#4 Updated by Gilles Grandgérard about 1 month ago

  • Status changed from Nouveau to Fermé
  • Remaining (hours) set to 0.0

sans suite , c'est avant instance

#5 Updated by Joël Cuissinat about 1 month ago

  • Status changed from Fermé to En cours
  • Assigned To set to Joël Cuissinat
  • Estimated time set to 0.00 h
  • Parent task changed from #29749 to #30011

#6 Updated by Joël Cuissinat about 1 month ago

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 Updated by Joël Cuissinat about 1 month ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#8 Updated by Fabrice Barconnière 22 days ago

  • 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 Updated by Fabrice Barconnière 22 days ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF