Skip to content

add Flex AutoTier support for storagePool and Volume#13985

Closed
sahil-mahajan-google wants to merge 20 commits intoGoogleCloudPlatform:mainfrom
sahil-mahajan-google:netapp_flex_autotier
Closed

add Flex AutoTier support for storagePool and Volume#13985
sahil-mahajan-google wants to merge 20 commits intoGoogleCloudPlatform:mainfrom
sahil-mahajan-google:netapp_flex_autotier

Conversation

@sahil-mahajan-google
Copy link
Copy Markdown
Contributor

netapp: added `enableHotTierAutoResize` and `hotTierSizeGib` fields to `google_netapp_storage_pool` resource (beta)
netapp: added `hotTierBypassModeEnabled` field to `google_netapp_volume` resource (beta)

@github-actions
Copy link
Copy Markdown

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@NickElliot, 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
Copy link
Copy Markdown
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.

google provider: Diff ( 4 files changed, 224 insertions(+))
google-beta provider: Diff ( 8 files changed, 316 insertions(+))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_netapp_storage_pool (18 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_netapp_storage_pool" "primary" {
  enable_hot_tier_auto_resize = # value needed
  hot_tier_size_gib           = # value needed
}

Resource: google_netapp_volume (17 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_netapp_volume" "primary" {
  tiering_policy {
    hot_tier_bypass_mode_enabled = # value needed
  }
}

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 0
Passed tests: 0
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • netapp
#### Non-exercised tests

🔴 Tests were added that are skipped in VCR:

  • TestAccNetappStoragePool_flexAutoTierStoragePoolCreateExample_update
  • TestAccNetappVolume_flexAutoTierNetappVolume_update
    🔴 Errors occurred during REPLAYING mode. Please fix them to complete your PR.

View the build log

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 2 files changed, 15 insertions(+))
google-beta provider: Diff ( 8 files changed, 312 insertions(+))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_netapp_volume (27 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_netapp_volume" "primary" {
  tiering_policy {
    hot_tier_bypass_mode_enabled = # value needed
  }
}

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappStoragePool_flexAutoTierStoragePoolCreateExample_update [Error message] [Debug log]
TestAccNetappVolume_flexAutoTierNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 2 files changed, 15 insertions(+))
google-beta provider: Diff ( 8 files changed, 312 insertions(+))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_netapp_volume (27 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_netapp_volume" "primary" {
  tiering_policy {
    hot_tier_bypass_mode_enabled = # value needed
  }
}

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappStoragePool_flexAutoTierStoragePoolCreateExample_update [Error message] [Debug log]
TestAccNetappVolume_flexAutoTierNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 2 files changed, 15 insertions(+))
google-beta provider: Diff ( 8 files changed, 312 insertions(+))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_netapp_volume (27 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_netapp_volume" "primary" {
  tiering_policy {
    hot_tier_bypass_mode_enabled = # value needed
  }
}

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappStoragePool_flexAutoTierStoragePoolCreateExample_update [Error message] [Debug log]
TestAccNetappVolume_flexAutoTierNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 2 files changed, 15 insertions(+))
google-beta provider: Diff ( 8 files changed, 312 insertions(+))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_netapp_volume (27 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_netapp_volume" "primary" {
  tiering_policy {
    hot_tier_bypass_mode_enabled = # value needed
  }
}

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappStoragePool_flexAutoTierStoragePoolCreateExample_update [Error message] [Debug log]
TestAccNetappVolume_flexAutoTierNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 2 files changed, 15 insertions(+))
google-beta provider: Diff ( 8 files changed, 314 insertions(+))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 7
Skipped tests: 0
Affected tests: 21

Click here to see the affected service packages
  • netapp

Action taken

Found 21 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappBackup_NetappBackupFull_update
  • TestAccNetappBackup_NetappFlexBackup
  • TestAccNetappBackup_NetappIntegratedBackup
  • TestAccNetappBackup_netappBackupExample
  • TestAccNetappStoragePool_FlexRegionalStoragePoolCreateExample_update
  • TestAccNetappStoragePool_FlexRegionalStoragePoolNoZone
  • TestAccNetappStoragePool_autoTieredStoragePoolCreateExample_update
  • TestAccNetappStoragePool_customPerformanceStoragePoolCreateExample_update
  • TestAccNetappStoragePool_flexAutoTierStoragePoolCreateExample_update
  • TestAccNetappStoragePool_storagePoolCreateExample
  • TestAccNetappStoragePool_storagePoolCreateExample_update
  • TestAccNetappVolumeQuotaRule_netappVolumeQuotaRuleBasicExample
  • TestAccNetappVolumeQuotaRule_netappVolumeQuotaRuleBasicExample_update
  • TestAccNetappVolumeReplication_NetappVolumeReplicationCreateExample_update
  • TestAccNetappVolumeReplication_netappVolumeReplicationCreateExample
  • TestAccNetappVolumeSnapshot_volumeSnapshotCreateExample
  • TestAccNetappVolumeSnapshot_volumeSnapshotCreateExample_update
  • TestAccNetappVolume_NetappVolumeBasicExample_update
  • TestAccNetappVolume_autoTieredNetappVolume_update
  • TestAccNetappVolume_flexAutoTierNetappVolume_update
  • TestAccNetappVolume_netappVolumeBasicExample

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappBackup_NetappBackupFull_update [Error message] [Debug log]
TestAccNetappBackup_NetappFlexBackup [Error message] [Debug log]
TestAccNetappBackup_NetappIntegratedBackup [Error message] [Debug log]
TestAccNetappBackup_netappBackupExample [Error message] [Debug log]
TestAccNetappStoragePool_FlexRegionalStoragePoolCreateExample_update [Error message] [Debug log]
TestAccNetappStoragePool_FlexRegionalStoragePoolNoZone [Error message] [Debug log]
TestAccNetappStoragePool_autoTieredStoragePoolCreateExample_update [Error message] [Debug log]
TestAccNetappStoragePool_customPerformanceStoragePoolCreateExample_update [Error message] [Debug log]
TestAccNetappStoragePool_flexAutoTierStoragePoolCreateExample_update [Error message] [Debug log]
TestAccNetappStoragePool_storagePoolCreateExample [Error message] [Debug log]
TestAccNetappStoragePool_storagePoolCreateExample_update [Error message] [Debug log]
TestAccNetappVolumeQuotaRule_netappVolumeQuotaRuleBasicExample [Error message] [Debug log]
TestAccNetappVolumeQuotaRule_netappVolumeQuotaRuleBasicExample_update [Error message] [Debug log]
TestAccNetappVolumeReplication_NetappVolumeReplicationCreateExample_update [Error message] [Debug log]
TestAccNetappVolumeReplication_netappVolumeReplicationCreateExample [Error message] [Debug log]
TestAccNetappVolumeSnapshot_volumeSnapshotCreateExample [Error message] [Debug log]
TestAccNetappVolumeSnapshot_volumeSnapshotCreateExample_update [Error message] [Debug log]
TestAccNetappVolume_NetappVolumeBasicExample_update [Error message] [Debug log]
TestAccNetappVolume_autoTieredNetappVolume_update [Error message] [Debug log]
TestAccNetappVolume_flexAutoTierNetappVolume_update [Error message] [Debug log]
TestAccNetappVolume_netappVolumeBasicExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_autoTieredNetappVolume_update [Error message] [Debug log]
TestAccNetappVolume_flexAutoTierNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 5 files changed, 23 insertions(+), 7 deletions(-))
google-beta provider: Diff ( 8 files changed, 325 insertions(+), 7 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp

Action taken

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

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_autoTieredNetappVolume_update [Error message] [Debug log]
TestAccNetappVolume_flexAutoTierNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 5 files changed, 23 insertions(+), 7 deletions(-))
google-beta provider: Diff ( 8 files changed, 325 insertions(+), 7 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 5 files changed, 23 insertions(+), 7 deletions(-))
google-beta provider: Diff ( 8 files changed, 326 insertions(+), 7 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 5 files changed, 23 insertions(+), 7 deletions(-))
google-beta provider: Diff ( 8 files changed, 326 insertions(+), 7 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp
#### Action taken
Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappVolume_autoTieredNetappVolume_update
  • TestAccNetappVolume_flexAutoTierNetappVolume_update

Get to know how VCR tests work

2 similar comments
@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp
#### Action taken
Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappVolume_autoTieredNetappVolume_update
  • TestAccNetappVolume_flexAutoTierNetappVolume_update

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 26
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • netapp
#### Action taken
Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappVolume_autoTieredNetappVolume_update
  • TestAccNetappVolume_flexAutoTierNetappVolume_update

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetappVolume_flexAutoTierNetappVolume_update [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_autoTieredNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetappVolume_flexAutoTierNetappVolume_update [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_autoTieredNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetappVolume_flexAutoTierNetappVolume_update [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_autoTieredNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@zli82016
Copy link
Copy Markdown
Member

#14060 (#14062 is closed) is merged to the main branch. Please rebase the main branch to fix the unit tests.

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 5 files changed, 23 insertions(+), 7 deletions(-))
google-beta provider: Diff ( 8 files changed, 326 insertions(+), 7 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

@modular-magician
Copy link
Copy Markdown
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.

google provider: Diff ( 5 files changed, 23 insertions(+), 7 deletions(-))
google-beta provider: Diff ( 8 files changed, 326 insertions(+), 7 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 31 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 27
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • netapp
#### 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
  • TestAccNetappVolume_autoTieredNetappVolume_update

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_autoTieredNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 28
Passed tests: 27
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • netapp
#### 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
  • TestAccNetappVolume_autoTieredNetappVolume_update

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccNetappVolume_autoTieredNetappVolume_update [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@sahil-mahajan-google
Copy link
Copy Markdown
Contributor Author

Duplicate of #14075

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants