-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Allow for IPV6_ONLY
stackType configurations
#12485
Conversation
IPV6_ONLY
stackType configurations
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @zli82016, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1071 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
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.
The test TestAccComputeInstanceNetworkIntefaceWithSecurityPolicy
still failed.
as it should, i need the debug log from the test to start fixing this. (the links provided by the bot don't work) This one is crucial for the VM because closing the feature gap between the provider and API on NIC's is mostly made of IPV6 features, and we need this one to even begin working on the rest |
/gcbrun |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1071 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
https://paste.googleplex.com/4789365243641856#l=10517 This is the logs for the test TestAccComputeInstanceNetworkIntefaceWithSecurityPolicy/access_config_update_access_config. Please let me know if you can't open it. |
don't have access |
These are the logs. |
I'm currently seeing that our schema is not aligned with the actual API schema here. We have This is most likely why the I'm guessing that we've hit some case where the IPV6 sec policy gets left off while updating and it's not covered by this logic. This is most likely to get changed and is a breaking change because most of the feature gap between provider and API on NICs is IPV6 related |
@zli82016 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
Right, computed + optional on this field In this test step the expected error |
Is making Based on the comment, it looks like |
Will test IPV4_IPV6. But for IPV6_ONLY not having this as computed and providing an IPV6 external subnetwork will cause permadiff for the user, as the access config will be set by the API. The entire block will initialize itself. |
@GoogleCloudPlatform/terraform-team @zli82016 This PR has been waiting for review for 1 week. Please take a look! Use the label |
@karolgorc , have you tested IPV4_IPV6? |
Also, can you add a test for |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1080 Click here to see the affected service packages
Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
mmv1/third_party/terraform/services/compute/resource_compute_instance_template.go.tmpl
Outdated
Show resolved
Hide resolved
mmv1/third_party/terraform/services/compute/resource_compute_instance.go.tmpl
Outdated
Show resolved
Hide resolved
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1080 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
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.
Tests failed.
…nstance_template.go.tmpl Co-authored-by: Zhenhua Li <[email protected]>
…nstance.go.tmpl Co-authored-by: Zhenhua Li <[email protected]>
These tests were made for computed to be true. Will update them and maybe specify this behaviour in the docs |
753fb4d
to
3796788
Compare
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1080 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🟢 All tests passed! |
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
reopen of #12283
related to b/360733056
This got rolled back because it was failing
TestAccComputeInstanceNetworkIntefaceWithSecurityPolicy
. I don't have Cloud Armor on my private cloud environment so can i get a detailed test log to see why it fails and debug it? Preferably withTF_LOG=DEBUG
while the test is runningIPV6_ONLY
stackType for instances and subnetworksipv6_access_config
is now Computed because when providing an IPV6 subnet the access config will get autofilled from the APIRelease Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.