-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add support for mesh ingress #14640
Merged
Merged
Add support for mesh ingress #14640
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AlanCoding
reviewed
Nov 8, 2023
AlanCoding
reviewed
Nov 8, 2023
AlanCoding
reviewed
Nov 8, 2023
AlanCoding
reviewed
Nov 8, 2023
AlanCoding
reviewed
Nov 8, 2023
AlanCoding
reviewed
Nov 8, 2023
fosterseth
force-pushed
the
feature_awx-mesh-ingress
branch
from
November 9, 2023 19:17
0c30b09
to
de9a001
Compare
github-actions
bot
added
the
component:awx_collection
issues related to the collection for controlling AWX
label
Nov 15, 2023
fosterseth
force-pushed
the
feature_awx-mesh-ingress
branch
from
November 16, 2023 17:02
11e3dcd
to
ff3acfa
Compare
fosterseth
commented
Dec 5, 2023
jbradberry
reviewed
Dec 12, 2023
jbradberry
reviewed
Dec 12, 2023
jbradberry
reviewed
Dec 12, 2023
jbradberry
reviewed
Dec 12, 2023
jbradberry
reviewed
Dec 12, 2023
jbradberry
reviewed
Dec 12, 2023
jbradberry
reviewed
Jan 3, 2024
jbradberry
reviewed
Jan 3, 2024
dmzoneill
force-pushed
the
feature_awx-mesh-ingress
branch
2 times, most recently
from
January 11, 2024 14:18
22df3fe
to
81313f7
Compare
CFSNM
force-pushed
the
feature_awx-mesh-ingress
branch
2 times, most recently
from
January 15, 2024 18:30
21af841
to
6da9195
Compare
jbradberry
force-pushed
the
feature_awx-mesh-ingress
branch
from
January 15, 2024 19:25
6da9195
to
72b663a
Compare
fosterseth
force-pushed
the
feature_awx-mesh-ingress
branch
from
January 16, 2024 16:48
448bc06
to
99c5245
Compare
jbradberry
force-pushed
the
feature_awx-mesh-ingress
branch
from
January 17, 2024 16:38
80c7fa1
to
72d7f85
Compare
fosterseth
force-pushed
the
feature_awx-mesh-ingress
branch
from
January 19, 2024 05:26
34dbde3
to
7ee7137
Compare
This release supports ingress hop node, and is backwards compatible with previous AWX version. Signed-off-by: Seth Foster <[email protected]>
Adds validation and a unit test to ensure: - peers_from_control_nodes=True should fail if listener_port is not set - peers_from_control_nodes=False should be NOOP if listener_port is not set Signed-off-by: Seth Foster <[email protected]>
…nodes If the port is explicitly set to null (causing any ReceptorAddress to be deleted), then that's a validation error. If the port is left off but a ReceptorAddress doesn't already exist, we should not infer a port number and that is also a validation error.
so we don't need complex logic to compare an incoming to existing value.
Gives a bit more readability.
Since the relationship is ReceptorAddress -> Instance, prefetch_related isn't necessary.
and reuse information.
and all of the cases that they might be in.
Add functional test case for inspecting established receptor connections. InstanceLink starts in ADDING state, and should move to ESTABLISHED state if the connection is detected in the receptor status output. Signed-off-by: Seth Foster <[email protected]>
Adds validation to prevent changing peers_from_control_nodes if instance managed=True Signed-off-by: Seth Foster <[email protected]>
test_listener_port test_peers_from_control_nodes test_peers_from_control_nodes_without_listener_port are covered in the following tests: test_no_op test_creates_canonical_address test_deletes_canonical_address test_updates_canonical_address test_canonical_address_validation_error Signed-off-by: Seth Foster <[email protected]>
In receptor address post-save method: - Fixed detecting if address was missing a link from control nodes - Use InstanceLink create_or_update to prevent adding duplicate InstanceLink source and target peers In instance serializer create_or_update, delete receptor addresses first before doing instance create or update. This ensures that we don't trigger unnecessary post-save methods that might attempt to manipulate receptor addresses that will just be removed later. Signed-off-by: Seth Foster <[email protected]>
Make protocol be blank on instance if there is no canonical address for this instance. It was defaulting to "tcp" before. Signed-off-by: Seth Foster <[email protected]>
Signed-off-by: Seth Foster <[email protected]>
Also, update ui screen tests to expect injecting "listener_port: null" if listener_port is empty Signed-off-by: Seth Foster <[email protected]>
Prevent creating InstanceLinks with duplicate source and target pairings. Signed-off-by: Seth Foster <[email protected]>
Listener Addresses is a better name to emphasize these are routable addresses to reach a listener service on the node. Also removed expand toggle on the listener addresses list items, as the expanded mode had no additional information. Signed-off-by: Seth Foster <[email protected]>
fosterseth
force-pushed
the
feature_awx-mesh-ingress
branch
from
February 1, 2024 19:47
f027dfd
to
08b1e58
Compare
TheRealHaoLiu
approved these changes
Feb 1, 2024
Jaapis
approved these changes
Feb 1, 2024
jbradberry
approved these changes
Feb 2, 2024
11 tasks
This was referenced Feb 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component:api
component:awx_collection
issues related to the collection for controlling AWX
component:ui
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
API changes to support mesh ingress (in-cluster hop node).
Notable changes:
ISSUE TYPE
COMPONENT NAME