eda6792632
When running in eventlet mode we keep the original eventlet.tpool usage but when running in threading mode we call the functions directly on the thread of the caller. The patch_tpool_proxy() logic is removed from the libvirt driver as it was only needed for python old style classes which is not in use any more in python3 and the issue is not reproducible any more with virConnect even without the patching. ❯ python3 Python 3.12.10 (main, Apr 9 2025, 04:44:59) [GCC 14.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import eventlet >>> eventlet.monkey_patch() >>> from nova.virt.libvirt import host >>> h = host.Host(uri="qemu:///system") >>> h.get_connection() libvirt: error : internal error: could not initialize domain event timer URI qemu:///system does not support events: internal error: could not initialize domain event timer <libvirt.virConnect object at 0x7f829e94c170> >>> c = h.get_connection() >>> str(c) '<libvirt.virConnect object at 0x7f829e94c170>' >>> Signed-off-by: Balazs Gibizer <gibi@redhat.com> Change-Id: Ic60ab78cec2a9f9ba177568b69e738425e56cae1
56 lines
4.1 KiB
Plaintext
56 lines
4.1 KiB
Plaintext
nova.tests.unit.console.rfb.test_authvencrypt.RFBAuthSchemeVeNCryptTestCase.test_security_handshake_fails_on_ssl_failure
|
|
nova.tests.unit.console.rfb.test_authvencrypt.RFBAuthSchemeVeNCryptTestCase.test_security_handshake_without_x509
|
|
nova.tests.unit.console.rfb.test_authvencrypt.RFBAuthSchemeVeNCryptTestCase.test_security_handshake_with_x509
|
|
nova.tests.unit.test_context.ContextTestCase.test_scatter_gather_cells_queued_task_cancelled
|
|
|
|
# Wait until eventlet.Event is removed by https://review.opendev.org/c/openstack/nova/+/949754
|
|
nova.tests.unit.virt.libvirt.test_driver.CacheConcurrencyTestCase.test_different_fname_concurrency
|
|
nova.tests.unit.virt.libvirt.test_driver.CacheConcurrencyTestCase.test_same_fname_concurrency
|
|
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_image_cache_disk_reservation
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree_for_pcpu_reshape
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree_for_vgpu_reshape
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree_for_vpmem
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree_with_cpu_traits
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree_with_file_backed_memory
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree_with_tpm_traits
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree_with_vgpus
|
|
nova.tests.unit.virt.libvirt.test_driver.TestUpdateProviderTree.test_update_provider_tree_zero_total
|
|
nova.tests.unit.virt.libvirt.volume.test_mount.HostMountStateTestCase.test_mount_concurrent
|
|
nova.tests.unit.virt.libvirt.volume.test_mount.HostMountStateTestCase.test_mount_concurrent_no_interfere
|
|
nova.tests.unit.virt.libvirt.volume.test_mount.MountManagerTestCase.test_host_up_waits_for_completion
|
|
nova.tests.unit.virt.vmwareapi.test_vm_util.VMwareVMUtilTestCase.test_create_vm_invalid_guestid
|
|
# Independent failure ~10% with multiple possible error:
|
|
# - sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) not an error
|
|
# - sqlite3.OperationalError: cannot start a transaction within a transaction
|
|
# both triggered at: nova.compute.api.HostAPI._service_get_all_cells
|
|
nova.tests.unit.policies.test_availability_zone.AZScopeTypeNoLegacyPolicyTest.test_availability_zone_detail_policy
|
|
nova.tests.unit.test_availability_zones.AvailabilityZoneTestCases.test_get_availability_zones
|
|
nova.tests.unit.policies.test_availability_zone.AZScopeTypeNoLegacyPolicyTest.test_availability_zone_list_policy
|
|
nova.tests.unit.policies.test_availability_zone.AvailabilityZone
|
|
nova.tests.unit.compute.test_shelve.ShelveComputeAPITestCase.test_unshelve_without_az_to_newaz_and_host
|
|
nova.tests.unit.compute.test_shelve.ShelveComputeAPITestCase.test_unshelve_without_az_to_newaz
|
|
nova.tests.unit.compute.test_shelve.ShelveComputeAPITestCase.test_unshelve_with_az_to_newaz
|
|
nova.tests.unit.api.openstack.compute.test_availability_zone.ServersControllerCreateTestV21.test_create_instance_with_availability_zone
|
|
nova.tests.unit.api.openstack.compute.test_services.ServicesTestV275.test_services_list_with_additional_filter_old_version
|
|
|
|
# This fails also with sqlite3.OperationalError: cannot start a transaction within a transaction but
|
|
# not from nova.compute.api.HostAPI._service_get_all_cells but from the db api
|
|
# _instance_get_by_uuid
|
|
nova.tests.unit.conductor.test_conductor.ConductorTaskRPCAPITestCase.test_evacuate_old_rpc_without_target_state
|
|
|
|
|
|
# This test has an eventlet and a threading version we
|
|
# should either combine them and make the dynamic or
|
|
# have the two variant executed conditionally
|
|
nova.tests.unit.test_rpc.TestRPC.test_get_server
|
|
|
|
# ditto
|
|
nova.tests.unit.test_utils.ExecutorStatsTestCase.test_stats_logged_eventlet
|
|
nova.tests.unit.test_utils.OsloServiceBackendSelectionTestCase.test_eventlet_selected
|
|
|
|
# This is exactly the same test as nova.tests.unit.test_rpc.TestRPC.test_get_server
|
|
# we should delete it
|
|
nova.tests.unit.test_rpc.TestRPC.test_get_server_profiler_enabled
|