-
Notifications
You must be signed in to change notification settings - Fork 20
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
Support the conditions GatewayConnectionReady and AutoSnatEnabled during reconciling VPC #672
Merged
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
Contributor
heypnus
commented
Aug 7, 2024
•
edited
Loading
edited
dantingl
reviewed
Aug 8, 2024
pkg/apis/crd.nsx.vmware.com/v1alpha1/vpcnetworkconfiguration_types.go
Outdated
Show resolved
Hide resolved
1de3fa3
to
232239b
Compare
dantingl
reviewed
Aug 12, 2024
ccbda38
to
3fbf83f
Compare
/e2e |
zhengxiexie
previously approved these changes
Aug 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
95cd95b
to
3abd8b6
Compare
dantingl
previously approved these changes
Aug 17, 2024
lxiaopei
previously approved these changes
Aug 17, 2024
c24177a
to
ba425f6
Compare
/e2e |
/e2e |
1 similar comment
/e2e |
e08e156
to
5662da3
Compare
/e2e |
…ing reconciling VPC Testing done: 1. check the conditions: - lastTransitionTime: "2024-08-14T15:09:39Z" status: "True" type: GatewayConnectionReady - lastTransitionTime: "2024-08-14T15:09:40Z" status: "True" type: AutoSnatEnabled 2. Clean the conditions, go to "Transit Gateways" view in UI and remove "gatewayconnection1" in "External Connection" property, then restart the NSX Operator and check the conditions: - lastTransitionTime: "2024-08-15T02:42:51Z" reason: GatewayConnectionNotSet status: "False" type: GatewayConnectionReady - lastTransitionTime: "2024-08-15T02:42:55Z" status: "True" type: AutoSnatEnabled 3. Re-add "gatewayconnection1" in "External Connection" for the project transit gateway and check the condition GatewayConnectionReady can recover to ready after about 60 seconds: - lastTransitionTime: "2024-08-15T02:45:00Z" status: "True" type: GatewayConnectionReady - lastTransitionTime: "2024-08-15T02:42:55Z" status: "True" type: AutoSnatEnabled 4. Clean the conditions, clean the "Edge Clusters" in "Manage Projects" view, restart the NSX operator and check the conditions: - lastTransitionTime: "2024-08-15T02:49:17Z" reason: EdgeMissingInProject status: "False" type: GatewayConnectionReady - lastTransitionTime: "2024-08-15T02:49:19Z" status: "True" type: AutoSnatEnabled 5. Revert step 4 and update /orgs/default/projects/project-quality/vpc-connectivity-profiles/default to remove the service gateway field, then check the conditions: - lastTransitionTime: "2024-08-15T02:49:50Z" status: "True" type: GatewayConnectionReady - lastTransitionTime: "2024-08-15T03:01:43Z" status: "False" type: AutoSnatEnabled 6. Remove "gatewayconnection1" in "External Connection" for the transit gateway. Then edit project to change from "gatewayconnection1" to "gateway-101" (path: "/infra/distributed-vlan-connections/gateway-101") in "External Connection for transit gateway". Add the "gateway-101" in the project transit gateway then clean the conditions and restart the NSX operator to check them again: - lastTransitionTime: "2024-08-15T03:04:04Z" reason: DistributedGatewayConnectionNotSupported status: "False" type: GatewayConnectionReady - lastTransitionTime: "2024-08-15T03:04:40Z" status: "False" type: AutoSnatEnabled
zhengxiexie
approved these changes
Aug 19, 2024
dantingl
approved these changes
Aug 19, 2024
wenqiq
reviewed
Aug 28, 2024
updateFail(r, &ctx, obj, &err, r.Client, nil) | ||
return common.ResultRequeueAfter10sec, err | ||
} | ||
vpcNetworkConfiguration := &v1alpha1.VPCNetworkConfiguration{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#730 related
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.