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

Network manager recreates the tunnelendpoints if deleted #1036

Conversation

alacuku
Copy link
Member

@alacuku alacuku commented Jan 4, 2022

Description

The tunnelendpointcreator controller part of the network manager now reconciles the networkconfigs each time the tunnelendpoint associated with the given networkconfig is created/updated/deleted. No need to restart the network-manager to have the tunnelendpoint recreated if deleted.

Fixes #(issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Manually, deploy two clusters with liqo, peer them, after the liqo network is up delete the tunnelendpoint in one of the clusters and check that has been recreated.

@adamjensenbot
Copy link
Collaborator

Hi @alacuku. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch (You can add the option test=true to launch the tests
    when the rebase operation is completed)
  • /merge: Merge this PR into the master branch
  • /build Build Liqo components
  • /test Launch the E2E and Unit tests
  • /doc-build Trigger the build of the Liqo documentation

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

@alacuku
Copy link
Member Author

alacuku commented Jan 4, 2022

/test

@alacuku alacuku force-pushed the kcl/network-manager-reconcile-tunnelendpoint branch from 44eca03 to fa67a91 Compare January 4, 2022 21:35
@pull-request-size pull-request-size bot added size/S and removed size/XS labels Jan 4, 2022
@alacuku alacuku added the hold Prevent bot merging label Jan 4, 2022
@alacuku alacuku force-pushed the kcl/network-manager-reconcile-tunnelendpoint branch from fa67a91 to 0b0b75a Compare January 4, 2022 21:41
@alacuku
Copy link
Member Author

alacuku commented Jan 4, 2022

/test

@alacuku alacuku force-pushed the kcl/network-manager-reconcile-tunnelendpoint branch 3 times, most recently from fd88a3d to d4d7117 Compare January 4, 2022 21:45
@alacuku
Copy link
Member Author

alacuku commented Jan 4, 2022

/test

@alacuku alacuku force-pushed the kcl/network-manager-reconcile-tunnelendpoint branch from d4d7117 to 9d73107 Compare January 4, 2022 21:47
@alacuku
Copy link
Member Author

alacuku commented Jan 4, 2022

/test

@alacuku alacuku force-pushed the kcl/network-manager-reconcile-tunnelendpoint branch from 9d73107 to 4fbba16 Compare January 4, 2022 22:14
@alacuku
Copy link
Member Author

alacuku commented Jan 4, 2022

/test

@alacuku alacuku force-pushed the kcl/network-manager-reconcile-tunnelendpoint branch from 4fbba16 to 19ab554 Compare January 4, 2022 22:26
@alacuku
Copy link
Member Author

alacuku commented Jan 4, 2022

/test

@alacuku alacuku removed the hold Prevent bot merging label Jan 6, 2022
@alacuku
Copy link
Member Author

alacuku commented Jan 10, 2022

/build

@alacuku
Copy link
Member Author

alacuku commented Jan 10, 2022

/rebase

@alacuku
Copy link
Member Author

alacuku commented Jan 10, 2022

/test

2 similar comments
@alacuku
Copy link
Member Author

alacuku commented Jan 10, 2022

/test

@alacuku
Copy link
Member Author

alacuku commented Jan 11, 2022

/test

@alacuku alacuku force-pushed the kcl/network-manager-reconcile-tunnelendpoint branch from 19ab554 to a44a042 Compare January 13, 2022 08:59
@alacuku
Copy link
Member Author

alacuku commented Jan 13, 2022

/test

@alacuku alacuku requested a review from giorio94 January 13, 2022 10:21
…when changed

The tunnelendpointcreator controller part of the network manager now reconciles the networkconfigs each time the tunnelendpoint
associated with the given networkconfig is created/updated/deleted. No need to restart the network-manager to have the tunnelendpoint
recreated if deleted.
@alacuku alacuku force-pushed the kcl/network-manager-reconcile-tunnelendpoint branch from a44a042 to 66fb2dc Compare January 13, 2022 11:17
@alacuku
Copy link
Member Author

alacuku commented Jan 13, 2022

/test

@alacuku
Copy link
Member Author

alacuku commented Jan 13, 2022

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Jan 13, 2022
@adamjensenbot adamjensenbot merged commit 2ebc791 into liqotech:master Jan 13, 2022
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Jan 13, 2022
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

4 participants