diff --git a/fuel_test/ci/ci_base.py b/fuel_test/ci/ci_base.py index 1fae44bfa2..432e62d2b4 100644 --- a/fuel_test/ci/ci_base.py +++ b/fuel_test/ci/ci_base.py @@ -146,6 +146,7 @@ class CiBase(object): self.setup_master_node(master_remote, environment.nodes) self.setup_agent_nodes(environment.nodes) only_private_interface(self.quantum_nodes()) + kill_dhcpclient(self.quantum_nodes()) sleep(5) sign_all_node_certificates(master_remote) sleep(5) diff --git a/fuel_test/config/interfaces_quantum_ubuntu.config b/fuel_test/config/interfaces_quantum_ubuntu.config index fcda65867c..123b2dc46c 100644 --- a/fuel_test/config/interfaces_quantum_ubuntu.config +++ b/fuel_test/config/interfaces_quantum_ubuntu.config @@ -8,5 +8,7 @@ iface lo inet loopback # The primary network interface auto eth0 eth1 eth2 iface eth0 inet manual +up ifconfig $IFACE 0.0.0.0 up +down ifconfig $IFACE down iface eth1 inet dhcp iface eth2 inet dhcp \ No newline at end of file diff --git a/fuel_test/helpers.py b/fuel_test/helpers.py index e847bb427c..ac1eb25da6 100644 --- a/fuel_test/helpers.py +++ b/fuel_test/helpers.py @@ -449,6 +449,7 @@ def only_private_interface(nodes): path = '/etc/network/interfaces' write_config(remote, path, load(root('fuel_test', 'config', 'interfaces_quantum_ubuntu.config'))) execute(remote, 'ifup eth0') + execute(remote, 'dhclient eth1') def kill_dhcpclient(nodes):