-
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
feat: Remove force replacement from gcfs_config #11553
feat: Remove force replacement from gcfs_config #11553
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @hao-nan-li, 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. |
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.
I don't think contributor-membership-checker (graphite-docker-images)
is part of the CI nowadays, could you rebase on main and re-commit?
2d01b21
to
ca83c4b
Compare
Rebased and re-commited from main branch, however, I see other branches also have the same checks |
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_container_cluster" "primary" {
node_config {
gcfs_config {
enabled = # value needed
}
}
node_pool {
node_config {
gcfs_config {
enabled = # value needed
}
}
}
}
|
Thanks for the rebase, thanks for correcting, |
Tests analyticsTotal tests: 200 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
|
|
ca83c4b
to
14a8bd0
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_container_cluster" "primary" {
node_config {
gcfs_config {
enabled = # value needed
}
}
node_pool {
node_config {
gcfs_config {
enabled = # value needed
}
}
}
}
|
Tests analyticsTotal tests: 203 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
|
|
Similar note to: #11541 (review) - it may be worth adding the suggested test of this parameter when it's used in |
Sure, will check, however, is there a possibility to check why my tests are failing? |
Also, please correct me if I'm wrong but there are already tests written here for cluster and gcfs config changes? |
@hao-nan-li This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
Oh yeah, looks like it! |
What do I need to do more in this case for this to get approved? 🤔 |
I think the VCR test needs to be fixed. |
14a8bd0
to
3e0b2fa
Compare
3e0b2fa
to
7520262
Compare
[Just to be clear, I'm not a Google employee, and am not reviewing this PR, just was commenting in case it's helpful since I did some work around similar changes recently.] Reading those a bit more carefully, from what I can see, that's only testing the setting within My prediction is that if you add or extend the test to test That is more complicated to update, and as yet only implemented for one or two parameters. See hashicorp/terraform-provider-google#19225 for a high level description of the issue, and some of the comments in #11272 for more context |
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_container_cluster" "primary" {
node_config {
gcfs_config {
enabled = # value needed
}
}
node_pool {
node_config {
gcfs_config {
enabled = # value needed
}
}
}
}
|
Tests analyticsTotal tests: 204 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
|
|
7520262
to
22ea497
Compare
@GoogleCloudPlatform/terraform-team @hao-nan-li This PR has been waiting for review for 1 week. Please take a look! Use the label |
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_container_cluster" "primary" {
node_config {
gcfs_config {
enabled = # value needed
}
}
node_pool {
node_config {
gcfs_config {
enabled = # value needed
}
}
}
}
|
Tests analyticsTotal tests: 204 Click here to see the affected service packages
View the build log |
- Handle updates properly for `node_config.gcfs_config` - Make `node_config.gcfs_config.enabled` optional and computed vs. required - Add tests to make sure we test the case where it's defined in `google_container_cluster.node_config`, as well as testing updates for both that and the `google_container_node_pool` resource. Fixes #19482 Follow up to GoogleCloudPlatform#11553
- Handle updates properly for `node_config.gcfs_config` - Make `node_config.gcfs_config.enabled` optional and computed vs. required - Add tests to make sure we test the case where it's defined in `google_container_cluster.node_config`, as well as testing updates for both that and the `google_container_node_pool` resource. Fixes #19482 Follow up to GoogleCloudPlatform#11553
- Handle updates properly for `node_config.gcfs_config` - Make `node_config.gcfs_config.enabled` optional and computed vs. required - Add tests to make sure we test the case where it's defined in `google_container_cluster.node_config`, as well as testing updates for both that and the `google_container_node_pool` resource. Fixes hashicorp/terraform-provider-google#19482 Follow up to GoogleCloudPlatform#11553
- Handle updates properly for `node_config.gcfs_config` - Make `node_config.gcfs_config.enabled` optional and computed vs. required - Add tests to make sure we test the case where it's defined in `google_container_cluster.node_config`, as well as testing updates for both that and the `google_container_node_pool` resource. Fixes hashicorp/terraform-provider-google#19482 Follow up to GoogleCloudPlatform#11553
- Handle updates properly for `node_config.gcfs_config` - Make `node_config.gcfs_config.enabled` optional and computed vs. required - Add tests to make sure we test the case where it's defined in `google_container_cluster.node_config`, as well as testing updates for both that and the `google_container_node_pool` resource. Fixes hashicorp/terraform-provider-google#19482 Follow up to GoogleCloudPlatform#11553
Gcfsconfig changes do not require to re-create node pools hence there is no point to ForceNew on each gcfsconfig change, gcfs can be enabled and disabled via GUI or gcloud CLI without recreating node pools, examples:
https://cloud.google.com/kubernetes-engine/docs/how-to/image-streaming#disable
https://cloud.google.com/kubernetes-engine/docs/how-to/image-streaming#enable_on_node_pools
Also, same issue noted here hashicorp/terraform-provider-google#18417
Release Note Template for Downstream PRs (will be copied)