OCPBUGS-1731: Merge 1.10.0#76
Conversation
* plugin/dnstap: support FQDN TCP endpoint Signed-off-by: lob <pengyu@pingcap.com> * plugin/dnstap: remove unused variable Signed-off-by: lob <pengyu@pingcap.com>
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
…s#5379) Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.78.0 to 0.79.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.78.0...v0.79.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#5380) Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.48 to 1.1.49. - [Release notes](https://github.com/miekg/dns/releases) - [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release) - [Commits](miekg/dns@v1.1.48...v1.1.49) --- updated-dependencies: - dependency-name: github.com/miekg/dns dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…oredns#5382) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.9 to 1.44.14. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](aws/aws-sdk-go@v1.44.9...v1.44.14) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 63.4.0+incompatible to 64.1.0+incompatible. - [Release notes](https://github.com/Azure/azure-sdk-for-go/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md) - [Commits](Azure/azure-sdk-for-go@v63.4.0...v64.1.0) --- updated-dependencies: - dependency-name: github.com/Azure/azure-sdk-for-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@f6164bd...fcdc436) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…5385) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.9 to 2.1.10. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@7502d6e...2f58583) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ns#5381) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.46.0 to 1.46.2. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.46.0...v1.46.2) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
> Dependency Review GitHub Action in your repository to enforce dependency > reviews on your pull requests. > The action scans for vulnerable versions of dependencies introduced by package version > changes in pull requests, > and warns you about the associated security vulnerabilities. > This gives you better visibility of what's changing in a pull request, > and helps prevent vulnerabilities being added to your repository. https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
…oredns#5387) * Fixing coredns#5376 by adding a check to parse out Zone information Signed-off-by: Tintin <samrath.sodi@gmail.com> * using IndexByte instead of strings.Split() Signed-off-by: Tintin <samrath.sodi@gmail.com> * using plugin logger for logging parsing failure Signed-off-by: Tintin <samrath.sodi@gmail.com> * using var keywork instead of short declaration operator Signed-off-by: Tintin <samrath.sodi@gmail.com> * reordering imports Signed-off-by: Tintin <samrath.sodi@gmail.com>
…oredns#5400) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.14 to 1.44.19. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](aws/aws-sdk-go@v1.44.14...v1.44.19) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…s#5398) Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.79.0 to 0.80.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.79.0...v0.80.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.12.1...v1.12.2) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
It looks like dependabot couldn't update golang.org/x/crypto automatically to fix the CVE-2022-27191: coredns#5403 (comment) This PR manually fix the dependency. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
…s#5405) Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.80.0 to 0.81.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.80.0...v0.81.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go) from 64.1.0+incompatible to 65.0.0+incompatible. - [Release notes](https://github.com/Azure/azure-sdk-for-go/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/CHANGELOG.md) - [Commits](Azure/azure-sdk-for-go@v64.1.0...v65.0.0) --- updated-dependencies: - dependency-name: github.com/Azure/azure-sdk-for-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…oredns#5406) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.19 to 1.44.22. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](aws/aws-sdk-go@v1.44.19...v1.44.22) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
As the dependabot cannot update the go-yaml automatically, this PR updates gopkg.in/yaml.v3 to v3.0.0 to fix CVE-2022-28948 (See go-yaml/yaml#666) Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Update version and release note to 1.9.3 This PR update version and release note to prepare for 1.9.3. Main reason is to address CVE-2022-27191 and CVE-2022-28948 Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update notes/coredns-1.9.3.md Co-authored-by: Chris O'Haver <cohaver@infoblox.com> Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update notes/coredns-1.9.3.md Co-authored-by: Chris O'Haver <cohaver@infoblox.com> Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
brandisher
left a comment
There was a problem hiding this comment.
Overall the changes look good and match what we discussed yesterday. I left one question for @Miciah about whether we need a release note for the change in SERVFAIL response caching; I'm assuming that SERVFAILs were not cached previously and will now be cached for 5s.
There was a problem hiding this comment.
@Miciah this could be a nit so I'll defer to you, but would it be worth including in the release notes that SERVFAIL responses will now be cached for 5s (the value of minNTTL)?
There was a problem hiding this comment.
SERVFAIL was cached for 5s in CoreDNS 1.9.2.
https://github.com/coredns/coredns/blob/092c144491e7f62d71eda98a07e4ce815d9df035/plugin/cache/cache.go#L159-L161
This change only makes it configurable, but the default is 5 seconds, and we aren't changing the default.
There was a problem hiding this comment.
Ah okay, thanks for catching that and the link! That's what I get for making an assumption :-)
|
Just OVN alerts now. |
|
@gcs278: The
The following commands are available to trigger optional jobs:
Use
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/test ci/prow/e2e-metal-ipi |
|
@gcs278: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/test e2e-metal-ipi |
|
/test e2e-metal-ipi I'm seeing a lot of io timeouts in the coredns logs and it looks like the whole deployment timed out. Maybe the test node was having issues? |
|
|
|
e2e-metal-ipi worked ✔️ thanks @cybertron e2e-gcp-serial is a lost cause given the outstanding OVN and disruption bugs. I think we need an override now. |
Should be reevaluated next rebase. Co-authored-by: Ryan Fredette <rfredette@redhat.com> Modified-by: Grant Spence <gspence@redhat.com>
Disable dependabot in the openshift fork
042d888 to
5fb29d4
Compare
There was a problem hiding this comment.
There's some weird re-indentation going on here.
There was a problem hiding this comment.
I think you mean spaces vs. indents? Great catch, I didn't see that my edits used spaces in github diff or in my editors.
fixed
…lity (coredns#5019)" This reverts commit abaf938. We will carry this commit in OpenShift 4.11 to provide any users with applications that use wildcard DNS lookups more time to migrate their applications. Modified-by: Grant Spence <gspence@redhat.com>
…oredns#5030)" (coredns#5167)" This reverts commit 4693f40.
5fb29d4 to
b912bfd
Compare
|
In the course of reviewing the wildcard carry patch (where @gcs278 had to resolve some conflicts for this rebase), I found and reported coredns#5657. If I apply coredns#5657 on top of #76, then this test case for {
Qname: "*._not-udp-or-tcp.svc1.testns.example.com.", Rcode: dns.RcodeSuccess,
},However, the same test fails if I check out the v1.8.7 tag (the last upstream version that supported wildcard lookups) and fix Additionally, I tried the following two test cases: {
Qname: "any._tcp.svc1.testns.example.com.", Rcode: dns.RcodeSuccess,
Msg: []msg.Service{
{Host: "1.2.3.4", Port: 80, TTL: 5, Key: "/c/org/example/testns/svc1"},
},
},
{
Qname: "_any._tcp.svc1.testns.example.com.", Rcode: dns.RcodeSuccess,
Msg: []msg.Service{
{Host: "1.2.3.4", Port: 80, TTL: 5, Key: "/c/org/example/testns/svc1"},
},
},These test cases both pass on v1.8.7 with Let's get this PR merged and let it soak. If upstream accepts coredns#5657 and someone asks for us to fix the bug in openshift/coredns, then we can treat it as a bug like any other and fix it with a carry patch for coredns#5657. /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miciah The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
e2e-aws-upgrade failed with the following failure: The closest match for this failure that I found is BZ#1990419 [sig-arch] events should not repeat pathologically - event happened more than 20 times, something is wrong: ns/openshift-console pod/console-XXX node/XXX - reason/Unhealthy Readiness probe failed, which was closed due to insufficient data. Let's see if the same failure re-occurs. /test e2e-aws-upgrade |
|
@gcs278: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@gcs278: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-1731 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
openshiftGH-75 dns record lifecycle notes
OCPBUGS-1731: Merge 1.10.0
Rebased to CoreDNS 1.10.0 so that we use the Kubernetes 1.25 packages.
I made this PR using the same process as #73, #52, #60, and #70:
git remote updategit checkout v1.10.0git checkout -b merge-1.10.0-tmpgit checkout origin/masterecho 'merge coredns/coredns v1.10.0' | git commit-tree 'merge-1.10.0-tmp^{tree}' -p HEAD -p merge-1.10.0-tmp -F -ead3b6507d7bd2fc3e67b79d8ff0dff296396bacgit branch merge-1.10.0 ead3b6507d7bd2fc3e67b79d8ff0dff296396bacgit checkout merge-1.10.0git rev-list --reverse --no-merges 555dd549ee36ba7f626cf8c53707c74af318ec09..origin/master | git cherry-pick --stdinNote:
555dd549ee36ba7f626cf8c53707c74af318ec09is the merge commit from the last merge Bug 2090827: Merge 1.9.2 #73Before the rebase, we had the following commits:
I edited the "Vendor required modules" commit by running go mod vendor and go mod tidy and ammend commit
1d2d4f767 UPSTREAM: <carry>: openshift: Vendor required modules.I squashed/merged the following commit into the existing "Add product build config" commit:
Git merge conflicts for
461cbbf60 UPSTREAM: <carry>: openshift: Revert "remove wildcard query functionality (#5019)":plugin/kubernetes/kubernetes.go
matchPortAndProtocolfunction comment update, butmatchPortAndProtocolfunction has been removed so I ignored the updates (see PR Delta)plugin/kubernetes/external.go
endpointas a string. I merged by taking upstream variable declarations, but addedport = "*"andprotocol = "*"assignment below for reversion (see PR Delta)matchPortAndProtocoland added it in an additional location for resolving headless services (see PR delta)matchPortAndProtocol, but we don't have that function anyways so just using thematchfunction.