From fb5e17ca8cf2cab06c93a8a0a5949e3fea88b87d Mon Sep 17 00:00:00 2001 From: Sergey Kolekonov Date: Thu, 20 Nov 2014 12:56:36 +0300 Subject: [PATCH] Create br-int for OVS agent tests OVS agent requires default bridge (br-int) to work properly Change-Id: I62dc2fe4f907f203af6aaec3d7fdfed5966e3a3d --- tests/runtests.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/runtests.sh b/tests/runtests.sh index d123ae16c..a730baa8f 100755 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -21,9 +21,9 @@ install_packages() { then echo "mysql-server mysql-server/root_password select $MYSQL_PASS" | debconf-set-selections echo "mysql-server mysql-server/root_password_again select $MYSQL_PASS" | debconf-set-selections - apt-get install -y --force-yes rabbitmq-server mysql-server mysql-client-core-5.5 python-mysqldb keystone + apt-get install -y --force-yes rabbitmq-server mysql-server mysql-client-core-5.5 python-mysqldb keystone bridge-utils else - yum install -y openstack-keystone rabbitmq-server mysql-server MySQL-client python-oslo-utils + yum install -y openstack-keystone rabbitmq-server mysql-server MySQL-client python-oslo-utils bridge-utils #Install some plugins because they are required for db-migration scripts (bug #1371184) #Ubuntu neutron-server package include them yum install -y openstack-neutron-bigswitch openstack-neutron-brocade openstack-neutron-cisco openstack-neutron-hyperv openstack-neutron-vmware openstack-neutron-openvswitch \ @@ -141,6 +141,9 @@ EOF cat /var/log/rabbitmq/startup_err cat /var/log/rabbitmq/startup_log done + + #br-int is required for OVS agent + brctl addbr br-int } upgrade_neutron_db () { -- 2.45.2