Tempest test fails with message: Unexpected vif_type=binding_failed

Bug #1990168 reported by Konstantinos Kaskavelis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
New
Undecided
Unassigned

Bug Description

Solutions QA team has a failed test run caused by a failing tempest test (test_resize_server_revert):

From the report:

 tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert

Traceback (most recent call last):
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-e09ceb00-f6c0-45ea-aba2-085efe1eea95/repo/tempest/api/compute/servers/test_server_actions.py", line 419, in test_resize_server_revert
    waiters.wait_for_server_status(self.client, self.server_id, 'ACTIVE')
  File "/home/ubuntu/snap/fcbtest/29/.rally/verification/verifier-e09ceb00-f6c0-45ea-aba2-085efe1eea95/repo/tempest/common/waiters.py", line 76, in wait_for_server_status
    server_id=server_id)
tempest.exceptions.BuildErrorException: Server 0f25cc38-6c55-46e9-83f8-ef28d588146d failed to build and is in ERROR status
Details: {'code': 500, 'created': '2022-09-19T07:20:35Z', 'message': 'Unexpected vif_type=binding_failed'}

In nova-compute logs we see:

2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [req-32ff9f7e-9759-4b3d-8f2f-9409af11a4f3 396085b9286243d9896685976880bd17 ce7fbed583e349858f12a76cca66b621 - 5a94dbaf9e214bb6af58b37b591e910d 5a94dbaf9e214bb6af58b37b591e910d] [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] Setting instance vm_state to ERROR: nova.exception.InternalError: Unexpected vif_type=binding_failed
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] Traceback (most recent call last):
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] File "/usr/lib/python3/dist-packages/nova/compute/manager.py", line 10353, in _error_out_instance_on_exception
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] yield
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] File "/usr/lib/python3/dist-packages/nova/compute/manager.py", line 5085, in _finish_revert_resize
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] self.driver.finish_revert_migration(
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 11506, in finish_revert_migration
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] xml = self._get_guest_xml(context, instance, network_info, disk_info,
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 7300, in _get_guest_xml
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] conf = self._get_guest_config(instance, network_info, image_meta,
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] File "/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 6914, in _get_guest_config
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] config = self.vif_driver.get_config(
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] File "/usr/lib/python3/dist-packages/nova/virt/libvirt/vif.py", line 600, in get_config
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] raise exception.InternalError(_('Unexpected vif_type=%s') % vif_type)
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d] nova.exception.InternalError: Unexpected vif_type=binding_failed
2022-09-19 07:20:34.642 703787 ERROR nova.compute.manager [instance: 0f25cc38-6c55-46e9-83f8-ef28d588146d]

Test run:

https://solutions.qa.canonical.com/testruns/testRun/ebf64759-5063-4b27-9ce9-63aae938f3fc

Tempest report:

https://oil-jenkins.canonical.com/artifacts/ebf64759-5063-4b27-9ce9-63aae938f3fc/generated/generated/openstack/tempest_result.html

Logs:

https://oil-jenkins.canonical.com/artifacts/ebf64759-5063-4b27-9ce9-63aae938f3fc/index.html

Tags: cdo-tempest
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.