Projet

Général

Profil

Tâche #36619

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

h3. Pas №32

L’instance de la machine *@hapy1@* échoue



<pre>
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
</pre>

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

<pre><code class="diff">
--- 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
</code></pre>



h3. Pas №33

Diagnose retourne des erreurs :

<pre>
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
</pre>

Étrange car

<pre>
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
</pre>

et

<pre>
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
</pre>

h3.
Exécution Squash-TM

* https://dev-eole.ac-dijon.fr/squash/executions/15450

Retour