-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Fix etcd_events not getting upgraded in upgrade-cluster.yml #8550
Conversation
Signed-off-by: Mac Chaffee <[email protected]>
Hi @mac-chaffee. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Nice catch, /ok-to-test |
Thanks @mac-chaffee /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cristicalin, mac-chaffee 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 |
* master: Configure Etcd container_manager explicitly (kubernetes-sigs#8521) Fix print_hostnames of inventory.py (kubernetes-sigs#8554) Fix etcd_events not getting upgraded in upgrade-cluster.yml (kubernetes-sigs#8550) nerdctl: upgrade to 0.16.1 (kubernetes-sigs#8539) Allow pausing after upgrade but before uncordon (kubernetes-sigs#8530) [calico] upgrade release checksums (kubernetes-sigs#8544) Allow to specify a source address for metallb peerings, and target only some nodes using node selectors (kubernetes-sigs#8534) add support for Dual Stack node InternalIP (kubernetes-sigs#8542) terraform/gcp: Allow to change extra disk types (kubernetes-sigs#8524) add support for Calico IP6_AUTODETECTION_METHOD (kubernetes-sigs#8541) implement download mirrors support (kubernetes-sigs#8474) Fix: Error when creating subnets more than AZ (kubernetes-sigs#8516) feat(offline): Improve generate_list.sh to generate offline file list using ansible (kubernetes-sigs#8537) (kubernetes-sigs#8538) docs: Update offline-environment.md for containerd (kubernetes-sigs#8520) (kubernetes-sigs#8523) Change Cilium setting identity_allocation_mode to cilium_identity_allocation_mode (kubernetes-sigs#8519) Fix wrong port name in metallb.yml.j2 (kubernetes-sigs#8510)
…es-sigs#8550) Signed-off-by: Mac Chaffee <[email protected]>
…es-sigs#8550) Signed-off-by: Mac Chaffee <[email protected]>
…es-sigs#8550) Signed-off-by: Mac Chaffee <[email protected]>
What type of PR is this?
/kind bug
What this PR does / why we need it:
When running upgrade-cluster.yml, this PR makes it so that updates to etcd-events actually get applied (if enabled), just like regular etcd. This matches the behavior of cluster.yml, which does properly apply etcd-events updates:
kubespray/cluster.yml
Lines 46 to 48 in 063fc52
Since the code I edited explicitly sets
etcd_cluster_setup: true
already, that indicates that we should be applying etcd updates at this phase, which ought to include etcd-events as well (if enabled).This has been a bug for a long time but only recently became visible when the 2.18 upgrade changed the port number of etcd-events (#8232 ). Since that update does get applied to kube-apiserver but doesn't get applied to etcd-events itself, it causes upgrades to 2.18 to fail. May want to cherry-pick into 2.18, if possible.
Which issue(s) this PR fixes:
Fixes #8549
Special notes for your reviewer:
Does this PR introduce a user-facing change?: