Giter VIP home page Giter VIP logo

Comments (9)

hrushig avatar hrushig commented on July 20, 2024

I did encounter this issue and still searching for the write solution. It looks like there is some debian mismatch issue seen recently. I have workaround for now:

On Reboot, the ip addr does not show OpenVswitch bridges

root@computenode1:~# ovs-vsctl show

May 22 10:44:56|00001|stream_unix|ERR|/tmp/stream-unix.7459.0: connection to /var/run/openvswitch/db.sock failed: No such file or directory

May 22 10:44:56|00002|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)

May 22 10:44:57|00003|stream_unix|ERR|/tmp/stream-unix.7459.1: connection to /var/run/openvswitch/db.sock failed: No such file or directory

May 22 10:44:57|00004|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)

To fix the issue

Set the date correctly
date MMDDHHMM

Uninstall the following modules
apt-get remove openvswitch-switch openvswitch-datapath-dkms quantum-plugin-openvswitch-agent

Reboot
apt-get install openvswitch-switch openvswitch-datapath-dkms quantum-plugin-openvswitch-agent

Reboot

From: leon153 [mailto:[email protected]]
Sent: Wednesday, May 22, 2013 8:25 PM
To: mseknibilel/OpenStack-Grizzly-Install-Guide
Subject: [OpenStack-Grizzly-Install-Guide] Openvswitch agent is not able to work (#60)

Hi, I met a quantum issue:
After install any node, the quantum plugin openvswitch agent service would be working. (Commands “service quantum-plugin-openvswitch-agent status” and “quantum agent-liat” both show fine). However if I reboot the Ubuntu, then this service would be stopped, and couldn’t not enable anymore. Each time issue command “service quantum-plugin-openvswitch-agent start”, /var/log/quantum/openvswitch-agent.log would show:
2013-05-22 22:03:13 ERROR [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Failed to create OVS patch port. Cannot have tunneling enabled on this agent, since this version of OVS does not support tunnels or patch ports. Agent terminated!

Environment:
Server: 3 UCS blade servers, B-series blade server.
OS: Ubuntu precise (12.04.2 LTS)
OpenStack version: Grizzly, quantum.
Quantum plugin: openvswitch, with GRE
I follow this document to install: https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst
Network environment:
Control Node: eth0 (API network) (10.246.60.55), eth1(mgmt) (192.168.0.1), eth2(VM network) (192.168.100.1)
Network Node: eth0 (External network) (10.246.60.56), eth1 (192.168.0.2), eth2 (192.168.100.2)
Compute Node: eth0 (just for my login)(10.246.60.57), eth1 (192.168.0.3), eth2 (192.168.100.3)

Hasn't anyone encountered same issue?


Reply to this email directly or view it on GitHubhttps://github.com//issues/60.

from openstack-grizzly-install-guide.

leon153 avatar leon153 commented on July 20, 2024

Thanks for the workaround. It really works! Thanks again.

from openstack-grizzly-install-guide.

hrushig avatar hrushig commented on July 20, 2024

Just figured out the right way to fix this. After doing apt-get update, apt-get upgrade and apt-get dist-upgrade, we must reboot the node. And, the continue applying the next steps.

from openstack-grizzly-install-guide.

educhoko91 avatar educhoko91 commented on July 20, 2024

I'm having the same issue. I reboot the node after apt-get dist-upgrade. I can't get quantum-plugin-openvswitch-agent running.

[quantum.plugins.openvswitch.agent.ovs_quantum_agent] Failed to create OVS patch port. Cannot have tunneling enabled on this agent, since this version of OVS does not support tunnels or patch ports. Agent terminated!

Check https://ask.openstack.org/en/question/1427/ovs-plugin-error-failed-to-create-ovs-patch-port/

from openstack-grizzly-install-guide.

educhoko91 avatar educhoko91 commented on July 20, 2024

Posibble solution run the command:
service openvswitch-switch force-reload-kmod

from openstack-grizzly-install-guide.

sngirame avatar sngirame commented on July 20, 2024

I have a 3 node PoC setup (controller,compute,network) with grizzly release on ubuntu 12.04. I am also facing the same issue.
I tried the solution mentioned by hrushig & educhoko91 but its still not working.

from openstack-grizzly-install-guide.

R0peE avatar R0peE commented on July 20, 2024

This is a kernel issue, try downgrading to 3.5.0-41, the reinstall the module

from openstack-grizzly-install-guide.

kmadac avatar kmadac commented on July 20, 2024

Here is what helped me to me. Download openvswitch-datapath package from Raring and compile it:

# cd /tmp
# wget http://launchpadlibrarian.net/132679950/openvswitch-datapath-source_1.9.0-0ubuntu1_all.deb
# dpkg -i openvswitch-datapath-source_1.9.0-0ubuntu1_all.deb

# cd /lib/modules/`uname -r`/build/include/linux
# ln -s ../generated/uapi/linux/version.h .

# module-assistant auto-install openvswitch-datapath

from openstack-grizzly-install-guide.

YvesChan avatar YvesChan commented on July 20, 2024

@educhoko91 's solution did work!
I know it's a kernel problem. I'm using Ubuntu 12.04.4, which kernel version is 3.11, but Grizzly version was only support to 2.6-3.5

Newer version of openstack is better...

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.