##### VERIFICATION NOBLE ########

# Without the patch

Create a port, change the vif_type to tap, create a VM using that port.
VM creation fails with:
2026-06-23 11:19:33.527 41625 ERROR nova.virt.libvirt.guest 
libvirt.libvirtError: Requested operation is not valid: The tapfe829895-85 
interface already exists


# With the patch

1. Enable proposed repository.

2. Install the package with the fix from proposed.
ii  nova-api-metadata                    3:29.2.0-0ubuntu1.8                    
              all          OpenStack Compute - metadata API frontend
ii  nova-common                          3:29.2.0-0ubuntu1.8                    
              all          OpenStack Compute - common files
ii  nova-compute                         3:29.2.0-0ubuntu1.8                    
              all          OpenStack Compute - compute node base
ii  nova-compute-kvm                     3:29.2.0-0ubuntu1.8                    
              all          OpenStack Compute - compute node (KVM)
ii  nova-compute-libvirt                 3:29.2.0-0ubuntu1.8                    
              all          OpenStack Compute - compute node libvirt support
ii  python3-nova                         3:29.2.0-0ubuntu1.8                    
              all          OpenStack Compute Python 3 libraries

3. Create a new port.

$ openstack port create --network 260d347d-13f3-49f1-bcf5-35e05e31c824
my-patched-tap-port

4. Change the vif_type of that port.

UPDATE ml2_port_bindings
SET vif_type = 'tap',
    host = 'juju-771c0c-fresh-verify-sru-9',
    status = 'ACTIVE'
WHERE port_id = '8f5a0cca-bcbc-4690-a2a8-aaf712b2d47d';

5. Create a VM.

$ openstack server create --flavor m1.small --image cirros --port
8f5a0cca-bcbc-4690-a2a8-aaf712b2d47d --key-name my-key my-patched-tap-vm

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

+-------------------------------------+----------------------------------------------------------+
| Field                               | Value                                   
                 |
+-------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                                  
                 |
| OS-EXT-AZ:availability_zone         | nova                                    
                 |
| OS-EXT-SRV-ATTR:host                | juju-771c0c-fresh-verify-sru-9          
                 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | juju-771c0c-fresh-verify-sru-9          
                 |
| OS-EXT-SRV-ATTR:instance_name       | instance-00000003                       
                 |
| OS-EXT-STS:power_state              | Running                                 
                 |
| OS-EXT-STS:task_state               | None                                    
                 |
| OS-EXT-STS:vm_state                 | active                                  
                 |
| OS-SRV-USG:launched_at              | 2026-06-23T11:30:29.000000              
                 |
| OS-SRV-USG:terminated_at            | None                                    
                 |
| accessIPv4                          |                                         
                 |



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

-- 
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