##### VERIFICATION FLAMINGO UCA ########

# Without the patch

Create a port, change the vif_type to tap, create a VM using that port.
VM creation fails with:
2026-07-27 11:57:49.937 37545 ERROR nova.virt.libvirt.guest 
libvirt.libvirtError: Requested operation is not valid: The tap92b16d78-d8 
interface already exists

# With the patch

1. Enable proposed repository.

2. Install the package with the fix from proposed.
ii  nova-api-metadata                    3:32.0.0-0ubuntu1.3~cloud1             
          all          OpenStack Compute - metadata API frontend
ii  nova-common                          3:32.0.0-0ubuntu1.3~cloud1             
          all          OpenStack Compute - common files
ii  nova-compute                         3:32.0.0-0ubuntu1.3~cloud1             
          all          OpenStack Compute - compute node base
ii  nova-compute-kvm                     3:32.0.0-0ubuntu1.3~cloud1             
          all          OpenStack Compute - compute node (KVM)
ii  nova-compute-libvirt                 3:32.0.0-0ubuntu1.3~cloud1             
          all          OpenStack Compute - compute node libvirt support
ii  python3-nova                         3:32.0.0-0ubuntu1.3~cloud1             
          all          OpenStack Compute Python 3 libraries
ii  python3-novaclient                   2:18.11.0-0ubuntu1~cloud0              
          all          client library for OpenStack Compute API - 3.x


3. Create a new port.

$ openstack port create --network 101c1d77-4321-4d7a-b2e4-5d06dcb907b7
my-patched-tap-port

4. Change the vif_type of that port.

UPDATE ml2_port_bindings
SET vif_type = 'tap',
    host = 'juju-bd582e-flamingo2-9',
    status = 'ACTIVE'
WHERE port_id = 'bacbd4b7-c846-4198-bbf1-bf47dbbae8b6';

5. Create a VM.

$ openstack server create --flavor m1.small --image cirros --port
bacbd4b7-c846-4198-bbf1-bf47dbbae8b6 --key-name my-key my-patched-tap-vm

6. VM is able to start and is in ACTIVE state.

| 1f4f3d57-9626-4abb-a334-458bca4a7359 | my-patched-tap-vm | ACTIVE |
private=192.168.21.44 | cirros | m1.small |


** Tags removed: verification-flamingo-needed
** Tags added: verification-flamingo-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2033681

Title:
  Calico still uses vif type tap and it causes failures with libvirt
  9.5.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2033681/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to