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 1994457: Update to kubernetes 1.21.4 #888

Merged
merged 167 commits into from
Sep 17, 2021

Conversation

DhritiShikhar
Copy link

@DhritiShikhar DhritiShikhar commented Aug 17, 2021

Special notes for your reviewer:

Conflicts can be verified in 8b40b8732fe6f7b767cf2f4630fd74384228761a

Git log

286709307da (tag: v1.21.2-rc.0) Release commit for Kubernetes v1.21.2-rc.0
14df10f60bb Update CHANGELOG/CHANGELOG-1.21.md for v1.21.1
b047b4c23ad Make watch order conformance test reliable
f204fd30d0d Ref counting is only applicable to Remote endpoints
91ce2b1f7f1 Azure: avoid setting cached Sku when updating VMSS and VMSS instances
cd34e81abae fix: delete non existing disk issue
dc12c607582 kubelet: reuse manager
578d22ab644 pkg/kubelet/nodeshutdown/systemd: fix for dbus 5.0.4
5eea5478ae4 vendor: bump runc to rc95
37d50b825dd Set cgroups via opencontainer
f283c607428 Fix expired unit test certs
02e92912478 Remove unnecessary quotes from get-kube scripts
6732b634957 Respect annotation size limit for SSA last-applied.
8717fcf8bec Upgrade konnectivity-client for GRPC connection fixes
d2e8584ff19 Update debian-iptables to buster-v1.6.1
72600375068 Update debian-base to buster-v1.7.0
98e8c648fe5 Update etcd image revision
d5c699de51d kubeadm: remove e2e test for ClusterStatus
c3d8507df1b Update setcap to buster-v2.0.1 and add setcap to dependencies.yaml
539bb658531 fix error of setting negative value for containerLogMaxSize
438f0d695c2 Fix VolumeAttachment garbage collection for migrated PVs
ae40fd73208 (scheduler e2e) Create balanced pods in parallel
38a41e15576 use subpath for coredns only for default repository
19e8f2bab0c Return UnschedulableAndUnresolvable instead of Error when failing to lookup pvc or storageclass in VolumeZone plugin
a62c5dc20a2 Return UnschedulableAndUnresolvable when looking up volume-related resources returns NotFound error
b0daa8fa4ea serviceOwnsFrontendIP shouldn't report error when the public IP doesn't match
46b90a00e5d Fix closing of decorated watcher channel on timeout
154a5538a5c Revert "Cleanup portforward streams after their usage"
4977a4c2085 sched: fix a bug that a preemptor pod exists as a phantom
99b213bba67 endpointslicemirroring controller mirror address status
4033f7a5691 feat: remove ephemeral-storage etcd requirement
ddf5532facb Update to go1.16.5
ef0beb2cf70 client-go: reduce log level of reflector again
2cf51ac8b12 Remove error wrap from logs
f7e8a1ec257 strip prefix 'v' in coredns version if exists
092fbfbf534 (tag: v1.21.2) Release commit for Kubernetes v1.21.2
ad0c897c883 (tag: v1.21.3-rc.0) Release commit for Kubernetes v1.21.3-rc.0
3aeb38302e5 Update CHANGELOG/CHANGELOG-1.21.md for v1.21.2
9eac5b50dda Do not throw error when we can't get canonical path
22d66e792d7 fix: cleanup outdated routes
afa278757d2 fix: Refresh VM cache when node is not found
2cb3e1de2e5 Fix Node Resources plugins score when there are pods with no requests
2fdb62fcdf8 Fix frameworkImpl.extenders being not set
3e12efadd4e Fix race in attachdetach tests
6effb43f755 Loadbalancer IngressIP policy should be configured as non-DSR to enable routing mesh by default
318677cc93e generate scheduler merge patches on the pod status instead of the full pod
44d4c4fe69f Bump SMD to v4.1.2 to pick up #102749 fix
aac1ab5152b Remove extra zone test
e07463492f5 wait for endpoints to be available
a47bc4e390a fix: return empty VMAS name if using standalone VM
d4da53771f4 Simplify use of the fake dynamic client
73bbff81403 Update to go1.16.6
60ebb8b667a Update debian-base image to buster-v1.8.0
2d6dd4e284e Update debian-iptables image to buster-v1.6.5
0ce3bf060e2 Update setcap image to buster-v2.0.3
8ceaecb07d4 Fix the code is leaking the defaulting between unrelated pod instances
8853e418c10 Updated to use konnectivity client v0.0.21, and implemented placeholder context
131ff61bf1 move upgrade test frameworks closer to Describe
ca643a4d1f7 (tag: v1.21.3) Release commit for Kubernetes v1.21.3
ff7c569f157 (tag: v1.21.4-rc.0) Release commit for Kubernetes v1.21.4-rc.0
1c29b7706e7 Update CHANGELOG/CHANGELOG-1.21.md for v1.21.3
01da25eaef1 Fix panic in master upgrade tests
41d51d2daf6 kubelet: do not call RemoveAll on volumes directory for orphaned pods
e62a8123296 update comments and owners file for pkg/util/removeall
a7a15f4d851 storage e2e: automate hostpath YAML updates, hostpath v1.6.2
d2fa4479bc8 storage e2e: disable health check containers
a9543fbfdfe storage e2e: downgrade hostpath driver
38ec624c919 storage e2e: patch in RBAC rules for secrets
5b5655c48d7 Update pd csi driver images to use v1 images (CSINode, CSIDriver, etc)
c6304d0287c disable aufs module
3ab6a85abe7 Make CSR cleaner tolerate objects with invalid status.certificate
21836789d33 Update to using apiserver-network-proxy v1.22
4f462a0f6d9 feat: Provide IPv6 support for internal load balancer
0ac9e77a292 Fix: ignore not a VMSS error for VMAS nodes in reconcileBackendPools
c37bf8c3cf1 Fix disruptive subPath test failures
961a35ed44d Update configure-helper.sh
88f2a255530 Update configure-helper.sh
caac1b7fcf8 Update configure-helper.sh
77dcc9b53c7 Fix metrics reporting for the deprecated watch path
3ab23b9f198 Update to go1.16.7
98d37747d8f Avoid spurious calls to update/delete validation
3cce4a82b44 (tag: v1.21.4) Release commit for Kubernetes v1.21.4

p0lyn0mial and others added 30 commits April 30, 2021 09:51
… controller

Not all objects provide metadata. There might be extention servers that allow for creating objects without the metadata field.

This PR changes the managedFileds admission to deal with objects without the metadata field.
Object without that field will be passed directly to the wrapped admission controller for further validation.
This installer image should be compatible with COS-M85 images,
specifically `cos-85-13310-1041-9`
A recent refactoring of these tests to use common pod functions requires that the StorageClassTest's Client be set.
This updates the "Invalid AWS KMS key" test to set its Client similar to other tests in the file.
…ck-of-#101950-upstream-release-1.21

Automated cherry pick of kubernetes#101950: Make watch order conformance test reliable
…-pick-of-#101737-upstream-release-1.21

Automated cherry pick of kubernetes#101737: Use CSI driver to determine unique name for migrated in-tree
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
dbus 5.0.4 adds StoreProperty method which needs to be implemented for
the mock.

Fixes the errors like

> pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go:88:9: cannot use f.fakeDBusObject (variable of type *fakeDBusObject) as dbus.BusObject value in return statement: missing method StoreProperty

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
…ick-of-#101358-upstream-release-1.21

Automated cherry pick of kubernetes#101358: Ref counting is only applicable to Remote endpoints
runc rc95 contains a fix for CVE-2021-30465.

runc rc94 provides fixes and improvements.

One notable change is cgroup manager's Set now accept Resources rather
than Cgroup (see opencontainers/runc#2906).
Modify the code accordingly.

Also update runc dependencies (as hinted by hack/lint-depdendencies.sh):

        github.com/cilium/ebpf v0.5.0
        github.com/containerd/console v1.0.2
        github.com/coreos/go-systemd/v22 v22.3.1
        github.com/godbus/dbus/v5 v5.0.4
        github.com/moby/sys/mountinfo v0.4.1
        golang.org/x/sys v0.0.0-20210426230700-d19ff857e887
        github.com/google/go-cmp v0.5.4
        github.com/kr/pretty v0.2.1
        github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This sets cgroup config via libcontainer to make sure we apply the
correct values to the systemd slices and scopes.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
…pick-of-#102147-upstream-release-1.21

Automated cherry pick of kubernetes#102147: vendor: bump runc to rc95
…ck-of-#102224-upstream-release-1.21

Automated cherry pick of kubernetes#102224: Fix expired unit test certs
To support CSA and SSA interoperability, SSA updates the CSA
last-applied annotation.

This change ensures we don't set a big last-applied annotation if the
value is over the annotation limits.

Also, make sure that it's possible to opt-out of this behavior by
setting the CSA annotation to "" the empty string.
@openshift-ci-robot
Copy link

@DhritiShikhar: the contents of this pull request could not be automatically validated.

The following commits could not be validated and must be approved by a top-level approver:

@DhritiShikhar
Copy link
Author

/test e2e-aws

@vrutkovs
Copy link
Member

/retest

@soltysh
Copy link

soltysh commented Sep 15, 2021

/override ci/prow/verify-commits
that will never pass on a k8s update.

/test e2e-metal-ipi
/test e2e-metal-ipi-ovn-ipv6
/test e2e-metal-ipi-ovn-dualstack

@soltysh soltysh removed the backports/unvalidated-commits Indicates that not all commits come to merged upstream PRs. label Sep 15, 2021
@openshift-ci
Copy link

openshift-ci bot commented Sep 15, 2021

@soltysh: Overrode contexts on behalf of soltysh: ci/prow/verify-commits

In response to this:

/override ci/prow/verify-commits
that will never pass on a k8s update.

/test e2e-metal-ipi
/test e2e-metal-ipi-ovn-ipv6
/test e2e-metal-ipi-ovn-dualstack

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.

Copy link

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 15, 2021
@openshift-ci
Copy link

openshift-ci bot commented Sep 15, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: DhritiShikhar, soltysh

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 15, 2021
@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@DhritiShikhar
Copy link
Author

/test e2e-metal-ipi-ovn-dualstack

@sdodson
Copy link
Member

sdodson commented Sep 15, 2021

/bugzilla refresh

@openshift-ci
Copy link

openshift-ci bot commented Sep 15, 2021

@sdodson: This pull request references Bugzilla bug 1994457, which is valid. The bug has been moved to the POST state.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.8.z) matches configured target release for branch (4.8.z)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1986003 is in the state VERIFIED, which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 1986003 targets the "4.9.0" release, which is one of the valid target releases: 4.9.0
  • bug has dependents

Requesting review from QA contact:
/cc @wangke19

In response to this:

/bugzilla refresh

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 openshift-ci bot requested a review from wangke19 September 15, 2021 18:32
@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@hardys
Copy link

hardys commented Sep 16, 2021

[patch-manager] Approving cherry pick with score 1.0

@hardys hardys added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Sep 16, 2021
@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@soltysh
Copy link

soltysh commented Sep 16, 2021

/override ci/prow/verify-commits
that will never pass on a k8s update.

/retest-required

@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link

openshift-ci bot commented Sep 16, 2021

@soltysh: Overrode contexts on behalf of soltysh: ci/prow/verify-commits

In response to this:

/override ci/prow/verify-commits
that will never pass on a k8s update.

/retest-required

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-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 629569a into openshift:release-4.8 Sep 17, 2021
@openshift-ci
Copy link

openshift-ci bot commented Sep 17, 2021

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

Bugzilla bug 1994457 has been moved to the MODIFIED state.

In response to this:

Bug 1994457: Update to kubernetes 1.21.4

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.

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. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. lgtm Indicates that a PR is ready to be merged. vendor-update Touching vendor dir or related files
Projects
None yet
Development

Successfully merging this pull request may close these issues.