Tâche #23868
Scénario #23867: Stabilisation du module ScribeAD
Lorsque le service networking est redémarré à l'instance ou au reconfigure, le DNS du conteur addc ne fonctionne plus
Remaining (hours):
0.0
Description
Lors de la première instance, le DNS est fonctionnel avant l'étape suivante :
------------------------------------------------------------------------ Démarrage des services ------------------------------------------------------------------------ Start network service networking
Il ne l'est plus après.
C'est OK si on redémarre le serveur mais cela se reproduit si on exécute un reconfigure !
root@scribe:~# /usr/share/eole/diagnose/04-network *** Cartes réseau ens4: Speed: Unknown! Duplex: Unknown! (255) Link detected: yes *** Interfaces scribe: 192.168.0.26 => Ok *** Services distants . Passerelle 192.168.0.1 => Ok . DNS 192.0.2.2 => Erreur . DNS 192.0.2.2 => Erreur . DNS 192.168.232.2 => Ok
Un redémarrage du service lxc-net résoud le problème.
Related issues
Associated revisions
Correct bridge name in /etc/lxc/default.conf
ref: #23868
Disabling lxcbr0, restarting lxc-net in postservice if instance
ref: #23868
ETH0 variable become NOM_CARTE
Remove /dev/null redirection in postservice
ref: #23868
Always restart lxc-net
ref: #23868
History
#1 Updated by Joël Cuissinat over 5 years ago
- Copied from Tâche #23827: La génération du conteneur n'est plus fonctionnelle sur aca.scribe déjà instancié added
#2 Updated by Scrum Master over 5 years ago
- Status changed from Nouveau to En cours
- Start date set to 05/15/2018
#3 Updated by Scrum Master over 5 years ago
- Subject changed from Lorsque le service networking est redémarré à l'instance ou au reconfigure, le DNS du conteur addc ne fonctionne plus to Lorsque le service networking est redémarré à l'instance ou au reconfigure, le DNS du conteur addc ne fonctionne plus
- Assigned To set to Laurent Flori
#4 Updated by Laurent Flori over 5 years ago
On peut changer le script scribead avec:
systemctl stop lxc-net ip link del lxcbr0 sed -i 's/lxc.network.link.*/lxc.network.link = br0/' /etc/lxc/default.conf systemctl restart lxc-net
mais il faut redémarrer le service lxc-net après l'instance
#5 Updated by Joël Cuissinat over 5 years ago
- Status changed from En cours to Résolu
#6 Updated by Fabrice Barconnière over 5 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 3.0 to 0.0
DNS OK après instance, reconfigure et reboot.
#7 Updated by Scrum Master over 5 years ago
- Status changed from Résolu to Fermé