Skip to content

Commit 314ee97

Browse files
authored
Revert failCGroupv1 image-builder patch (#5146)
1 parent a2c45d0 commit 314ee97

19 files changed

Lines changed: 57 additions & 84 deletions

projects/kubernetes-sigs/image-builder/patches/0001-OVA-improvements.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 6aed2d6d104d0e1caf2a5ef8477f67e93a4b04be Mon Sep 17 00:00:00 2001
1+
From 167f39fe418ffe081a28e7895a95676704a4a749 Mon Sep 17 00:00:00 2001
22
From: Vignesh Goutham Ganesh <vgg@amazon.com>
33
Date: Tue, 11 Jan 2022 21:05:13 -0800
4-
Subject: [PATCH 01/19] OVA improvements
4+
Subject: [PATCH 01/18] OVA improvements
55

66
- Create /etc/pki/tls/certs dir as part of image-builds
77
- Tweak Product info in OVF
@@ -74,5 +74,5 @@ index f189b2c93..3524b8d13 100644
7474
"enable_disk_packing": "true",
7575
"existing_ansible_ssh_args": "{{env `ANSIBLE_SSH_ARGS`}}",
7676
--
77-
2.45.2
77+
2.50.1 (Apple Git-155)
7878

projects/kubernetes-sigs/image-builder/patches/0002-EKS-D-support-and-changes.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 19941a18dde1d3aeba12e7eb8555507604d8e0ba Mon Sep 17 00:00:00 2001
1+
From fe0852d73259e333ad4052a469dc1fcbf21e3c11 Mon Sep 17 00:00:00 2001
22
From: Vignesh Goutham Ganesh <vgg@amazon.com>
33
Date: Tue, 11 Jan 2022 18:36:56 -0800
4-
Subject: [PATCH 02/19] EKS-D support and changes
4+
Subject: [PATCH 02/18] EKS-D support and changes
55

66
- Add goss validations for EKS-D artifacts
77
- Add etcdadm and etcd.tar.gz to image for unstacked etcd support
@@ -314,4 +314,5 @@ index 512f5e0d1..0a9c4247b 100644
314314
"version": "{{user `goss_version`}}"
315315
}
316316
--
317-
2.45.2
317+
2.50.1 (Apple Git-155)
318+

projects/kubernetes-sigs/image-builder/patches/0003-Snow-AMI-support.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From d97dfb1765cd6e85cb871a870a7351eaa9c9bd46 Mon Sep 17 00:00:00 2001
1+
From 7afc506f09cd4cbd09596e75f089f48322342353 Mon Sep 17 00:00:00 2001
22
From: Abhay Krishna Arunachalam <arnchlm@amazon.com>
33
Date: Thu, 2 Feb 2023 01:39:15 -0800
4-
Subject: [PATCH 03/19] Snow AMI support
4+
Subject: [PATCH 03/18] Snow AMI support
55

66
---
77
images/capi/packer/ami/packer.json | 12 ++++++++++--
@@ -50,5 +50,5 @@ index d711fb271..6461762a2 100644
5050
+}
5151
\ No newline at end of file
5252
--
53-
2.45.2
53+
2.50.1 (Apple Git-155)
5454

projects/kubernetes-sigs/image-builder/patches/0004-RHEL-support-and-improvements.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 036e7c0340c406daaa7223d893f010555b0f0cc9 Mon Sep 17 00:00:00 2001
1+
From 177af49c6a7bcab30b519e6a2d3ed5bf85b0c64a Mon Sep 17 00:00:00 2001
22
From: Vignesh Goutham Ganesh <vgg@amazon.com>
33
Date: Tue, 6 Dec 2022 15:42:02 -0600
4-
Subject: [PATCH 04/19] RHEL support and improvements
4+
Subject: [PATCH 04/18] RHEL support and improvements
55

66
- Fix redhat 9 cloud-init feature flags bug
77
- Fix ensure iptables present for rhel
@@ -171,4 +171,5 @@ index 030e7f5cf..d9240c4df 100644
171171
+ lock_timeout: 60
172172
+ when: ansible_os_family == "RedHat" and ansible_distribution == "RedHat" and ansible_distribution_major_version == "9"
173173
--
174-
2.45.2
174+
2.50.1 (Apple Git-155)
175+

projects/kubernetes-sigs/image-builder/patches/0005-Nutanix-improvements.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From e0305f3f092a6f439c38304a5b9cc29c27b16f8f Mon Sep 17 00:00:00 2001
1+
From 4576e31105e5d9c3c7da5098c56c9f02d1d00b52 Mon Sep 17 00:00:00 2001
22
From: Ilya Alekseyev <ilya.alekseyev@nutanix.com>
33
Date: Wed, 11 Oct 2023 22:07:22 -0400
4-
Subject: [PATCH 05/19] Nutanix improvements
4+
Subject: [PATCH 05/18] Nutanix improvements
55

66
- Fetch Nutanix RHEL source image URL from environment
77
- Force-delete Nutanix builder VMs on failure
@@ -63,5 +63,5 @@ index b7dddb4f2..31748c84b 100644
6363
"shutdown_command": "shutdown -P now",
6464
"user_data": "I2Nsb3VkLWNvbmZpZwp1c2VyczoKICAtIG5hbWU6IGJ1aWxkZXIKICAgIHN1ZG86IFsnQUxMPShBTEwpIE5PUEFTU1dEOkFMTCddCmNocGFzc3dkOgogIGxpc3Q6IHwKICAgIGJ1aWxkZXI6YnVpbGRlcgogIGV4cGlyZTogRmFsc2UKc3NoX3B3YXV0aDogVHJ1ZQ=="
6565
--
66-
2.45.2
66+
2.50.1 (Apple Git-155)
6767

projects/kubernetes-sigs/image-builder/patches/0006-adds-retries-and-timeout-to-packer-image-builder.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 70f0d1221d411e8202bfcdb82b207bb04ca579f1 Mon Sep 17 00:00:00 2001
1+
From 847dfdfea8893be06fee6822048f50af466219bb Mon Sep 17 00:00:00 2001
22
From: Shizhao Liu <lshizhao@amazon.com>
33
Date: Wed, 5 Nov 2025 14:02:23 -0800
4-
Subject: [PATCH 06/19] adds retries and timeout to packer image-builder
4+
Subject: [PATCH 06/18] adds retries and timeout to packer image-builder
55

66
Add retries and timeouts to ansible tasks, also allow user specify
77
ssh_timeout and ssh_handshake_attempts through user input.
@@ -205,4 +205,5 @@ index 0a9c4247b..ca4a4b6b9 100644
205205
"type": "qemu",
206206
"vm_name": "{{user `vm_name`}}"
207207
--
208-
2.45.2
208+
2.50.1 (Apple Git-155)
209+

projects/kubernetes-sigs/image-builder/patches/0007-Networking-improvements.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From bca3d19b6736e6dd84de3e828e85ad05fdb88868 Mon Sep 17 00:00:00 2001
1+
From 625d899972bb2676ff02c08911dc01153983f5dc Mon Sep 17 00:00:00 2001
22
From: Taylor Neyland <tneyla@amazon.com>
33
Date: Wed, 19 Jul 2023 12:51:30 -0500
4-
Subject: [PATCH 07/19] Networking improvements
4+
Subject: [PATCH 07/18] Networking improvements
55

66
- Disable UDP offload service for Redhat and Ubuntu
77
- Default Flatcar version to avoid pulling from internet on every make
@@ -125,5 +125,5 @@ index 186361925..ba57019c8 100644
125125
+ state: stopped
126126
+ when: ansible_distribution_version is version('22.04', '>=')
127127
--
128-
2.45.2
128+
2.50.1 (Apple Git-155)
129129

projects/kubernetes-sigs/image-builder/patches/0008-Support-and-improvements-for-RHEL-9-EFI.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From b27cadaaed5ddff062d7f3e94a9be0c6ce8ef74a Mon Sep 17 00:00:00 2001
1+
From 2f14f5fc3e423de63b1320252d4a90fb7b5fc603 Mon Sep 17 00:00:00 2001
22
From: Shizhao Liu <lshizhao@amazon.com>
33
Date: Mon, 19 Aug 2024 10:14:26 -0700
4-
Subject: [PATCH 08/19] Support and improvements for RHEL 9 EFI
4+
Subject: [PATCH 08/18] Support and improvements for RHEL 9 EFI
55

66
1. Remove 2 unwanted partitions (the swap partition and /boot
77
partition).
@@ -50,5 +50,5 @@ index 23cd4ed34..586c063a8 100644
5050
+parted -s /dev/sda set 2 esp on
5151
+%end
5252
--
53-
2.45.2
53+
2.50.1 (Apple Git-155)
5454

projects/kubernetes-sigs/image-builder/patches/0009-Pin-Packer-Goss-plugin-version-to-3.1.4.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From debaa7b8be150c00fabb288616d864159b3756c8 Mon Sep 17 00:00:00 2001
1+
From 20a289f8a52a0a9d98ba120d1e66de2a698c1578 Mon Sep 17 00:00:00 2001
22
From: Abhay Krishna Arunachalam <arnchlm@amazon.com>
33
Date: Thu, 19 Sep 2024 15:36:00 -0700
4-
Subject: [PATCH 09/19] Pin Packer Goss plugin version to 3.1.4
4+
Subject: [PATCH 09/18] Pin Packer Goss plugin version to 3.1.4
55

66
Upstream image-builder moved from installing packer-provisioner-goss through a script to installing it
77
via Packer config (https://github.com/kubernetes-sigs/image-builder/commit/c0b70ae37c4aac14c156fc7b907a9b35147757df).
@@ -27,5 +27,5 @@ index 2c5e1f293..28e76f2a7 100644
2727
}
2828
}
2929
--
30-
2.45.2
30+
2.50.1 (Apple Git-155)
3131

projects/kubernetes-sigs/image-builder/patches/0010-Remove-containerd-configuration-for-hosts.toml-paths.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From 4657712fc9c051a324032348bf812ad68b799edd Mon Sep 17 00:00:00 2001
1+
From 686f27f3efdb3b898e0a3cb86eeb0fff2808f7c7 Mon Sep 17 00:00:00 2001
22
From: Abhay Krishna Arunachalam <arnchlm@amazon.com>
33
Date: Thu, 19 Sep 2024 16:04:19 -0700
4-
Subject: [PATCH 10/19] Remove containerd configuration for hosts.toml paths
4+
Subject: [PATCH 10/18] Remove containerd configuration for hosts.toml paths
55

66
In EKS Anywhere, we're still using the older containerd config template (v2), so setting the
77
config_path in the containerd config file causes errors like "invalid plugin config: `mirrors`
@@ -45,5 +45,5 @@ index 2625d6e58..cc31ee17e 100644
4545
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
4646
runtime_type = "io.containerd.runc.v2"
4747
--
48-
2.45.2
48+
2.50.1 (Apple Git-155)
4949

0 commit comments

Comments
 (0)