Project

General

Profile

Tâche #31078

Scénario #31087: Zéphir 2.8.0 : Corrections python 3 (2.8.0-beta1)

Zéphir-client : Vérification des scripts d'action (python 3) (2.8.0-beta1)

Added by Bruno Boiget 11 months ago. Updated 10 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/10/2020
Due date:
11/06/2020
% Done:

100%

Estimated time:
0.00 h
Remaining (hours):
0.0

Description

Pas №5

L'action a échoué

dans les logs uucp :

uuxqt zephir root (2020-11-06 16:18:38.26 3753) Executing X.zephirO0004 (zephir_client update_key regen_certs)
uuxqt zephir root (2020-11-06 16:18:38.80 3753) ERROR: Execution: Exit status 1
uuxqt zephir root (2020-11-06 16:18:38.80 3753) Execution failed (X.zephirO0004)

dans /var/log/last_action.log :

Fri Nov  6 16:18:38 2020 : zephir_client update_key(regen_certs)
----------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/zephir/scripts/update_key.zephir", line 17, in <module>
    from .regen_certs import regen_ssl_certs, RegenCertError
ImportError: attempted relative import with no known parent package
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_share_zephir_scripts_update_key.zephir.0.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/share/zephir/scripts/update_key.zephir", line 17, in <module>
    from .regen_certs import regen_ssl_certs, RegenCertError
ImportError: attempted relative import with no known parent package

Exécution Squash-TM

Associated revisions

Revision 78503bba (diff)
Added by Philippe Caseiro 10 months ago

Porting update_key to python3

ref #31078

Revision eff1e31c (diff)
Added by Philippe Caseiro 10 months ago

Porting update_key to python3

ref #31078

Revision 0d9daa72 (diff)
Added by Emmanuel GARETTE 10 months ago

la cle doit etre en bytes (ref #31078)

Revision c9f26336 (diff)
Added by Emmanuel GARETTE 10 months ago

update_key.zephir : gestion bytes (ref #31078)

History

#1 Updated by Bruno Boiget 11 months ago

  • Parent task deleted (#30862)

#2 Updated by Bruno Boiget 11 months ago

  • Tracker changed from Tâche to Scénario
  • Subject changed from Correction ZE-T07-003 - Regénération des certificats à distance (2.8.0-beta1) to Zéphir-client : Vérification des scripts d'action (python 3) (2.8.0-beta1)
  • Due date set to 11/06/2020

#3 Updated by Bruno Boiget 11 months ago

  • Copied to Scénario #31087: Zéphir 2.8.0 : Corrections python 3 (2.8.0-beta1) added

#4 Updated by Bruno Boiget 11 months ago

  • Tracker changed from Scénario to Tâche
  • Parent task set to #31087

#5 Updated by Philippe Caseiro 10 months ago

  • Status changed from Nouveau to En cours

#6 Updated by Philippe Caseiro 10 months ago

  • Assigned To set to Philippe Caseiro

#7 Updated by Philippe Caseiro 10 months ago

  • Status changed from En cours to Résolu

#8 Updated by Fabrice Barconnière 10 months ago

Toujours en erreur. La commande du pas 5 ne renvoie rien

root@eolebase:~# tail -f /var/log/uucp/Log
--------- synchronisation manuelle (synchro_zephir) ----------
uucp zephir root (2020-12-01 11:15:05.63 4245) Queuing send of /tmp/site10.tar to ~
uucico zephir - (2020-12-01 11:15:05.64 4246) Calling system zephir (port SSH)
uucico zephir - (2020-12-01 11:15:05.90 4246) Login successful
uucico zephir - (2020-12-01 11:15:07.91 4246) Handshake successful (protocol 't')
uucico zephir root (2020-12-01 11:15:07.91 4246) Sending /tmp/site10.tar (82973 bytes)
uucico zephir root (2020-12-01 11:15:07.91 4246) Receiving /var/spool/uucppublic/pubkey.tar (10240 bytes)
uucico zephir root (2020-12-01 11:15:07.91 4246) Receiving X.zephirO0006 (75 bytes)
uucico zephir - (2020-12-01 11:15:07.91 4246) Call complete (2 seconds 93288 bytes 46644 bps)
uuxqt zephir root (2020-12-01 11:15:11.92 4249) Executing X.zephirO0006 (zephir_client update_key regen_certs)
uuxqt zephir root (2020-12-01 11:15:12.50 4249) ERROR: Execution: Exit status 1
uuxqt zephir root (2020-12-01 11:15:12.50 4249) Execution failed (X.zephirO0006)
uucp zephir root (2020-12-01 11:15:13.34 4302) Queuing send of /tmp/site10.tar to ~
uucico zephir - (2020-12-01 11:15:13.34 4303) Calling system zephir (port SSH)
uucico zephir - (2020-12-01 11:15:13.49 4303) Login successful
uucico zephir - (2020-12-01 11:15:15.49 4303) Handshake successful (protocol 't')
uucico zephir root (2020-12-01 11:15:15.49 4303) Sending /tmp/site10.tar (82971 bytes)
uucico zephir - (2020-12-01 11:15:15.49 4303) Call complete (2 seconds 82971 bytes 41485 bps)

root@eolebase:~# tail -f /var/log/zephir/last_action.log 

Tue Dec  1 11:06:59 2020 : zephir_client update_key(regen_certs)
----------------------------------------------------------------
pubkey.tar: Réussi
Erreur de récupération de la clé privée sur zephir : ancienne clé publique non reconnue

#9 Updated by Fabrice Barconnière 10 months ago

  • Status changed from Résolu to En cours

#10 Updated by Philippe Caseiro 10 months ago

  • Assigned To changed from Philippe Caseiro to Emmanuel GARETTE

#11 Updated by Emmanuel GARETTE 10 months ago

  • Status changed from En cours to Résolu

#12 Updated by Emmanuel GARETTE 10 months ago

  • % Done changed from 0 to 100

#13 Updated by Fabrice Barconnière 10 months ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF