lpouillo / vm5k

A Python module to help you to manage virtual machines on the Grid'5000 platform
https://www.grid5000.fr/
Other
6 stars 4 forks source link

Unable to setup the bridge #41

Closed badock closed 11 years ago

badock commented 11 years ago

description

I have taken the last version of vm5k. There is a problem during the configuration of the bridge: (complete log file is located on Rennes: /home/jpastor/vm5k/parapluie_error.log )

partial log

2013-10-25 01:09:27,018 execo ERROR: Unable to setup the bridge Traceback (most recent call last): File "./vm5k.py", line 500, in setup.configure_libvirt(n_vm) File "/home/jpastor/.local/lib/python2.7/site-packages/execo_g5k/vmutils/deployment.py", line 227, in configure_libvirt self.create_bridge() File "/home/jpastor/.local/lib/python2.7/site-packages/execo_g5k/vmutils/deployment.py", line 295, in create_bridge raise ActionsFailed, [create_br] execo.exception.ActionsFailed: - failed action(s): <TaktukRemote('export br_if=ip route |grep default |cut -f 5 -d " "; echo " " >> /etc/network/interfaces ; echo "auto br0" >> /etc/network/interfaces ; echo "iface br0 inet dhcp" >> /etc/network/interfaces ; echo "bridge_ports $br_if" >> /etc/network/interfaces ; echo "bridge_stp off" >> /etc/network/interfaces ; echo "bridge_maxwait 0" >> /etc/network/interfaces ; echo "bridge_fd 0" >> /etc/network/interfaces ; ifup br0', [Host('parapluie-10-kavlan-4.rennes.grid5000.fr'), Host('parapluie-11-kavlan-4.rennes.grid5000.fr'), Host('parapluie-12-kavlan-4.rennes.grid5000.fr'), Host('parapluie-13-kavlan-4.rennes.grid5000.fr'), Host('parapluie-14-kavlan-4.rennes.grid5000.fr'), Host('parapluie-15-kavlan-4.rennes.grid5000.fr'), Host('parapluie-16-kavlan-4.rennes.grid5000.fr'), Host('parapluie-17-kavlan-4.rennes.grid5000.fr'), Host('parapluie-19-kavlan-4.rennes.grid5000.fr'), Host('parapluie-22-kavlan-4.rennes.grid5000.fr'), Host('parapluie-23-kavlan-4.rennes.grid5000.fr'), Host('parapluie-25-kavlan-4.rennes.grid5000.fr'), Host('parapluie-26-kavlan-4.rennes.grid5000.fr'), Host('parapluie-28-kavlan-4.rennes.grid5000.fr'), Host('parapluie-3-kavlan-4.rennes.grid5000.fr'), Host('parapluie-30-kavlan-4.rennes.grid5000.fr'), Host('parapluie-31-kavlan-4.rennes.grid5000.fr'), Host('parapluie-32-kavlan-4.rennes.grid5000.fr'), Host('parapluie-9-kavlan-4.rennes.grid5000.fr')], connection_params={'user': 'root'}, name=export br_if=ip route |grep default |cut -f 5 -d " "; echo " " >> /etc/network/interfaces ; echo "auto br0" >> /etc/network/interfaces ; echo "iface br0 inet dhcp" >> /etc/network/interfaces ; echo "bridge_ports $br_if" >> /etc/network/interfaces ; echo "bridge_stp off" >> /etc/network/interfaces ; echo "bridge_maxwait 0" >> /etc/network/interfaces ; echo "bridge_fd 0" >> /etc/network/interfaces ; ifup br0, started=True, start_date='2013-10-25 01:09:25+02:00', ended=True, end_date='2013-10-25 01:09:26+02:00', num_processes=19, num_started=19, num_ended=19, num_timeouts=0, num_errors=1, num_forced_kills=0, num_non_zero_exit_codes=1, num_ok=18, num_finished_ok=18, ok=False)>

Thanks!

lpouillo commented 11 years ago

Le bug ne se produit pas avec l'environnement de base, je fais un essai avec ton env

lpouillo commented 11 years ago

Je n'arrive pas a reproduire avec ton env, je ferme. N'hesite pas a reouvrir si besoin