Tâche #18610
Scénario #18373: Traitement express MEN (1-3)
Tous les types d’interfaces ne supportent pas le bonding et le bonding n’est pas géré pour toutes les options
Restant à faire (heures):
0.0
Description
Lors du passage de la maquette project:Hapy 2.6.0 en 2.6.1 (-unstable), la configuration réseau est cassée :
auto [u'enp2s0f0']
iface [u'enp2s0f0'] inet manual
pre-up ip link set $IFACE up
post-down ip link set $IFACE down
auto [u'enp2s0f1']
iface [u'enp2s0f1'] inet manual
pre-up ip link set $IFACE up
post-down ip link set $IFACE down
up service rsyslog restart
De plus l’option debit_carte_ethX ne supporte pas le bonding :
auto enp3s0
iface enp3s0 inet static
address 192.168.230.13
netmask 255.255.255.0
broadcast 192.168.230.255
network 192.168.230.0
gateway 192.168.230.254
pre-up ethtool -s [u'enp3s0'] speed 10 duplex half autoneg off
Demandes liées
Révisions associées
Gérer le bonding pour les interfaces manuelles
Cela permet à Hâpy d’intégrer une interface de bonding aux bridges.
- creole/funcs/master_network_interfaces.py (_gen_unmanage_interface):
Intégration des options de bonding et remplacement de
« nom_carte_ethX » par « nom_zone_ethX ».
Ref: #18610
L’option « debit_carte ethX » ne supporte pas le bonding
- creole/funcs/master_network_interfaces.py (_gen_physical_interface):
Remplacement de « nom_carte_ethX » par « nom_zone_ethX » et
suppression de la variable inutile.
Ref: #18610
Historique
#1 Mis à jour par Daniel Dehennin il y a environ 9 ans
- Projet changé de Distribution EOLE à eole-common
- Sujet changé de Les interfaces en mode manuel ne supporte pas le bonding à Les interfaces en mode manuel ne supportent pas le bonding
- Statut changé de Nouveau à En cours
- Assigné à mis à Daniel Dehennin
#2 Mis à jour par Daniel Dehennin il y a environ 9 ans
- Sujet changé de Les interfaces en mode manuel ne supportent pas le bonding à Tous les types d’interfaces ne supportent pas le bonding et le bonding n’est pas géré pour toutes les options
- Description mis à jour (diff)
#3 Mis à jour par Scrum Master il y a environ 9 ans
- Projet changé de eole-common à Distribution EOLE
- Statut changé de En cours à Résolu
#4 Mis à jour par Daniel Dehennin il y a environ 9 ans
- % réalisé changé de 0 à 100
#5 Mis à jour par Daniel Dehennin il y a environ 9 ans
- Restant à faire (heures) changé de 2.0 à 0.25
#6 Mis à jour par Daniel Dehennin il y a environ 9 ans
Tout n’est pas supporté sur le module Hâpy :
/usr/share/eole/postservice/29-ovs-mng:
Open vSwitch configuration
Virtual switch vswitch already exist
Cleaning port for interface enp3s0
Cleaning port for interface enp2s0f0
Cleaning port for interface enp2s0f1
Cleaning port for interface enp5s1f1
Cleaning port for interface enp5s1f0
error running command [ovs-vsctl -- --may-exist add-port vswitch bond2 name=pedago vlan_mode=access tag=20]
Traceback (most recent call last):
File "/usr/share/eole/postservice/29-ovs-mng", line 185, in create_port
raise RunCmdError(msg)
RunCmdError: error running command [ovs-vsctl -- --may-exist add-port vswitch bond2 name=pedago vlan_mode=access tag=20]
port internet created
Le nettoyage du port ne prend pas en charge les interfaces de bonding eole-openvswitch:source:postservice/29-ovs-mng@62e7665#L233
#7 Mis à jour par Daniel Dehennin il y a environ 9 ans
- Projet changé de Distribution EOLE à eole-common
#8 Mis à jour par Daniel Dehennin il y a environ 9 ans
- Copié vers Tâche #18689: Le bonding doit être fonctionnel sur les modules Hâpy* ajouté
#9 Mis à jour par Joël Cuissinat il y a environ 9 ans
root@hapy:~# ovs-vsctl show
253bc268-8333-4b6e-8e18-11f0d8fa2f60
Bridge vswitch
Port vswitch
Interface vswitch
type: internal
Port aca
Interface "bond1"
ovs_version: "2.5.0"
#10 Mis à jour par Joël Cuissinat il y a environ 9 ans
- Projet changé de eole-common à Distribution EOLE
- Statut changé de Résolu à Fermé
- Restant à faire (heures) changé de 0.25 à 0.0