OVS agent fails with "ovs-vsctl: unrecognized option '--may-exist'" error trying to create a GRE tunnel

Bug #1227675 reported by Roman Podoliaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Roman Podoliaka

Bug Description

When OVS agent creates a GRE tunnel, it fails with error "ovs-vsctl: unrecognized option '--may-exist'".

Command:

  sudo ovs-vsctl --timeout=2 --may-exist add-port br-tun gre-1

is produced instead of correct one:

  sudo ovs-vsctl --timeout=2 -- --may-exist add-port br-tun gre-1

Please also see http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commit;h=401d5a6d16438ceb2e09c19677b97504593b4b51

Tags: ovs
Changed in neutron:
assignee: nobody → Roman Podolyaka (rpodolyaka)
Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/47401

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/47401
Committed: http://github.com/openstack/neutron/commit/c5bdd78f81b3d8d4e57d917569c543e3cf3d0bf8
Submitter: Jenkins
Branch: master

commit c5bdd78f81b3d8d4e57d917569c543e3cf3d0bf8
Author: Roman Podolyaka <email address hidden>
Date: Thu Sep 19 16:57:49 2013 +0300

    Fix ovs-vsctl call in add_tunnel_port()

    When a new GRE tunnel is created OVS agent calls ovs-vsctl
    incorrectly. Command:

        sudo ovs-vsctl --timeout=2 --may-exist add-port br-tun gre-1

    is produced instead of correct one:

       sudo ovs-vsctl --timeout=2 -- --may-exist add-port br-tun gre-1

    Fixes bug 1227675

    Change-Id: I010961658a37028e41621c4a529b5a14e7587c7f

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → havana-rc1
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.