Projet

Général

Profil

Tâche #36619

Scénario #35990: EOLE 2.10 : Porter les modules Hâpy en 2.10

Correction HP-003-01 - Préparer les configurations Hâpy (2.10.0-RC1)

Ajouté par Daniel Dehennin il y a environ un an. Mis à jour il y a 8 mois.

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

100%

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

Description

Pas №32

L’instance de la machine hapy1 échoue

run-parts: executing /usr/share/eole/posttemplate/00-eole-common instance
Purge log files with non-conventional names
Erased files:

Renamed files:

Untouched files:

Génération des règles de pare-feuiptables v1.8.10 (nf_tables): host/network `hapy1' not found
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.10 (nf_tables): host/network `hapy3' not found
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.10 (nf_tables): host/network `hapy1' not found
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.8.10 (nf_tables): host/network `hapy3' not found
Try `iptables -h' or 'iptables --help' for more information.
run-parts: /usr/share/eole/bastion/data/60-one exited with return code 2
Erreur à l'exécution des scripts de firewall
Erreur à la génération des règles de pare-feu
run-parts: /usr/share/eole/posttemplate/00-eole-common exited with return code 1
Erreur : posttemplate

J’ai fait un patch pour contourner le problème :

--- distrib/resolv.conf 2025-02-20 14:12:36.000000000 +0100
+++ modif/resolv.conf   2025-03-12 17:05:41.481067420 +0100
@@ -49,5 +49,6 @@
 µµµµµµµµµµ We always add the General DNS variable as last fallbacks
 %for %%dns in %%getVar('adresse_ip_dns')
 # General DNS server
+search %%nom_domaine_local
 nameserver %%dns
 %end for

Pas №33

Diagnose retourne des erreurs :

Attention, serveur opérationnel mais des services ne sont pas démarrés :

● onenode.service loaded

*** Paquets installés

Noyau linux : Linux 6.8.0-55-generic => OK

*** Cartes réseau
enp2s0: Speed: Unknown! Duplex: Unknown! (255) Link detected: yes
enp3s0: Speed: Unknown! Duplex: Unknown! (255) Link detected: yes

*** Interfaces
hapy2:          192.168.0.117 => Ok
interface-1: configuration manuelle

*** Services distants
.      Passerelle 192.168.0.1 => Ok
.             DNS 192.168.0.1 => Ok
.                  Statut NTP => Synchronisé
.               Accès distant => Ok

Sur l'interface réseau enp2s0
.                         SSH => Ok
.                  EAD Server => Ok
.                     EAD Web => Ok

*** Virtualisation
.                     libvirt => Erreur

Étrange car

root@hapy:~# systemctl status creoled
● creoled.service - EOLE Creole server
     Loaded: loaded (/usr/lib/systemd/system/creoled.service; enabled; preset: enabled)
     Active: active (running) since Wed 2025-03-12 17:06:16 CET; 6min ago
   Main PID: 8265 (creoled)
      Tasks: 13 (limit: 9427)
     Memory: 56.7M (peak: 59.6M)
        CPU: 3.656s
     CGroup: /system.slice/creoled.service
             └─8265 /usr/bin/python3 /usr/sbin/creoled --pidfile /run/creoled.pid

et

root@hapy:~# systemctl status libvirtd
○ libvirtd.service - libvirt legacy monolithic daemon
     Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/libvirtd.service.d
             └─bastion-dep.conf, libvirtd-tcp.conf
     Active: inactive (dead) since Wed 2025-03-12 17:09:58 CET; 4min 0s ago
   Duration: 2min 59.562s
TriggeredBy: ● libvirtd-admin.socket
             ● libvirtd.socket
             ● libvirtd-tcp.socket
             ● libvirtd-ro.socket
       Docs: man:libvirtd(8)
             https://libvirt.org/
    Process: 12700 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, status=0/SUCCESS)
   Main PID: 12700 (code=exited, status=0/SUCCESS)
        CPU: 250ms

Exécution Squash-TM


Sous-tâches

Tâche #36644: Corriger la résolution DNS en ajoutant le search local.FerméPhilippe Caseiro

Historique

#1 Mis à jour par Daniel Dehennin il y a environ un an

  • Description mis à jour (diff)

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

  • Tâche parente changé de #36477 à #35990

#3 Mis à jour par Philippe Caseiro il y a environ un an

  • Statut changé de Nouveau à En cours

#4 Mis à jour par Philippe Caseiro il y a environ un an

  • Description mis à jour (diff)
  • Assigné à mis à Philippe Caseiro

#5 Mis à jour par Philippe Caseiro il y a environ un an

  • Statut changé de En cours à À valider

#6 Mis à jour par Laurent Gourvenec il y a 10 mois

  • Statut changé de À valider à Résolu

#7 Mis à jour par Joël Cuissinat il y a 10 mois

  • Statut changé de Résolu à Fermé

Formats disponibles : Atom PDF