Skip to main content

Diagnostiquer l’imaging Medulla (PXE, TFTP)

S'applique à : Medulla – Imaging
Version :5.4.3 or later
Environnement: On-Premise
Catégorie: Imaging

1. Récupération au démarrage

Configurez tftp en mode détaillé :
Dans /etc/default/tftpd-hpa, ajouter -v to the TFTP_OPTIONS paramètre et redémarrer le service tftpd-hpa
Dans les journaux TFTP (/var/log/syslog ou journalctl --unit tftpd-hpa --follow), recherchez les lignes suivantes :
in.tftpd[491332]: RRQ from 10.104.108.113 filename bootloader-uefi64/ipxe.efi
in.tftpd[491333]: RRQ from 10.104.108.113 filename bootloader-uefi64/autoexec.ipxe
Si ces lignes n'existent pas, il s'agit d'un problème lié au DHCP.

Pour déboguer TFTP, capturez les trames :
tcpdump -s 0 host <CLIENT_IP> and udp
Pour tester une connexion TFTP :
tftp <SERVER_IP> get bootloader-uefi64/ipxe.efi

2. Accéder au menu de démarrage
Dans les fichiers journaux d'Apache, repérez cette ligne :
"GET /mmc/imaging/bootmenu.php?mac=54:bf:64:5c:77:25&uuid=4c4c4544-0057-3210-8053-c4c04f4b5132&srv=10.104.1.20 HTTP/1.1" 200 3717 "-" "iPXE/1.21.1+ (gdd35
)"
S'il n'existe pas, cela indique un problème d'accès au serveur Apache

3. Récupération de Davos
Dans les journaux Apache, recherchez les lignes suivantes :
"GET /downloads/davos/ipxe.png HTTP/1.1" 404 489 "-" "iPXE/1.21.1+ (gdd35)"
"GET /downloads/davos/vmlinuz HTTP/1.1" 200 15403668 "-" "iPXE/1.21.1+ (gdd35)"
"GET /downloads/davos/initrd.img HTTP/1.1" 200 64921280 "-" "iPXE/1.21.1+ (gdd35)"
"GET /downloads/davos/fs.squashfs HTTP/1.1" 200 1041178859 "-" "Wget"

Si elles n'existent pas, il s'agit d'un problème d'accès au serveur Apache


Une fois ces étapes vérifiées, consultez la section « Débogage de Davos »
Si vous ne trouvez pas l'option d'enregistrement lorsque vous accédez au menu PXE, vérifiez les lignes suivantes dans les journaux tftpd-hpa :
Dans les journaux tftp (/var/log/syslog ou journalctl --unit tftpd-hpa --follow), recherchez ces lignes :

in.tftpd[357001]: tftp: client does not accept options

Si cette ligne s'affiche, redémarrez votre service tftpd-hpa

systemctl restart tftpd-hpa

Si le problème persiste, vérifiez s'il existe un service tftpd-hpa fantôme et redémarrez votre serveur. Redémarrez ensuite à nouveau le service tftpd-hpa.