Comment 2 for bug 2066989

Revision history for this message
Felipe Figueroa Vergara (felipeafv) wrote :

Here is an example of what I'm doing for VMs created from scratch with the port attached:

1. Create the SR-IOV ports using openstack port create (for each port).
2. Create the server using openstack server create.

With this process, when I create the last VM (which is forced to use the excluded device), it stays in build status for about 6 minutes before failing to create. Checking the Nova compute logs, I see the error "Virtual Interface creation failed."

The other process I use involves creating a single VM and then attaching the SR-IOV ports with the following steps:

1. Create the server using openstack server create.
2. Create the SR-IOV ports using openstack port create (for each port).
3. Attach the ports to the server using openstack server add port.

With this process, I can attach all the SR-IOV virtual functions to the VM, including the one excluded by the exclude_devices directive.

The versions I’m using are:
nova 26.2.3
neutron 21.2.1.dev58