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

add support for internet IP health checking to routing policies #12684

Closed
wants to merge 13 commits into from

Conversation

hkundag
Copy link
Contributor

@hkundag hkundag commented Jan 3, 2025

Adds support for internet IP address health checking to routing policies in public managed zones.

b/384932633 b/352032481

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

dns: added `routing_policy.health_check` and `health_checked_targets.external_endpoints` to `google_dns_record_set`

@github-actions github-actions bot requested a review from ScottSuarez January 3, 2025 19:37
Copy link

github-actions bot commented Jan 3, 2025

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

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

@rosmo
Copy link
Contributor

rosmo commented Jan 3, 2025

@hkundag Looks like we did the same work, one hour apart. #12682

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

google provider: Diff ( 3 files changed, 128 insertions(+), 2 deletions(-))
google-beta provider: Diff ( 3 files changed, 128 insertions(+), 2 deletions(-))

Missing test report

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

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

resource "google_dns_record_set" "primary" {
  routing_policy {
    geo {
      health_checked_targets {
        external_endpoints = # value needed
      }
    }
    primary_backup {
      backup_geo {
        health_checked_targets {
          external_endpoints = # value needed
        }
      }
    }
    wrr {
      health_checked_targets {
        external_endpoints = # value needed
      }
    }
  }
}

@hkundag
Copy link
Contributor Author

hkundag commented Jan 3, 2025

Oh thanks for pointing that out (and for working on this)! I don't mind taking ownership here since I'm on the service team.

@hkundag hkundag marked this pull request as draft January 3, 2025 19:49
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 47
Passed tests: 45
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicy

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicy [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
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, 204 insertions(+), 35 deletions(-))
google-beta provider: Diff ( 3 files changed, 197 insertions(+), 24 deletions(-))

Missing test report

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

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

resource "google_dns_record_set" "primary" {
  routing_policy {
    geo {
      health_checked_targets {
        external_endpoints = # value needed
      }
    }
    primary_backup {
      backup_geo {
        health_checked_targets {
          external_endpoints = # value needed
        }
      }
    }
    wrr {
      health_checked_targets {
        external_endpoints = # value needed
      }
    }
  }
}

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

google provider: Diff ( 3 files changed, 197 insertions(+), 24 deletions(-))
google-beta provider: Diff ( 3 files changed, 197 insertions(+), 24 deletions(-))

Missing test report

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

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

resource "google_dns_record_set" "primary" {
  routing_policy {
    geo {
      health_checked_targets {
        external_endpoints = # value needed
      }
    }
    primary_backup {
      backup_geo {
        health_checked_targets {
          external_endpoints = # value needed
        }
      }
    }
    wrr {
      health_checked_targets {
        external_endpoints = # value needed
      }
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 47
Passed tests: 45
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicy

Get to know how VCR tests work

1 similar comment
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 47
Passed tests: 45
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicy

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicy [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
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicy [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
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 ( 3 files changed, 336 insertions(+), 24 deletions(-))
google-beta provider: Diff ( 3 files changed, 336 insertions(+), 24 deletions(-))

Missing test report

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

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

resource "google_dns_record_set" "primary" {
  routing_policy {
    primary_backup {
      backup_geo {
        health_checked_targets {
          external_endpoints = # value needed
        }
      }
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 45
Skipped tests: 1
Affected tests: 2

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicy
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicy [Error message] [Debug log]
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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
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 ( 3 files changed, 336 insertions(+), 24 deletions(-))
google-beta provider: Diff ( 3 files changed, 336 insertions(+), 24 deletions(-))

Missing test report

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

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

resource "google_dns_record_set" "primary" {
  routing_policy {
    primary_backup {
      backup_geo {
        health_checked_targets {
          external_endpoints = # value needed
        }
      }
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 45
Skipped tests: 1
Affected tests: 2

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicy
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicy [Error message] [Debug log]
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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
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 ( 3 files changed, 333 insertions(+), 24 deletions(-))
google-beta provider: Diff ( 3 files changed, 333 insertions(+), 24 deletions(-))

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

google provider: Diff ( 3 files changed, 327 insertions(+), 19 deletions(-))
google-beta provider: Diff ( 3 files changed, 327 insertions(+), 19 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 46
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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
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 ( 3 files changed, 335 insertions(+), 19 deletions(-))
google-beta provider: Diff ( 3 files changed, 335 insertions(+), 19 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 46
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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
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 ( 3 files changed, 335 insertions(+), 19 deletions(-))
google-beta provider: Diff ( 3 files changed, 335 insertions(+), 19 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 46
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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
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 ( 3 files changed, 337 insertions(+), 19 deletions(-))
google-beta provider: Diff ( 3 files changed, 337 insertions(+), 19 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 46
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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
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 ( 3 files changed, 361 insertions(+), 19 deletions(-))
google-beta provider: Diff ( 3 files changed, 361 insertions(+), 19 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 46
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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
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 ( 3 files changed, 364 insertions(+), 19 deletions(-))
google-beta provider: Diff ( 3 files changed, 364 insertions(+), 19 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 46
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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
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 ( 3 files changed, 364 insertions(+), 19 deletions(-))
google-beta provider: Diff ( 3 files changed, 364 insertions(+), 19 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 48
Passed tests: 46
Skipped tests: 1
Affected tests: 1

Click here to see the affected service packages
  • dns

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
  • TestAccDNSRecordSet_routingPolicyInternetHealthCheck

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDNSRecordSet_routingPolicyInternetHealthCheck [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

Copy link
Contributor

@ScottSuarez ScottSuarez left a comment

Choose a reason for hiding this comment

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

Hi @hkundag, I see this PR is in draft. Feel free to ping me if you have any questions.

@hkundag hkundag closed this Jan 9, 2025
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