Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
praveen-pk opened this issue Jun 14, 2021 · 0 comments
Open

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

praveen-pk opened this issue Jun 14, 2021 · 0 comments

Comments

@praveen-pk
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant