← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1980382] [NEW] Failed to create server due to "Unexpected vif_type=unbound"

 

Public bug reported:

We just spotted a failure in the python-openstackclient CI [1][2]. A
functional test for the 'openstack server create' failed as it didn't
return any output when we expected it to. Looking at the logs, this is
because the instance failed to create in nova. From n-cpu we see:

    DEBUG nova.network.os_vif_util [None req-f9a5c6a8-ab26-4f1f-ab63-dd518edf32f3 admin admin] No conversion for VIF type unbound yet {{(pid=97953) nova_to_osvif_vif /opt/stack/nova/nova/network/os_vif_util.py:530}}
    ERROR nova.compute.manager [None req-f9a5c6a8-ab26-4f1f-ab63-dd518edf32f3 admin admin] [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f] Instance failed to spawn: nova.exception.InternalError: Unexpected vif_type=unbound
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f] Traceback (most recent call last):
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/compute/manager.py", line 2728, in _build_resources
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     yield resources
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/compute/manager.py", line 2487, in _build_and_run_instance
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     self.driver.spawn(context, instance, image_meta,
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4340, in spawn
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     xml = self._get_guest_xml(context, instance, network_info,
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 7311, in _get_guest_xml
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     conf = self._get_guest_config(instance, network_info, image_meta,
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 6925, in _get_guest_config
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     config = self.vif_driver.get_config(
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 600, in get_config
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     raise exception.InternalError(_('Unexpected vif_type=%s') % vif_type)
    ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f] nova.exception.InternalError: Unexpected vif_type=unbound

Looking at the q-svc logs, we see:

  WARNING neutron.plugins.ml2.plugin
[req-f9a5c6a8-ab26-4f1f-ab63-dd518edf32f3
req-c372ca6e-78a4-4f09-976b-c74d5f169c66 service neutron] Concurrent
port binding operations failed on port
a2fb8af2-d4df-4b29-bd3f-5591aa8819d2

I'm not yet sure whether this is an issue with nova, neutron, or
neutronclient (which is trying retries) but I've reported it against
nova as the place this issue starts.

[1] https://review.opendev.org/c/openstack/python-openstackclient/+/844268
[2] https://zuul.opendev.org/t/openstack/build/b5c09ce1dbdd42228f5f2928d9df6178

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1980382

Title:
  Failed to create server due to "Unexpected vif_type=unbound"

Status in OpenStack Compute (nova):
  New

Bug description:
  We just spotted a failure in the python-openstackclient CI [1][2]. A
  functional test for the 'openstack server create' failed as it didn't
  return any output when we expected it to. Looking at the logs, this is
  because the instance failed to create in nova. From n-cpu we see:

      DEBUG nova.network.os_vif_util [None req-f9a5c6a8-ab26-4f1f-ab63-dd518edf32f3 admin admin] No conversion for VIF type unbound yet {{(pid=97953) nova_to_osvif_vif /opt/stack/nova/nova/network/os_vif_util.py:530}}
      ERROR nova.compute.manager [None req-f9a5c6a8-ab26-4f1f-ab63-dd518edf32f3 admin admin] [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f] Instance failed to spawn: nova.exception.InternalError: Unexpected vif_type=unbound
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f] Traceback (most recent call last):
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/compute/manager.py", line 2728, in _build_resources
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     yield resources
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/compute/manager.py", line 2487, in _build_and_run_instance
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     self.driver.spawn(context, instance, image_meta,
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4340, in spawn
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     xml = self._get_guest_xml(context, instance, network_info,
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 7311, in _get_guest_xml
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     conf = self._get_guest_config(instance, network_info, image_meta,
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 6925, in _get_guest_config
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     config = self.vif_driver.get_config(
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]   File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 600, in get_config
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f]     raise exception.InternalError(_('Unexpected vif_type=%s') % vif_type)
      ERROR nova.compute.manager [instance: db9ae2d6-b717-4bbc-932a-24f5f94dfd8f] nova.exception.InternalError: Unexpected vif_type=unbound

  Looking at the q-svc logs, we see:

    WARNING neutron.plugins.ml2.plugin
  [req-f9a5c6a8-ab26-4f1f-ab63-dd518edf32f3
  req-c372ca6e-78a4-4f09-976b-c74d5f169c66 service neutron] Concurrent
  port binding operations failed on port
  a2fb8af2-d4df-4b29-bd3f-5591aa8819d2

  I'm not yet sure whether this is an issue with nova, neutron, or
  neutronclient (which is trying retries) but I've reported it against
  nova as the place this issue starts.

  [1] https://review.opendev.org/c/openstack/python-openstackclient/+/844268
  [2] https://zuul.opendev.org/t/openstack/build/b5c09ce1dbdd42228f5f2928d9df6178

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1980382/+subscriptions