InternalError: Failure running os_vif plugin plug method: No VIF plugin was found with the name ovs
devstack stein with ovs create instence error Failed to build and run instance: InternalError: Failure runn InternalError: Failure running os_vif plugin plug method: No VIF plugin was found with the name ovs
Log:
ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] Traceback (most recent call last):
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/opt/stack/nova/nova/compute/manager.py", line 2353, in _build_and_run_instance
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] block_device_info=block_device_info)
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3204, in spawn
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] destroy_disks_on_failure=True)
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5724, in _create_domain_and_network
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] destroy_disks_on_failure)
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] self.force_reraise()
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] six.reraise(self.type_, self.value, self.tb)
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5683, in _create_domain_and_network
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] self.plug_vifs(instance, network_info)
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 879, in plug_vifs
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] self.vif_driver.plug(instance, vif)
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 734, in plug
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] self._plug_os_vif(instance, vif_obj)
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 714, in _plug_os_vif
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] raise exception.InternalError(msg)
Dec 13 19:36:29 localhost.localdomain nova-compute[25057]: ERROR nova.compute.manager [instance: 4b11ec1f-006f-451c-98d3-112da38f84e2] InternalError: Failure running os_vif plugin plug method: No VIF plugin was found with the name ovs
local.conf
[[local|localrc]]
ADMIN_PASSWORD=password
SERVICE_TOKEN ...
This looks like the cloud configures Openvswitch, although it is not deployed. Perhaps deployment is incomplete only on the node where the instance is scheduled.
Does this happen only once or all the time? How was this cloud created? What is its Neutron and ML2 configuration?
This error is generated by function _plug_os_vif() in https://opendev.org/openstack/nova/sr..., itself called by plug(). Setting the log level to DEBUG should print more information about this problem.
devstack deploy base on https://docs.openstack.org/devstack/latest/guides/neutron.html%EF%BC%8CI've (https://docs.openstack.org/devstack/l...) tried many times, the error is repeated.
So my third question remains: What is its Neutron and ML2 configuration? You could also add the local.conf to your question.
Why don't you use the official devstack repo? This is the third time I see somebody with problems when cloning trystack.cn.