##### VERIFICATION EPOXY UCA ########

# 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 tap0c8de43d-d1 interface already exists"

# With the patch

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


3. Create a new port.

$ openstack port create --network 3198962c-d95d-4f49-86bb-5eff4ff53d63
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 = '1db21890-0e51-41e1-90bc-134e8cadf3b3';


5. Create a VM.

$ openstack server create --flavor m1.small --image cirros-0.4.0 --port
1db21890-0e51-41e1-90bc-134e8cadf3b3 --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-epoxy-needed
** Tags added: verification-epoxy-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