Projet

Général

Profil

Tâche #36384

Scénario #36163: Les clients de scribe n'utilisent pas l'heure de l'AD

Messages d'erreur à vérifier/masquer lors de la mise à jour du paquet scribe-ad

Ajouté par Joël Cuissinat il y a environ un an. Mis à jour il y a 11 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
15/01/2025
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Description

Vu sur les jobs daily : https://dev-eole.ac-dijon.fr/jenkins/job/2.10.0/job/day-scribe-2.10.0-amd64/lastFailedBuild/parsed_console/

Il est possible que ces messages n'apparaissent pas si on maj un serveur déjà instancié...

        Préparation du dépaquetage de .../201-scribe-ad_2.10.0-20_all.deb ...

        Failed to stop addc-wait-running.service: Unit addc-wait-running.service not loaded.

        Failed to stop addc-setup-firewall.service: Unit addc-setup-firewall.service not loaded.
        Dépaquetage de scribe-ad (2.10.0-20) sur (2.10.0-13) ...

Révisions associées

Révision 4f9c5531 (diff)
Ajouté par Joël Cuissinat il y a environ un an

logparser: contournement temporaire pour les services addc

Ref: #36384

Révision 96dd9c88 (diff)
Ajouté par Benjamin Bohard il y a environ un an

Ne pas tenter de redémarrer le service (potentiellement inexistant auparavant)

Ref #36384

Révision 00849f99 (diff)
Ajouté par Joël Cuissinat il y a environ un an

Revert "logparser: contournement temporaire pour les services addc"

This reverts commit 4f9c55317815bc9ee3fd3deecb76aff15d4f7036.

Ref: #36384

Révision 4170539e (diff)
Ajouté par Joël Cuissinat il y a environ un an

dh_installsystemd : replace deprecated "--no-restart-on-upgrade" by "--no-stop-on-upgrade"

Ref: #36384

Révision 31947e00 (diff)
Ajouté par Joël Cuissinat il y a environ un an

backport dh_installsystemd options on 2.9.0

Ref: #36384

Historique

#1 Mis à jour par Joël Cuissinat il y a environ un an

Contourné à partir du job Jenkins n°753...

#2 Mis à jour par Joël Cuissinat il y a environ un an

Je suppose que c'est lié au fait que le service EoleCiTestsDaemon ne démarre plus sur les images scribe daily.

root@scribe:/usr/share/eole/diagnose# systemctl is-system-running
starting
root@scribe:/usr/share/eole/diagnose# systemctl list-jobs
JOB UNIT                                 TYPE  STATE  
217 systemd-update-utmp-runlevel.service start waiting
203 EoleCiTestsDaemon.service            start waiting
268 z_stats.service                      start waiting
234 addc-setup-firewall.service          start waiting
173 cloud-init.target                    start waiting
2   multi-user.target                    start waiting
1   graphical.target                     start waiting
174 cloud-final.service                  start waiting
204 addc-wait-running.service            start running
267 bastion.service                      start waiting

10 jobs listed.

#3 Mis à jour par Gilles Grandgérard il y a environ un an

A la fin de l'installation, nous installons les 2 service EoleCiTests.

Le snapshot montre que le process a été arrêté sur le "systemctl enable" ! c'est pas normal. une conf systemd n'est pas correcte à ce moment
CF. : https://dev-eole.ac-dijon.fr/jenkins/job/2.10.0/job/fi-scribe-2.10.0-amd64/lastSuccessfulBuild/artifact/ws/snapshot-3.png

#4 Mis à jour par Benjamin Bohard il y a environ un an

  • Assigné à mis à Benjamin Bohard

#5 Mis à jour par Benjamin Bohard il y a environ un an

  • Statut changé de Nouveau à À valider

Le problème initialement remonté semble corrigé avec l’option --no-restart-on-upgrade passée à dh_installsystemd.

L’autre problème ne me semble pas directement lié à ce problème de packaging et je propose de créer une autre tâche pour le traiter.

#6 Mis à jour par Joël Cuissinat il y a environ un an

D'après https://manpages.debian.org/testing/debhelper/dh_installsystemd.1.en.html#r :

Note that the --no-restart-on-upgrade alias is deprecated and will be removed in compat 14. This is to avoid confusion with the --no-restart-after-upgrade option.

Je vais également rétro-porter cette modification en 2.9.

#7 Mis à jour par Laurent Gourvenec il y a 11 mois

  • Statut changé de À valider à Résolu

#8 Mis à jour par Joël Cuissinat il y a 11 mois

  • Statut changé de Résolu à Fermé
  • % réalisé changé de 0 à 100
  • Restant à faire (heures) mis à 0.0

Formats disponibles : Atom PDF