It turns out I did not have the patch from https://review.opendev.org/c/openstack/os-vif/+/746673/, with that applied stuff comes farther but still does not work:
2021-07-15 14:09:44.821 1888819 ERROR nova.virt.libvirt.guest [req-5b690f1b-4a96-417b-952a-c10975cd4375 bedc4956b93f4d2da5637c739740bd4c 5ee76950b29a44b887faf10d6f084640 - a3d21d016da343458224473db4eeccc5 a3d21d016da343458224473db4eeccc5] Error launching a defined domain with XML: <domain type='kvm'> <name>instance-0000007f</name> <uuid>61442cbb-420b-4e00-9cf7-d332446c3997</uuid> <metadata> <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0"> <nova:package version="21.2.0"/> <nova:name>node-laveran-64</nova:name> <nova:creationTime>2021-07-15 14:09:43</nova:creationTime> <nova:flavor name="m1.large"> <nova:memory>512</nova:memory> <nova:disk>8</nova:disk> <nova:swap>0</nova:swap> <nova:ephemeral>0</nova:ephemeral> <nova:vcpus>8</nova:vcpus> </nova:flavor> <nova:owner> <nova:user uuid="bedc4956b93f4d2da5637c739740bd4c">admin</nova:user> <nova:project uuid="5ee76950b29a44b887faf10d6f084640">admin</nova:project> </nova:owner> <nova:root type="image" uuid="6979a978-6f28-4b4a-b291-b59ca7b904ad"/> </nova:instance> </metadata> <memory unit='KiB'>524288</memory> <currentMemory unit='KiB'>524288</currentMemory> <vcpu placement='static'>8</vcpu> <cputune> <shares>8192</shares> </cputune> <sysinfo type='smbios'> <system> <entry name='manufacturer'>OpenStack Foundation</entry> <entry name='product'>OpenStack Nova</entry> <entry name='version'>21.2.0</entry> <entry name='serial'>61442cbb-420b-4e00-9cf7-d332446c3997</entry> <entry name='uuid'>61442cbb-420b-4e00-9cf7-d332446c3997</entry> <entry name='family'>Virtual Machine</entry> </system> </sysinfo> <os> <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type> <boot dev='hd'/> <smbios mode='sysinfo'/> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-model' check='partial'> <topology sockets='8' cores='1' threads='1'/> </cpu> <clock offset='utc'> <timer name='pit' tickpolicy='delay'/> <timer name='rtc' tickpolicy='catchup'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none' discard='unmap'/> <source file='/var/lib/nova/instances/61442cbb-420b-4e00-9cf7-d332446c3997/disk'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </disk> <controller type='usb' index='0' model='piix3-uhci'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <interface type='hostdev' managed='yes'> <mac address='fa:16:3e:57:89:96'/> <source> <address type='pci' domain='0x0000' bus='0x03' slot='0x08' function='0x2'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <log file='/var/lib/nova/instances/61442cbb-420b-4e00-9cf7-d332446c3997/console.log' append='off'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <log file='/var/lib/nova/instances/61442cbb-420b-4e00-9cf7-d332446c3997/console.log' append='off'/> <target type='serial' port='0'/> </console> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <memballoon model='virtio'> <stats period='10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </memballoon> <rng model='virtio'> <backend model='random'>/dev/urandom</backend> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </rng> </devices> </domain> : libvirt.libvirtError: internal error: Unable to configure VF 0 of PF 'enp3s0f1_16' because the PF is not online. Please change host network config to put the PF online. 2021-07-15 14:09:44.822 1888819 ERROR nova.virt.libvirt.driver [req-5b690f1b-4a96-417b-952a-c10975cd4375 bedc4956b93f4d2da5637c739740bd4c 5ee76950b29a44b887faf10d6f084640 - a3d21d016da343458224473db4eeccc5 a3d21d016da343458224473db4eeccc5] [instance: 61442cbb-420b-4e00-9cf7-d332446c3997] Failed to start libvirt guest: libvirt.libvirtError: internal error: Unable to configure VF 0 of PF 'enp3s0f1_16' because the PF is not online. Please change host network config to put the PF online. 2021-07-15 14:09:44.882 1888819 INFO nova.virt.libvirt.driver [-] [instance: 3077dcdf-215a-48f6-95af-3eff10dd93c0] Instance destroyed successfully.
And obviously 'enp3s0f1_16' is not the PF.
It turns out I did not have the patch from https:/ /review. opendev. org/c/openstack /os-vif/ +/746673/, with that applied stuff comes farther but still does not work:
2021-07-15 14:09:44.821 1888819 ERROR nova.virt. libvirt. guest [req-5b690f1b- 4a96-417b- 952a-c10975cd43 75 bedc4956b93f4d2 da5637c739740bd 4c 5ee76950b29a44b 887faf10d6f0846 40 - a3d21d016da3434 58224473db4eecc c5 a3d21d016da3434 58224473db4eecc c5] Error launching a defined domain with XML: <domain type='kvm'> instance- 0000007f< /name> 61442cbb- 420b-4e00- 9cf7-d332446c39 97</uuid> openstack. org/xmlns/ libvirt/ nova/1. 0"> nova:name> node-laveran- 64</nova: name> nova:creationTi me>2021- 07-15 14:09:43< /nova:creationT ime>
<nova: memory> 512</nova: memory>
<nova: disk>8< /nova:disk>
<nova: swap>0< /nova:swap>
<nova: ephemeral> 0</nova: ephemeral>
<nova: vcpus>8< /nova:vcpus> /nova:flavor> 93f4d2da5637c73 9740bd4c" >admin< /nova:user>
<nova: project uuid="5ee76950b 29a44b887faf10d 6f084640" >admin< /nova:project> 6f28-4b4a- b291-b59ca7b904 ad"/> instance> >524288< /memory> >524288< /currentMemory> 'static' >8</vcpu> 8192</shares> rer'>OpenStack Foundation</entry> >OpenStack Nova</entry> >21.2.0< /entry> >61442cbb- 420b-4e00- 9cf7-d332446c39 97</entry> >61442cbb- 420b-4e00- 9cf7-d332446c39 97</entry> >Virtual Machine</entry> 'pc-i440fx- 4.2'>hvm< /type> 'delay' /> 'catchup' /> destroy< /on_poweroff> restart< /on_reboot> destroy< /on_crash> /usr/bin/ qemu-system- x86_64< /emulator> var/lib/ nova/instances/ 61442cbb- 420b-4e00- 9cf7-d332446c39 97/disk' /> 'fa:16: 3e:57:89: 96'/> var/lib/ nova/instances/ 61442cbb- 420b-4e00- 9cf7-d332446c39 97/console. log' append='off'/> var/lib/ nova/instances/ 61442cbb- 420b-4e00- 9cf7-d332446c39 97/console. log' append='off'/> random' >/dev/urandom< /backend> libvirtError: internal error: Unable to configure VF 0 of PF 'enp3s0f1_16' because the PF is not online. Please change host network config to put the PF online. libvirt. driver [req-5b690f1b- 4a96-417b- 952a-c10975cd43 75 bedc4956b93f4d2 da5637c739740bd 4c 5ee76950b29a44b 887faf10d6f0846 40 - a3d21d016da3434 58224473db4eecc c5 a3d21d016da3434 58224473db4eecc c5] [instance: 61442cbb- 420b-4e00- 9cf7-d332446c39 97] Failed to start libvirt guest: libvirt. libvirtError: internal error: Unable to configure VF 0 of PF 'enp3s0f1_16' because the PF is not online. Please change host network config to put the PF online. libvirt. driver [-] [instance: 3077dcdf- 215a-48f6- 95af-3eff10dd93 c0] Instance destroyed successfully.
<name>
<uuid>
<metadata>
<nova:instance xmlns:nova="http://
<nova:package version="21.2.0"/>
<
<
<nova:flavor name="m1.large">
<
<nova:owner>
<nova:user uuid="bedc4956b
</nova:owner>
<nova:root type="image" uuid="6979a978-
</nova:
</metadata>
<memory unit='KiB'
<currentMemory unit='KiB'
<vcpu placement=
<cputune>
<shares>
</cputune>
<sysinfo type='smbios'>
<system>
<entry name='manufactu
<entry name='product'
<entry name='version'
<entry name='serial'
<entry name='uuid'
<entry name='family'
</system>
</sysinfo>
<os>
<type arch='x86_64' machine=
<boot dev='hd'/>
<smbios mode='sysinfo'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-model' check='partial'>
<topology sockets='8' cores='1' threads='1'/>
</cpu>
<clock offset='utc'>
<timer name='pit' tickpolicy=
<timer name='rtc' tickpolicy=
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none' discard='unmap'/>
<source file='/
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</disk>
<controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<interface type='hostdev' managed='yes'>
<mac address=
<source>
<address type='pci' domain='0x0000' bus='0x03' slot='0x08' function='0x2'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<log file='/
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<log file='/
<target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<memballoon model='virtio'>
<stats period='10'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</memballoon>
<rng model='virtio'>
<backend model='
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</rng>
</devices>
</domain>
: libvirt.
2021-07-15 14:09:44.822 1888819 ERROR nova.virt.
2021-07-15 14:09:44.882 1888819 INFO nova.virt.
And obviously 'enp3s0f1_16' is not the PF.