Ask Your Question
1

ENABLE_TENANT_TUNNELS, OVS Version check in Compute fails

asked 2013-05-07 01:24:17 -0500

KP gravatar image

updated 2013-05-10 18:38:32 -0500

smaffulli gravatar image

I have two servers, one running control and compute in the same node and another running just compute. Intention is to communicate between VM's running in different servers (in turn hypervisors) using tunnels. I am using Grizzly branch and i use devstack for installation. My localrc has ENABLE_TENANT_TUNNELS=TRUE in both control and compute.

When i run stack.sh in the compute node, i get an error:

 [ERROR] ./stack.sh:54 You are running OVS version 1.11.90. OVS 1.4+ is required for tunneling between multiple hosts.

In Folsom branch, i have seen the same error, and stack.sh had the code as follows. But, in Grizzly, it's probably moved to some python library and i don't know where the code is:

The stack.sh had the following comparison. Either the OVS versioning is not right (after 1.9, it should be 2.0?) or the comparison is wrong. Is that right? Then, is this a bug? Any workarounds?

     if [[ "$OVS_ENABLE_TUNNELING" = "True" ]]; then
         # Verify tunnels are supported
         # REVISIT - also check kernel module support for GRE and patch ports
         OVS_VERSION=`ovs-vsctl --version | head -n 1 | awk '{print $4;}'`
         if [ $OVS_VERSION \< "1.4" ] && ! is_service_enabled q-svc ; then
             echo "You are running OVS version $OVS_VERSION."

Thanks, KP

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-15 05:36:18 -0500

fifieldt gravatar image

Hi,

The code you mentioned still exists. It's in:

https://github.com/openstack-dev/devstack/blob/master/lib/quantum_plugins/openvswitch

This looks like a bug to me. Please report it at https://bugs.launchpad.net/devstack/+filebug which will get the developer's attention.

As a workaround in the meantime, you can consider editing lib/quantum_plugins/openvswitch directly in your devstack directory.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-05-07 01:24:17 -0500

Seen: 341 times

Last updated: May 15 '13