diff --git a/ansible/roles/wait-for-resources/library/wait_for_resources.py b/ansible/roles/wait-for-resources/library/wait_for_resources.py index aab4967..5f86fcf 100644 --- a/ansible/roles/wait-for-resources/library/wait_for_resources.py +++ b/ansible/roles/wait-for-resources/library/wait_for_resources.py @@ -239,9 +239,12 @@ def are_resources_available(module, specifiers, expected): """ providers_raw = get_providers(module) providers = [] + nova_internal_traits = {'COMPUTE_NET_ATTACH_INTERFACE'} for provider in providers_raw: uuid = provider["uuid"] traits = get_traits(module, uuid) + # Don't include traits assigned by the nova compute driver. + traits = traits - nova_internal_traits inventory = get_inventory(module, uuid) provider = Provider( uuid=uuid,