24651 Commits

Author SHA1 Message Date
Sayan Chowdhury
9cd97c7b88
ci-automation/release: add support for Managed idenities
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-06-25 16:44:37 +05:30
Mathieu Tortuyaux
26f55d8d8f
Merge pull request #2061 from flatcar/mantle-update-flatcar-3815
Upgrade mantle container image to latest HEAD in flatcar-3815
2024-06-25 12:59:29 +02:00
Thilo Fromm
4175817ddd Merge pull request #2056 from flatcar/scripts
sysext_prod_builder: fix build id mismatch
2024-06-25 12:16:02 +02:00
Thilo Fromm
6775b65b81 sysext_prod_builder: fix build id mismatch
This change fixes a version mismatch of FLATCAR_BUILD_ID when performing
a dev build of an existing release tag. The build ID is part of the
version string of dev builds, separated by a "+" from the main version.
If common.sh detects a dev build (COREOS_OFFICIAL != 1) and
FLATCAR_BUILD_ID is empty, common.sh will generate a new ID based on a
timestamp.

For official releases, FLATCAR_BUILD_ID is not set in version.txt. A dev
build of a release tag would make common.sh generate a new ID each time
it is sourced by different processes. build_image sources common.sh
first, and writes the resulting version string the OS image's
os-release file. build_sysext runs later and also sources common.sh,
leading its version check to fail as its own VERSION now differs from
the version of the OS image it's supposed to generate sysexts for.

This change reads BUILD_ID from the OS image rootfs in
sysext_prod_builder and exports FLATCAR_BUILD_ID accordingly before
calling build_sysext. Hence FLATCAR_BUILD_ID is not empty, so common.sh
in build_sysext will not re-generate it.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2024-06-25 12:16:02 +02:00
Flatcar Buildbot
5517f4c334 Update mantle container image to latest HEAD 2024-06-25 09:46:36 +00:00
Sayan Chowdhury
3990dd04d2
New version: stable-3815.2.4 2024-06-25 14:05:52 +05:30
flatcar-ci
c3974ab460 New version: stable-3815.2.3-nightly-20240624-2100 2024-06-24 21:00:26 +00:00
Mathieu Tortuyaux
520979df46
Merge pull request #2053 from flatcar/linux-6.1.95-flatcar-3815
Upgrade Linux Kernel for flatcar-3815 from 6.1.94 to 6.1.95
2024-06-24 16:46:15 +02:00
Flatcar Buildbot
bf92e55ec8 sys-kernel/coreos-sources: Update from 6.1.94 to 6.1.95 2024-06-22 07:14:29 +00:00
flatcar-ci
ee38ddea20 New version: stable-3815.2.3-nightly-20240621-2100 2024-06-21 21:11:50 +00:00
Jeremi Piotrowski
8851f59a88 Merge pull request #1978 from flatcar/scripts
app-emulation/wa-linux-agent: Use networkctl to propagate hostname

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-06-21 10:26:47 +02:00
Kai Lueke
c45da26c46 app-emulation/wa-linux-agent: Use networkctl to propagate hostname
The if-up-down to trigger the DHCP request causes problems. It's better
to directly ask systemd-networkd to issue the request. It seems that
one needs to use "reconfigure" instead of "forcerenew", so I went with
only that instead of somehow trying to see if "forcerenew" has an
effect.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-06-21 10:26:47 +02:00
Kai Lueke
7cc4b4fb3b Revert "app-emulation/wa-linux-agent: Disable interface restarting"
This reverts commit 9556c7f94b932ded3658738d616c2f666a364ba8
because waagent looks for internal hostname changes and wants to
propagate them to the Azure VM properties by issuing a new DHCP request.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-06-21 10:26:47 +02:00
Jeremi Piotrowski
1b26f310f1 Merge pull request #1950 from flatcar/scripts
azure updates
2024-06-21 10:25:44 +02:00
Jeremi Piotrowski
a2407a5ec1 changelog: Add entry for azure-nvme-utils
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-06-21 10:25:25 +02:00
Jeremi Piotrowski
d8e0d52b2e app-admin/azure-nvme-utils: Add to coreos
This is a new package that is being developed to handle providing
symlinks for nvme disks (os,data,temporary) on newer Azure instances.
It needs to be part of the OS, and not oem-azure, because it carries
udev rules.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-06-21 10:25:25 +02:00
Jeremi Piotrowski
39f2139d7a app-emulation/wa-linux-agent: Disable interface restarting
Flatcar prepares /etc/hostname from the initrd through afterburn. After
switching root, systemd-networkd fetches a dhcp lease with the correct
hostname already. This publishes the hostname to the vnet DNS server as
well. When WALinuxAgent starts, it tries to do the same steps: configure
the hostname, bounce the link to force dhcp lease renewal. This has
caused issues in the past with multi-nic configurations but also with
networked services that are trying to use the network (etcd/flanneld).

The link bouncing by WALinuxAgent is not necessary because of Flatcars
boot design, so return without bouncing the link. Tested that DNS from
other VMs in the same vnet works.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-06-21 10:21:48 +02:00
Jeremi Piotrowski
b36fc18724 app-emulation/wa-linux-agent: Update Flatcar patch
When CoreosCommonUtil was factored out, we missed updating the class
name in a call to super(). This results in an error when executing
`/usr/sbin/waagent -force -deprovision+user`. Fix the class name.

Create a compatibility symlink at the old config file location
(/usr/share/oem/waagent.conf) to handle the case of enabling
auto-updates on the agent. The upstream version of the agent does not
have our downstream patch so doesn't know about the updated config file
location. We should upstream our changes.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-06-21 10:21:48 +02:00
flatcar-ci
ea35546799 New version: stable-3815.2.3-nightly-20240619-2100 2024-06-19 21:00:28 +00:00
Mathieu Tortuyaux
20a1dd0628
Merge pull request #2042 from flatcar/mantle-update-flatcar-3815
Upgrade mantle container image to latest HEAD in flatcar-3815
2024-06-19 16:36:47 +02:00
Flatcar Buildbot
6960c6e198 Update mantle container image to latest HEAD 2024-06-19 13:37:02 +00:00
flatcar-ci
82700056fe New version: stable-3815.2.3-nightly-20240617-2100 2024-06-17 21:00:30 +00:00
Mathieu Tortuyaux
c27fe0004f
Merge pull request #2038 from flatcar/linux-6.1.94-flatcar-3815
Upgrade Linux Kernel for flatcar-3815 from 6.1.93 to 6.1.94
2024-06-17 16:44:39 +02:00
Flatcar Buildbot
e2206b5bd4 sys-kernel/coreos-sources: Update from 6.1.93 to 6.1.94 2024-06-17 07:13:25 +00:00
flatcar-ci
7b90b24a9a New version: stable-3815.2.3-nightly-20240613-2100 2024-06-13 21:00:28 +00:00
Mathieu Tortuyaux
1d26bb9e2f
Merge pull request #2033 from flatcar/linux-6.1.93-flatcar-3815
Upgrade Linux Kernel for flatcar-3815 from 6.1.92 to 6.1.93
2024-06-13 17:23:43 +02:00
Flatcar Buildbot
b2bf2dc9b0 sys-kernel/coreos-sources: Update from 6.1.92 to 6.1.93 2024-06-13 07:12:54 +00:00
flatcar-ci
b9246326d9 New version: stable-3815.2.3-nightly-20240610-2100 2024-06-10 21:00:25 +00:00
Mathieu Tortuyaux
a5ec2c41d6
Merge pull request #2023 from flatcar/cacerts-3.101-flatcar-3815
Update ca-certificates in flatcar-3815 from 3.100 to 3.101
2024-06-10 14:30:33 +02:00
Flatcar Buildbot
1771d3ba78 app-misc/ca-certificates: Update from 3.100 to 3.101 2024-06-10 07:20:24 +00:00
flatcar-ci
a83d993732 New version: stable-3815.2.3-nightly-20240606-2100 2024-06-06 21:00:27 +00:00
flatcar-ci
1080468a09 New version: stable-3815.2.3-nightly-20240530-2100 2024-05-30 21:00:27 +00:00
flatcar-ci
3badbf52ac New version: stable-3815.2.3-nightly-20240528-2100 2024-05-28 21:00:26 +00:00
Mathieu Tortuyaux
ea90eb015e
Merge pull request #2005 from flatcar/linux-6.1.92-flatcar-3815
Upgrade Linux Kernel for flatcar-3815 from 6.1.91 to 6.1.92
2024-05-28 09:30:48 +02:00
Flatcar Buildbot
be867ad9a9 sys-kernel/coreos-sources: Update from 6.1.91 to 6.1.92 2024-05-26 07:12:35 +00:00
flatcar-ci
b8ef258168 New version: stable-3815.2.2-nightly-20240523-2100 2024-05-23 21:00:27 +00:00
Mathieu Tortuyaux
4821a4adfd
Merge pull request #1993 from flatcar/linux-6.1.91-flatcar-3815
Upgrade Linux Kernel for flatcar-3815 from 6.1.90 to 6.1.91
2024-05-23 18:13:14 +02:00
Dongsu Park
c37f704be8
Merge pull request #1999 from flatcar/mantle-update-flatcar-3815
Upgrade mantle container image to latest HEAD in flatcar-3815
2024-05-23 10:20:59 +02:00
Flatcar Buildbot
0e32b1c4b8 Update mantle container image to latest HEAD 2024-05-22 15:52:40 +00:00
Dongsu Park
8641e452f7 New version: stable-3815.2.3 stable-3815.2.3 2024-05-21 11:11:17 +02:00
Flatcar Buildbot
dba65b96b1 sys-kernel/coreos-sources: Update from 6.1.90 to 6.1.91 2024-05-18 07:12:02 +00:00
flatcar-ci
d6b8ced241 New version: stable-3815.2.2-nightly-20240517-2100 2024-05-17 21:00:30 +00:00
Dongsu Park
0ca1eeefa1
Merge pull request #1971 from flatcar/linux-6.1.90-flatcar-3815
Upgrade Linux Kernel for flatcar-3815 from 6.1.87 to 6.1.90
2024-05-17 16:20:57 +02:00
flatcar-ci
6f57ea152e New version: stable-3815.2.2-nightly-20240516-2100 2024-05-16 21:00:24 +00:00
flatcar-ci
9570ffdb27 New version: stable-3815.2.2-nightly-20240514-2100 2024-05-14 21:00:25 +00:00
Dongsu Park
ccede334b1
Merge pull request #1986 from flatcar/cacerts-3.100-flatcar-3815
Update ca-certificates in flatcar-3815 from 3.99 to 3.100
2024-05-14 12:25:28 +02:00
Dongsu Park
6b0550a4aa overlay sys-kernel/coreos-sources: adjust revert-pahole-flags patch
Adjust z0002-revert-pahole-flags.patch to make it appliable with Kernel
6.1.90 or newer, because upstream Kernel changed init/Kconfig.

See also
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.90&id=9f882077f5180a280e96ddf423f2814f90c4f7bf.
2024-05-13 16:55:13 +02:00
Kai Lueke
72cd66fa2d sys-kernel/coreos-sources: Restore the section for the dm-verity hash
This reverts the commit that removes the section where Flatcar has the
dm-verity hash for /usr stored.
In the future we might store it in the initrd or at the end of the
bzImage.
2024-05-13 16:55:04 +02:00
Flatcar Buildbot
0432420a4c app-misc/ca-certificates: Update from 3.99 to 3.100 2024-05-13 07:20:21 +00:00
flatcar-ci
065842061b New version: stable-3815.2.2-nightly-20240509-2100 2024-05-09 21:00:27 +00:00