Tâche #14122
Scénario #8375: impossible de redémarrer le service rvp via zephir
Corriger le script Zéphir de redémarrage du service RVP
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Associated revisions
Correction d'une erreur de syntaxe introduite dans le merge de la branche 8375
ref #14122 @5m
History
#1 Updated by Emmanuel GARETTE over 7 years ago
- Estimated time set to 2.00 h
- Remaining (hours) set to 2.0
#2 Updated by Scrum Master over 7 years ago
- Status changed from Nouveau to En cours
#3 Updated by Scrum Master over 7 years ago
- Assigned To set to Bruno Boiget
#4 Updated by Bruno Boiget over 7 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 2.0 to 0.25
La partie de code spécifique au service rvp est buggée (utilisation de managed_service au lieu de manage_service et devrait utiliser unmanaged_service pour rvp).
Elle n'est de toute façon plus nécessaire dans les versions actuelles (déjà corrigé, mais pas dans service_restart.py : #7711)
#5 Updated by Bruno Boiget over 7 years ago
- Status changed from En cours to Résolu
#6 Updated by Fabrice Barconnière over 7 years ago
- Status changed from Résolu to En cours
#7 Updated by Fabrice Barconnière over 7 years ago
- % Done changed from 100 to 80
Le service rvp ne se relance pas :
root@amon:~# synchro_zephir Demande de synchronisation auprès du service z_stats : ok La synchronisation avec Zéphir est en cours, vous pouvez suivre les transferts UUCP : # tail -f /var/log/uucp/Log Le résultat des éventuelles actions lancées sera disponible dans les fichiers suivants : /var/log/zephir/last_action.log (dernière action exécutée) /var/log/zephir/actions.log (actions précédentes) root@amon:~# cat /var/log/zephir/last_action.log Fri Dec 4 09:16:49 2015 : zephir_client service_restart(rvp) ------------------------------------------------------------- root@amon:~# tail -f /var/log/uucp/Log uucp zephir root (2015-12-04 09:16:42.58 17755) Queuing send of /tmp/site290.tar to ~ uucico zephir - (2015-12-04 09:16:42.59 17756) Calling system zephir (port SSH) uucico zephir - (2015-12-04 09:16:42.77 17756) Login successful uucico zephir - (2015-12-04 09:16:44.78 17756) Handshake successful (protocol 't') uucico zephir root (2015-12-04 09:16:44.78 17756) Sending /tmp/site290.tar (223099 bytes) uucico zephir root (2015-12-04 09:16:44.81 17756) Receiving X.zephirO0001 (72 bytes) uucico zephir - (2015-12-04 09:16:44.82 17756) Call complete (2 seconds 223171 bytes 111585 bps) uuxqt zephir root (2015-12-04 09:16:48.83 17758) Executing X.zephirO0001 (zephir_client service_restart rvp) uuxqt zephir root (2015-12-04 09:16:49.91 17758) ERROR: Execution: Exit status 1 uuxqt zephir root (2015-12-04 09:16:49.91 17758) Execution failed (X.zephirO0001
Je ne sais pas si c'est mon test qui est douteux. J'ai ajouté manuellement les dictionnaires/modules 2.5.2 sur un serveur Zéphir 2.5.1+MàJ dev pour pouvoir enregistrer un Amon 2.5.2.
#8 Updated by Fabrice Barconnière over 7 years ago
- Assigned To changed from Bruno Boiget to Fabrice Barconnière
- Remaining (hours) changed from 0.25 to 1.0
Refaire le test avec l'image 2.5.2.
#9 Updated by Fabrice Barconnière over 7 years ago
Test refait sur des serveurs (Zéphir/Sphynx/Amon) 2.5.2a1 + Maj Dev avec le même résultat :
root@amon:~# tail -f /var/log/uucp/Log uucico zephir - (2015-12-08 11:46:26.14 12700) Call complete (2 seconds 155659 bytes 77829 bps) --------- synchronisation manuelle (synchro_zephir) ---------- uucp zephir root (2015-12-08 13:36:40.16 9977) Queuing send of /tmp/site199.tar to ~ uucico zephir - (2015-12-08 13:36:40.16 9978) Calling system zephir (port SSH) uucico zephir - (2015-12-08 13:36:40.38 9978) Login successful uucico zephir - (2015-12-08 13:36:42.38 9978) Handshake successful (protocol 't') uucico zephir root (2015-12-08 13:36:42.38 9978) Sending /tmp/site199.tar (200621 bytes) uucico zephir root (2015-12-08 13:36:42.42 9978) Receiving X.zephirO0003 (72 bytes) uucico zephir - (2015-12-08 13:36:42.42 9978) Call complete (2 seconds 200693 bytes 100346 bps) uuxqt zephir root (2015-12-08 13:36:46.43 9980) Executing X.zephirO0003 (zephir_client service_restart rvp) uuxqt zephir root (2015-12-08 13:36:47.03 9980) ERROR: Execution: Exit status 1 uuxqt zephir root (2015-12-08 13:36:47.03 9980) Execution failed (X.zephirO0003)
#10 Updated by Fabrice Barconnière over 7 years ago
- Assigned To deleted (
Fabrice Barconnière)
#11 Updated by Fabrice Barconnière over 7 years ago
- % Done changed from 80 to 100
- Remaining (hours) changed from 1.0 to 0.0
OK.
Log /var/log/uucp/Log Amon :
uuxqt zephir root (2015-12-08 16:18:54.94 22988) Executing X.zephirO0005 (zephir_client service_restart rvp)
Log /var/log/rsyslog/local/charon/charon.info.log Amon
2015-12-08T16:18:57.624511+01:00 amon.etb1.lan charon: 00[DMN] signal of type SIGINT received. Shutting down
#12 Updated by Scrum Master over 7 years ago
- Status changed from En cours to Résolu
#13 Updated by Scrum Master over 7 years ago
- Assigned To set to Fabrice Barconnière
- Remaining (hours) changed from 0.0 to 2.0
#14 Updated by Scrum Master over 7 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 2.0 to 0.0