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

# Without the patch

Create a port, change the vif_type to tap, create a VM using that port.
VM creation fails with: "ERROR nova.virt.libvirt.guest libvirt.libvirtError: 
Requested operation is not valid: The tapb42654a3-a3 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.6                    
              all          OpenStack Compute - metadata API frontend
ii  nova-common                          3:29.2.0-0ubuntu1.6                    
              all          OpenStack Compute - common files
ii  nova-compute                         3:29.2.0-0ubuntu1.6                    
              all          OpenStack Compute - compute node base
ii  nova-compute-kvm                     3:29.2.0-0ubuntu1.6                    
              all          OpenStack Compute - compute node (KVM)
ii  nova-compute-libvirt                 3:29.2.0-0ubuntu1.6                    
              all          OpenStack Compute - compute node libvirt support
ii  python3-nova                         3:29.2.0-0ubuntu1.6                    
              all          OpenStack Compute Python 3 libraries


3. Create a new port.

$ openstack port create --network eeb40bea-0b22-4dc0-856b-8cb8c8417308
my-patched-tap-port

4. Change the vif_type of that port.

UPDATE ml2_port_bindings
SET vif_type = 'tap',
    host = 'juju-fbe223-verify-sru-9',
    status = 'ACTIVE'
WHERE port_id = '917ae018-548b-425c-8c55-508d55f4dead';

5. Create a VM.

$  openstack server create   --flavor m1.small   --image cirros-0.4.0
--port 917ae018-548b-425c-8c55-508d55f4dead   --key-name my-key   my-
patched-tap-vm

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

| OS-EXT-STS:power_state              | Running                                 
                 |
| OS-EXT-STS:task_state               | None                                    
                 |
| OS-EXT-STS:vm_state                 | active                                  
                 |
| name                                | my-patched-tap-vm                       
                 |


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