GithubHelp home page GithubHelp logo

Comments (3)

mtasic85 avatar mtasic85 commented on August 11, 2024

I have resolved unreliable network issue. Problem was with Realtek driver! Automatically, r8169 was loaded for both eth0 and eth1 interfaces. This driver has given me so much headache. For some reason it completely stops every network interface on compute nodes, so script from above post restarts them on failure. This is unacceptable.

Unfortunately, r8168 does not come with ubuntu 12.04.3 kernel 3.2, so I had to manually build and install it following this tutorial: http://djlab.com/2010/10/fixing-rtl8111-8168b-driver-debian-ubuntu/

Now, I have r8168 loaded for eth0, and r8169 for eth1. Script from previous post is not required anymore.

Still need to test reliability of whole system. I will do more stress test next couple of days and let you know what is going on.

from openstack-grizzly-install-guide.

mtasic85 avatar mtasic85 commented on August 11, 2024

Unfortunately, r8168 and r8169 are terrible drivers/modules from my experience. People complain all over the Internet for last 5 years about it. Many suggested upgrading kernel to latest, but since OVS 1.4.0 and kernel 3.2 are only available at the moment for ubuntu 12.04.3, we will be forced to stay on it. Script from original question works very well, so anyone can use it. We use it.

In script from initial questions, we even tried using "ip link set mtu 1400 dev eth0" and "ip link set mtu 1600 dev eth0", instead of "ifconfig eth0 down" and "ifconfig eth0 up". But, after some time it stops working.

My next direction will be to to install isolated Grizzly with only 3 machines, and try to use latest kernel on 12.04.3 available and make OVS work.

I read almost every possible guide for last 4 versions of OpenStack, and I cannot find any specific setting which in OpenStack can cause network interface to go down, so I can conclude that problem is not in OpenStack.

I know it does not have to anything with official guide, but I see complains all over the forums, and discussions are always getting to dead end. I will keep you posted anyway until we find solution to this problem.

from openstack-grizzly-install-guide.

mtasic85 avatar mtasic85 commented on August 11, 2024

Finally good news,

I have managed to resolve this issue. Indeed, kernel module r8168/r8169 caused all problems. To resolve this update Linux Kernel to 3.8 and OVS to 1.9.0, but there is a catch, so follow next instructions.

Kernel and OVS

On Controller, Network and all Compute nodes do following:

# apt-get -y update
# apt-get -y upgrade
# apt-get -y dist-upgrade

# apt-get install linux-image-generic-lts-raring linux-headers-generic-lts-raring

# update-grub
# update-grub2

# reboot

# apt-get install -y openvswitch-datapath-lts-raring-source
# apt-get install -y module-assistant
# module-assistant prepare
# cd /lib/modules/`uname -r`/build/include/linux
# ln -s ../generated/uapi/linux/version.h .
# module-assistant auto-install openvswitch-datapath-lts-raring

# reboot

References:

OVS and DHCP

Once net0 and all compX machines are installed and configured, stop quantum services on net0 and compX machines.

On net0:

# cd /etc/init.d/; for i in $( ls quantum-* ); do sudo service $i stop; done

On all compX:

# cd /etc/init.d/; for i in $( ls quantum-* ); do sudo service $i stop; done

On ctrl0:

# mysql -u root -p
> use quantum;
> select * from ovs_tunnel_endpoints;
> delete from ovs_tunnel_endpoints;

On net0:

# ovs-vsctl list-br

# ovs-vsctl del-br br-ex
# ovs-vsctl del-br br-int
# ovs-vsctl del-br br-tun

# ovs-vsctl add-br br-int
# ovs-vsctl add-br br-ex
# ovs-vsctl add-port br-ex eth1

# ovs-vsctl list-br

# cd /etc/init.d/; for i in $( ls quantum-* ); do sudo service $i restart; done

# ovs-vsctl list-br

On all compX machines:

# cd /etc/init.d/; for i in $( ls quantum-* ); do sudo service $i restart; done

Then Hard Restart all instances.

References:

from openstack-grizzly-install-guide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.