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

Bug 2043801: Merge 1.8.7 #70

Merged
merged 249 commits into from
Jan 25, 2022
Merged

Conversation

Miciah
Copy link

@Miciah Miciah commented Jan 22, 2022

Rebase to CoreDNS 1.8.7 so that we use the Kubernetes 1.23 API and client packages.

I made this PR using the same process as #52 and #60:

  1. git remote update
  2. git checkout v1.8.7
  3. git checkout -b merge-tmp
  4. git checkout origin/master
  5. echo 'merge coredns/coredns v1.8.7' | git commit-tree 'merge-tmp^{tree}' -p HEAD -p merge-tmp -F -
  6. git branch merge-1.8.7 ccbc66ea50b1d0b8af75b41c332ec15bf4853887
  7. git checkout merge-1.8.7
  8. git rev-list --reverse --no-merges 60ff4c4b5fa19044d71c6dc23424dc08ddbe8b37..origin/master | git cherry-pick --stdin

My merge commit from the above process was commit ccbc66e.

Before the rebase, we had the following carries:

% git --no-pager log --oneline --no-merges 60ff4c4b5fa19044d71c6dc23424dc08ddbe8b37..origin/master
11b3e1445 Updating coredns images to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/3dea8426481b269476342fc0a631273f32ce691e/images/coredns.yml
e54582f89 UPSTREAM: <carry>: openshift: Disable dependabot
1bce8b227 UPSTREAM: <carry>: openshift: Updating coredns images to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/691e628254f318ce56efda5edc7448ec743c37b8/images/coredns.yml                                                                                                                                                                                                                 
2750ba410 UPSTREAM: <carry>: openshift: Updating .ci-operator.yaml `build_root_image` from openshift/release
77b49b288 UPSTREAM: <carry>: openshift: Vendor required modules
02ea47f29 UPSTREAM: <carry>: openshift: Updating coredns images to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/0c10ae924af72f1c759cf8b24b50de94c02e6268/images/coredns.yml                                                                                                                                                                                                                 
d6753f9ec UPSTREAM: <carry>: openshift: .gitignore: Properly ignore coredns binary
c017c6ef7 UPSTREAM: <carry>: openshift: Update owners
98e03ed71 Updating coredns images to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/691e628254f318ce56efda5edc7448ec743c37b8/images/coredns.yml
532d55088 UPSTREAM: <carry>: openshift: OWNERS: Add component
a19338c74 UPSTREAM: <carry>: openshift: Add github.com/openshift/coredns-mdns plugin
987941801 UPSTREAM: <carry>: openshift: Make coredns exclusion more specific
8ef04d79a UPSTREAM: <carry>: openshift: Set Dockerfiles to use vendor
defc5c1e9 UPSTREAM: <carry>: openshift: Add a `make test` target
78dc38111 UPSTREAM: <carry>: openshift: Optimize COPY directive
a8cac43c4 UPSTREAM: <carry>: openshift: Add a RHEL7 Dockerfile and standardize format
2c53ec989 UPSTREAM: <carry>: openshift: Use multistage builds
225d3a35d UPSTREAM: <carry>: openshift: Update metadata
66fcb277a UPSTREAM: <carry>: openshift: Add a product build pipeline Dockerfile
6961254ef UPSTREAM: <carry>: openshift: Changed the OWNERS to OpenShift ones
83c6193f8 Updating .ci-operator.yaml `build_root_image` from openshift/release
456df7646 Add alebedev87 to OWNERS
% 

The following commit had a merge conflict, and I noticed that it had drifted over the rebases:

a19338c74 UPSTREAM: <carry>: openshift: Add github.com/openshift/coredns-mdns plugin

The original commit from #14 inexplicably deleted a user at the same time that it added Red Hatters to the list of owners in plugin/chaos/zowners.go. I rewrote the carry so it only adds Red Hatters.

I combined the following commits:

11b3e1445 Updating coredns images to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/3dea8426481b269476342fc0a631273f32ce691e/images/coredns.yml
1bce8b227 UPSTREAM: <carry>: openshift: Updating coredns images to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/691e628254f318ce56efda5edc7448ec743c37b8/images/coredns.yml                                                                                                                                                                                                                 
2750ba410 UPSTREAM: <carry>: openshift: Updating .ci-operator.yaml `build_root_image` from openshift/release
02ea47f29 UPSTREAM: <carry>: openshift: Updating coredns images to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/0c10ae924af72f1c759cf8b24b50de94c02e6268/images/coredns.yml                                                                                                                                                                                                                 
98e03ed71 Updating coredns images to be consistent with ART Reconciling with https://github.com/openshift/ocp-build-data/tree/691e628254f318ce56efda5edc7448ec743c37b8/images/coredns.yml
48fadedfa UPSTREAM: <carry>: openshift: Updating Dockerfile.openshift.rhel7 baseimages to mach ocp-build-data config

I combined these commits into a single "Update builder images" commit, and updated to the Go 1.17 builder for compatibility with Kubernetes 1.23.

I also combined the following commits:

66fcb277a UPSTREAM: <carry>: openshift: Add a product build pipeline Dockerfile
225d3a35d UPSTREAM: <carry>: openshift: Update metadata
2c53ec989 UPSTREAM: <carry>: openshift: Use multistage builds
a8cac43c4 UPSTREAM: <carry>: openshift: Add a RHEL7 Dockerfile and standardize format
78dc38111 UPSTREAM: <carry>: openshift: Optimize COPY directive
8ef04d79a UPSTREAM: <carry>: openshift: Set Dockerfiles to use vendor

I combined these commits into a single "Add a product build pipeline Dockerfile" commit.

I also combined the following commits:

c017c6ef7 UPSTREAM: <carry>: openshift: Update owners
532d55088 UPSTREAM: <carry>: openshift: OWNERS: Add component
6961254ef UPSTREAM: <carry>: openshift: Changed the OWNERS to OpenShift ones
456df7646 Add alebedev87 to OWNERS

Upstream dropped OWNERS in a recent release, so I combined these commits into a single "Add OWNERS" commit.

I dropped the following commit because the mdns plugin is no longer needed in OpenShift (#70 (comment)):

a19338c74 UPSTREAM: <carry>: openshift: Add github.com/openshift/coredns-mdns plugin

miekg and others added 30 commits May 28, 2021 07:08
-p is the default flag in DNS software for setting the port, we use
'dns.port' because of preventing clashes with other caddy software
users. This is no longer an issue, so we can do what we want here.

Add -p to works like -dns.port.

(this PR includes generated manpage, but that shouldn't matter too much)

Signed-off-by: Miek Gieben <miek@miek.nl>
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
* fix ipv6 case for cidr.Class

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add check and test case for invalid ipv6 cidr

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* net package is bad at detecting ipv6/ipv4

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* rename Class -> Split

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
…oredns#4678)

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.26.0 to 0.28.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](prometheus/common@v0.26.0...v0.28.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  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 [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.0-beta.4 to 3.5.0-rc.0.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/CHANGELOG-3.4.md)
- [Commits](etcd-io/etcd@v3.5.0-beta.4...v3.5.0-rc.0)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  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>
Signed-off-by: Licht Takeuchi <licht-t@outlook.jp>
This fixes the rendering of this README as html. The codeblock was
closed with 4 ~, should be 3.

Signed-off-by: Miek Gieben <miek@miek.nl>
…s#4681)

Our GitHub Actions CI is having some issues with `make -f Makefile.doc`
as the related changes that should have triggered the build didn't
work for the past 3 months (since march).

This PR adds verbose to GitHub Actions CI to see if we can get more information.

Note this PR just add `set -x` to show detailed step. Will not impact anything else.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This PR will fix the issue of doc is not automated rendered
through GitHub Actions anymore.

It looks the issue is cause by the fact that in `fixup_file_mtime.sh`
is only fixing files on source (.md) side, not on target (man/*.[1|5|7])
side. As a result Makefile will skip the rendering of doc as
it assume everything will be update to date.

This should fix the issue we were facing.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
* retry initial transfer

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix import grouping

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add test; use backoff timeout

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix import order

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* manual backoff

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Add retry behavior on startup and point to RFC 5936

Signed-off-by: Miek Gieben <miek@miek.nl>
…a. (coredns#4696)

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Since we are using GitHub Actions in CoreDNS repo and we are already
using Dependabot for security/version scans on golang code,
it makes sense to enable security/version scans on GitHub Actions as well.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
@Miciah
Copy link
Author

Miciah commented Jan 24, 2022

Both "TestImportOrdering" and "TestReadme" fail for me when I run make test on my local system with Go 1.17.1. However, the same tests fail on both the "merge-1.8.7" branch of this PR and the openshift/coredns:master branch, so the failures do not seem to be related to this PR.

@Miciah
Copy link
Author

Miciah commented Jan 24, 2022

The "operator conditions network" test in e2e-metal-ipi failed:

Operator progressing (Deploying): DaemonSet "openshift-network-diagnostics/network-check-target" is not available (awaiting 1 nodes)

/test e2e-metal-ipi

@Miciah
Copy link
Author

Miciah commented Jan 24, 2022

/hold

@Miciah
Copy link
Author

Miciah commented Jan 24, 2022

@cybertron tells me that the mDNS plugin is no longer needed, so I am going to drop the following carry and revendor:

a19338c74 UPSTREAM: <carry>: openshift: Add github.com/openshift/coredns-mdns plugin

sgreene570 and others added 4 commits January 24, 2022 15:38
Should be reevaluated next rebase.

Co-authored-by: Ryan Fredette <rfredette@redhat.com>
Disable dependabot in the openshift fork
Co-authored-by: AOS Automation Release Team <noreply@redhat.com>
Co-authored-by: Justin Pierce <jupierce@redhat.com>
Co-authored-by: openshift-bot <openshift-bot@users.noreply.github.com>
Co-authored-by: openshift-ci-robot <openshift-ci-robot@users.noreply.github.com>
@openshift-ci
Copy link

openshift-ci bot commented Jan 24, 2022

@Miciah: This pull request references Bugzilla bug 2043801, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.10.0) matches configured target release for branch (4.10.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @ShudiLi

In response to this:

Bug 2043801: Merge 1.8.7

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.

@openshift-ci
Copy link

openshift-ci bot commented Jan 24, 2022

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: ShudiLi.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@Miciah: This pull request references Bugzilla bug 2043801, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.10.0) matches configured target release for branch (4.10.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @ShudiLi

In response to this:

Bug 2043801: Merge 1.8.7

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.

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.

@Miciah
Copy link
Author

Miciah commented Jan 25, 2022

/retest

@Miciah
Copy link
Author

Miciah commented Jan 25, 2022

Operator degraded (ClusterMemberController_Error::DefragController_Error::EtcdMembers_UnhealthyMembers::StaticPods_Error): ClusterMemberControllerDegraded: unhealthy members found during reconciling members
DefragControllerDegraded: cluster is unhealthy: 2 of 3 members are available, ip-10-0-132-110.us-east-2.compute.internal is unhealthy
EtcdMembersDegraded: 2 of 3 members are available, ip-10-0-132-110.us-east-2.compute.internal is unhealthy
StaticPodsDegraded: pod/etcd-ip-10-0-239-156.us-east-2.compute.internal container "etcd-health-monitor" is waiting: CrashLoopBackOff: back-off 5m0s restarting failed container=etcd-health-monitor pod=etcd-ip-10-0-239-156.us-east-2.compute.internal_openshift-etcd(470bc12f911449c5e0c53d7d459986d9)
StaticPodsDegraded: pod/etcd-ip-10-0-132-110.us-east-2.compute.internal container "etcd" started at 2022-01-25 03:24:07 +0000 UTC is still not ready

/test e2e-aws-upgrade

@Miciah
Copy link
Author

Miciah commented Jan 25, 2022

Lots and lots of failures...
/test e2e-metal-ipi

@openshift-ci
Copy link

openshift-ci bot commented Jan 25, 2022

@Miciah: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-metal-ipi b160188 link false /test e2e-metal-ipi

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@Miciah
Copy link
Author

Miciah commented Jan 25, 2022

https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-openshift-coredns-master-e2e-metal-ipi shows that e2e-metal-ipi has never passed; it shouldn't hold up this PR.

@frobware
Copy link

/lgtm
/skip

@openshift-ci
Copy link

openshift-ci bot commented Jan 25, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: frobware, Miciah

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 25, 2022
@frobware
Copy link

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 25, 2022
@openshift-merge-robot openshift-merge-robot merged commit 3ec1ee7 into openshift:master Jan 25, 2022
@openshift-ci
Copy link

openshift-ci bot commented Jan 25, 2022

@Miciah: All pull requests linked via external trackers have merged:

Bugzilla bug 2043801 has been moved to the MODIFIED state.

In response to this:

Bug 2043801: Merge 1.8.7

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.

@Miciah Miciah mentioned this pull request May 26, 2022
@gcs278 gcs278 mentioned this pull request Sep 27, 2022
@gcs278 gcs278 mentioned this pull request Feb 15, 2023
@gcs278 gcs278 mentioned this pull request Aug 8, 2023
@gcs278 gcs278 mentioned this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.