Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Christopher Hauser
OpenStack-Cloud
Commits
69d536af
Commit
69d536af
authored
Nov 03, 2014
by
Jan Siersch
Browse files
moved network fixes to ifup-local
parent
3cb43b8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
+22
-6
installation/networknode/stack.sh
installation/networknode/stack.sh
+0
-6
installation/networknode/sub-install.sh
installation/networknode/sub-install.sh
+22
-0
No files found.
installation/networknode/stack.sh
View file @
69d536af
...
...
@@ -43,12 +43,6 @@ if $doStop; then
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
...
...
installation/networknode/sub-install.sh
View file @
69d536af
...
...
@@ -140,6 +140,7 @@ done
chmod
"755"
$(
find
"/etc/neutron"
-type
d
)
chmod
"640"
$(
find
"/etc/neutron"
-type
f
)
chown
-R
"root:neutron"
"/etc/neutron"
chmod
"700"
"/sbin/ifup-local"
# prerequisite software
echo
"### installing prerequisite software ###"
...
...
@@ -236,6 +237,27 @@ ethtool -K $NETWORKNODE_IF_PBLC gro off
# FIX: checksum errors in "/var/log/messages"
ethtool
-K
$NETWORKNODE_IF_DATA
rx off
# this creates a scripts that will re-apply the network fixes each time the corresponding interface is brought up again
cat
>
/sbin/ifup-local
<<
EOF
#!/bin/bash
if ((
\$
# < 1 )); then
exit 1
fi
case "
\$
1" in
${
NETWORKNODE_IF_PBLC
}
)
/sbin/ethtool -K
\$
1 gro off
;;
${
NETWORKNODE_IF_DATA
}
)
/sbin/ethtool -K
\$
1 rx off
;;
esac
exit 0
EOF
chmod
700 /sbin/ifup-local
# 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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment