Skip to content

libvirt doesn't clean up tap devices attached to OVS #95

@praveen-pk

Description

@praveen-pk

I started a VM with the following interface configuration:

<interface type='bridge'>
    <mac address='52:54:00:71:b1:b6'/>
    <source bridge='ovsbr0'/>
    <virtualport type='openvswitch'/>
</interface>

This configuration created a TAP device and attached it to the configured Openvswitch. After the VM is destroyed I see the following:

$ sudo ovs-vsctl show
a94d258b-b2e3-4844-8b00-edc6f4d85ac8
    Bridge "ovsbr0"
        Port "vnet0"
            Interface "vnet0"
                error: "could not open network device vnet0 (No such device)"
        Port "eth1"
            Interface "eth1"
        Port "ovsbr0"
            Interface "ovsbr0"
                type: internal
    ovs_version: "2.12.3"

I have not compared this behavior with Qemu yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions