OpenStack Compute (Nova)

libvirt OVS vif-plugging broken on Red Hat / Fedora

Reported by dan wendlandt on 2012-02-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
dan wendlandt

Bug Description

Existing OVS vif-plugging for libvirt uses tap devices along with <interface type="ethernet"> while running ovs-vsctl outside of libvirt.

This is OK on Ubuntu, but doing this on RHEL/Fedora requires privilege tweaks (e.g., running qemu as root, not dropping capabilities), may not be acceptable for production deployments (see: http://fedoraproject.org/wiki/How_to_debug_Virtualization_problems#Errors_using_.3Cinterface_type.3D.27ethernet.27.2F.3E ).

A new patch to be included in libvirt 0.9.11 is meant to address this issue by having a more integrated approach to OVS + libvirt. We should add support for this type of vif-plugging in Nova.

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

Changed in nova:
assignee: nobody → dan wendlandt (danwent)
status: New → In Progress

Reviewed: https://review.openstack.org/4441
Committed: http://github.com/openstack/nova/commit/9d7346eaaee370055a686324ad63814e34eed0cf
Submitter: Jenkins
Branch: master

commit 9d7346eaaee370055a686324ad63814e34eed0cf
Author: Dan Wendlandt <email address hidden>
Date: Wed Feb 22 22:02:01 2012 -0800

    libvirt vif-plugging fixes. Fixes bug 939252 , bug 939254

    - fix OVS vif-plugging on red hat / fedora by supporting recent libvirt
    change that provides OVS + libvirt integration.
    - Create unit tests that provide coverage for all libvirt vif drivers
    - Correctly set vm-uuid flag in existing OVS vif-plugging mechanism.

    Change-Id: I29eeeda92d44a1c026d1c17cf169a1bf2b5a0cc1

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers