Commit 3cb43b8a authored by Jan Siersch's avatar Jan Siersch
Browse files

added fixes for gro and rx into subinstall/stack

parent 9c556367
#!/bin/bash
if (( $# != 1 )); then
echo "usage: $0 [status|start|stop|restart]";
exit 1;
fi
doStop=false;
doStart=false;
doStatus=false;
if [ "$1" == "status" ]; then
doStatus=true;
elif [ "$1" == "start" ]; then
doStart=true;
elif [ "$1" == "stop" ]; then
doStop=true;
elif [ "$1" == "restart" ]; then
doStart=true;
doStop=true;
else
echo "usage: $0 [status|start|stop|restart]";
exit 1;
fi
arr=()
arr+=(openvswitch)
arr+=(neutron-dhcp-agent)
arr+=(neutron-l3-agent)
arr+=(neutron-metadata-agent)
arr+=(neutron-openvswitch-agent)
if $doStatus; then
for i in ${arr[*]}; do
service "$i" status;
done
fi
if $doStop; then
for i in $(echo ${arr[@]} | tr " " "\n" | tac - | tr "\n" " "); do
service "$i" stop;
done
fi
if $doStart; then
# FIX: checksum errors in "/var/log/messages"
ethtool -K eth2 rx off
# FIX: horrible performance when VMs communicate with the outside world
ethtool -K eth0 gro off
for i in ${arr[*]}; do
service "$i" start;
done
fi
......@@ -233,6 +233,9 @@ ovs-vsctl set-manager tcp:${SDNCONTROL_IP_CTRL}:6640
# To temporarily disable GRO on the external network interface while testing your environment:
ethtool -K $NETWORKNODE_IF_PBLC gro off
# FIX: checksum errors in "/var/log/messages"
ethtool -K $NETWORKNODE_IF_DATA rx off
# Due to a packaging bug, the Open vSwitch agent initialization script explicitly looks for the Open vSwitch plug-in
# configuration file rather than a symbolic link /etc/neutron/plugin.ini pointing to the ML2 plug-in configuration file.
# Run the following commands to resolve this issue:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment