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

updated storage_pool #9229

Merged
merged 17 commits into from
Nov 21, 2023
Merged

Conversation

G-NamanGupta
Copy link
Contributor

@G-NamanGupta G-NamanGupta commented Oct 11, 2023

Fixes - #15842

This PR is to support provisioning storage pool for Google Cloud NetApp Volumes through GCP terraform provider.

`google_netapp_storage_pool`

This pull request is duplicate to #8954.
Creating this pull request as the above one was having some git commits without correct author.

@modular-magician
Copy link
Collaborator

Hello! I am a robot. It looks like you are a: Community Contributor Googler Core Contributor. Tests will require approval to run.

@c2thorn, 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.

@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Oct 11, 2023
@c2thorn c2thorn requested review from shuyama1 and removed request for c2thorn October 11, 2023 15:34
@c2thorn
Copy link
Member

c2thorn commented Oct 11, 2023

reassigning @shuyama1 from #8954

@modular-magician modular-magician removed the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Oct 11, 2023
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 12 files changed, 1371 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 12 files changed, 1371 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 166 insertions(+))
TF OiCS: Diff ( 4 files changed, 137 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3143
Passed tests 2826
Skipped tests: 316
Affected tests: 1

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccNetappstoragePool_storagePoolCreateExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccNetappstoragePool_storagePoolCreateExample[Error message] [Debug log]

$\textcolor{red}{\textsf{Please fix these to complete your PR.}}$
View the build log or the debug log for each test

@G-NamanGupta
Copy link
Contributor Author

Hi @shuyama1 ,

I've added 'projectNumberDiffSuppress' to this to get rid of that project id/number.
also, can you please paste the error log here? is there any way for us to see the error log by ourselves?

@shuyama1
Copy link
Member

@G-NamanGupta sorry for the delay on reviewing it. The test failed due to

vcr_utils.go:152: Resource specified by ResourceName couldn't be found: google_netapp_storage_pool.test_pool 

Sorry we currently can't expose the debug logs to externals. Apologize for the inconvenience :(

@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Oct 16, 2023
@G-NamanGupta
Copy link
Contributor Author

Hi @shuyama1, I've updated the test file.
Not sure how to run test here again.

@modular-magician modular-magician removed the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Oct 16, 2023
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 12 files changed, 1371 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 12 files changed, 1371 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 166 insertions(+))
TF OiCS: Diff ( 4 files changed, 137 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3143
Passed tests 2824
Skipped tests: 318
Affected tests: 1

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccNetappstoragePool_storagePoolCreateExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccNetappstoragePool_storagePoolCreateExample[Error message] [Debug log]

$\textcolor{red}{\textsf{Please fix these to complete your PR.}}$
View the build log or the debug log for each test

Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vcr_utils.go:152: Failed state verification, resource with ID projects/ci-test-project-188019/locations/us-central1/storagePools/ not found

Are you able to run the test and get it pass locally? Let me know if you need help debugging

@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Oct 17, 2023
@G-NamanGupta
Copy link
Contributor Author

Hi @shuyama1 ,

I just added id_format field in yaml file, It was not mentioned in the magic module documentation in basic structure. Now I can successfully run the automated test in my local. Can you please trigger the test?

@modular-magician modular-magician removed the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Oct 17, 2023
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 12 files changed, 1371 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 12 files changed, 1371 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 166 insertions(+))
TF OiCS: Diff ( 4 files changed, 137 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3149
Passed tests 2827
Skipped tests: 317
Affected tests: 5

Action taken

Found 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccBigtableAppProfile_bigtableAppProfileMulticlusterExample|TestAccBigtableAppProfile_bigtableAppProfileSingleclusterExample|TestAccBigtableAppProfile_bigtableAppProfileAnyclusterExample|TestAccNetappstoragePool_storagePoolCreateExample|TestAccSpannerInstanceIamPolicy

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccBigtableAppProfile_bigtableAppProfileMulticlusterExample[Debug log]
TestAccBigtableAppProfile_bigtableAppProfileSingleclusterExample[Debug log]
TestAccBigtableAppProfile_bigtableAppProfileAnyclusterExample[Debug log]
TestAccNetappstoragePool_storagePoolCreateExample[Debug log]
TestAccSpannerInstanceIamPolicy[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$
View the build log or the debug log for each test

@modular-magician modular-magician added awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Nov 16, 2023
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 14 files changed, 1391 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 14 files changed, 1391 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 146 insertions(+))
TF OiCS: Diff ( 4 files changed, 129 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3234
Passed tests 2903
Skipped tests: 330
Affected tests: 1

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccNetappstoragePool_storagePoolCreateExample_update

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccNetappstoragePool_storagePoolCreateExample_update[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$
View the build log or the debug log for each test

Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Will wait for the service team to confirm if all current fields are supported and immutable flags are added correctly before merging this PR.

@okrause
Copy link
Contributor

okrause commented Nov 20, 2023

@shuyama1 Any updates on the progress?

@modular-magician modular-magician added awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Nov 20, 2023
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 14 files changed, 1404 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 14 files changed, 1404 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 146 insertions(+))
TF OiCS: Diff ( 4 files changed, 129 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3238
Passed tests 2907
Skipped tests: 330
Affected tests: 1

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccDataprocJobIamPolicy

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccDataprocJobIamPolicy[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$
View the build log or the debug log for each test

Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@shuyama1 shuyama1 merged commit 7a20c9c into GoogleCloudPlatform:main Nov 21, 2023
15 checks passed
BBBmau pushed a commit to BBBmau/magic-modules that referenced this pull request Nov 28, 2023
jialei-chen pushed a commit to jialei-chen/magic-modules that referenced this pull request Nov 29, 2023
trodge pushed a commit to trodge/magic-modules that referenced this pull request Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants