Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error when deleting hcloud_primary_ip with auto_delete #585

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

apricote
Copy link
Member

@apricote apricote commented Nov 8, 2022

This error sometimes happened if the primary_ip was deleted faster in the API (through auto deletion when the server was deleted) than in Terraform.

This caused a flaky e2e test TestPrimaryIPResource_with_server as well as the issue described in #579 (comment).

This error sometimes happened if the primary_ip was deleted faster in the API
than in Terraform.

This sometimes caused a flaky e2e test `TestPrimaryIPResource_with_server`,
and was excerbarated by the recent changes made to the server delete code,
where we now wait for the IP to report that is is not assigned, before allowing
any further resource deletions.
@apricote apricote added the bug label Nov 8, 2022
@apricote apricote self-assigned this Nov 8, 2022
@apricote apricote merged commit a192455 into main Nov 8, 2022
@apricote apricote deleted the fix-flaky-delete-primary-ip branch November 8, 2022 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants