physical_network_mtus = ${PUBLIC_PHYSICAL_NETWORK}:1440
path_mtu = 1490
+# workaround for port-status not working due to https://bugs.opendaylight.org/show_bug.cgi?id=9092
+[ml2_odl]
+odl_features=nothing
+
[[post-config|/etc/neutron/dhcp_agent.ini]]
[DEFAULT]
force_metadata = True
use_neutron = True
EOF
-# Keep this block after the nova.conf above to ensure it goes in the DEFAULT section
-# Ignore not receiving the vif plugging event by setting the vif_plugging_is_fatal ot false.
-# Due to https://bugs.opendaylight.org/show_bug.cgi?id=9092, the event is not sent.
-# This allows the instance to spawn and neutron and nove to continue processing the vm creation.
-if [ "${OPENSTACK_BRANCH}" == "stable/pike" ]; then
-cat >> ${local_conf_file_name} << EOF
-vif_plugging_timeout = 300
-vif_plugging_is_fatal = false
-EOF
-fi
-
echo "Compute local.conf created:"
cat ${local_conf_file_name}
}
sudo chmod 777 /opt/stack
cd /opt/stack
git clone https://git.openstack.org/openstack-dev/devstack --branch $OPENSTACK_BRANCH
-#To fix the recent tempest/tox issues which blocks stacking
-sudo pip install tox==2.7.0
+cd devstack
+if [ -n "${DEVSTACK_HASH}" ]; then
+ git checkout ${DEVSTACK_HASH}
+fi
+git --no-pager log --pretty=format:'%h %<(13)%ar%<(13)%cr %<(20,trunc)%an%d %s\n%b' -n20
EOF
cat > "${WORKSPACE}/setup_host_cell_mapping.sh" << EOF
create_etc_hosts ${!CONTROLIP}
scp ${WORKSPACE}/hosts_file ${!CONTROLIP}:/tmp/hosts
scp ${WORKSPACE}/get_devstack.sh ${!CONTROLIP}:/tmp
- ${SSH} ${!CONTROLIP} "bash /tmp/get_devstack.sh"
+ ${SSH} ${!CONTROLIP} "bash /tmp/get_devstack.sh > /tmp/get_devstack.sh.txt 2>&1"
create_control_node_local_conf ${!CONTROLIP} ${ODLMGRIP[$i]} "${ODL_OVS_MGRS[$i]}"
scp ${WORKSPACE}/local.conf_control_${!CONTROLIP} ${!CONTROLIP}:/opt/stack/devstack/local.conf
ssh ${!CONTROLIP} "cd /opt/stack/devstack; nohup ./stack.sh > /opt/stack/devstack/nohup.out 2>&1 &"
create_etc_hosts ${!COMPUTEIP} ${!CONTROLIP}
scp ${WORKSPACE}/hosts_file ${!COMPUTEIP}:/tmp/hosts
scp ${WORKSPACE}/get_devstack.sh ${!COMPUTEIP}:/tmp
- ${SSH} ${!COMPUTEIP} "bash /tmp/get_devstack.sh"
+ ${SSH} ${!COMPUTEIP} "bash /tmp/get_devstack.sh > /tmp/get_devstack.sh.txt 2>&1"
create_compute_node_local_conf ${!COMPUTEIP} ${!CONTROLIP} ${ODLMGRIP[$SITE_INDEX]} "${ODL_OVS_MGRS[$SITE_INDEX]}"
scp ${WORKSPACE}/local.conf_compute_${!COMPUTEIP} ${!COMPUTEIP}:/opt/stack/devstack/local.conf
ssh ${!COMPUTEIP} "cd /opt/stack/devstack; nohup ./stack.sh > /opt/stack/devstack/nohup.out 2>&1 &"