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 Network re-creation in machinebroker #886

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

afritzler
Copy link
Member

Proposed Changes

Remove the network provider ID from the waiters map once an emit successuflly finished. This solves the problem that in case the Network has been removed (e.g. via network GC controller), it is never recreated. This causes a problem when brokering Machine and NIC resources as the OwnerRef can not be set on a non existing Network resource.

@afritzler afritzler requested a review from a team as a code owner October 16, 2023 12:51
@github-actions github-actions bot added size/M bug Something isn't working labels Oct 16, 2023
@afritzler afritzler changed the title Fix network re-creation in machinebroker Fix the Network re-creation in machinebroker Oct 16, 2023
@afritzler afritzler changed the title Fix the Network re-creation in machinebroker Fix Network re-creation in machinebroker Oct 16, 2023
Remove the network provider ID from the waiters map once an emit
successuflly finished. This solves the problem that in case the network
has been removed (e.g. via network GC controller), it is never
recreated. This causes a problem when brokering machine and NIC
resources as the OwnerRef can not be set on a non existing network
resource.
@afritzler afritzler force-pushed the fix/broker-network-recreation branch from 56a4f68 to e9b6b9b Compare October 16, 2023 12:54
@afritzler afritzler merged commit 2ea678d into main Oct 16, 2023
8 checks passed
@afritzler afritzler deleted the fix/broker-network-recreation branch October 16, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants