Commit Graph

27934 Commits

Author SHA1 Message Date
Kai Lüke
f06ebd3692
Merge pull request #1978 from flatcar/kai/azure-hostname
app-emulation/wa-linux-agent: Use networkctl to propagate hostname
2024-05-03 23:12:40 +09:00
Jendrik Weise
cd849d6849 sysext: Add podman sysext
Enabled user session dbus in base image to support podman rootless mode.
Extension images can now be created from multiple packages by seperating
them with a comma. The podman sysext includes app-containers/podman and
net-misc/passt.
It can be enabled by adding podman to /etc/flatcar/enabled-sysext.conf.
Potential TODO: gpgme had to be added as BDEPEND to podman ebuild.
2024-05-03 22:59:36 +09:00
Kai Lueke
6d6ffc025e 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.
2024-05-03 20:44:51 +09:00
Kai Lueke
08d60880ff Revert "app-emulation/wa-linux-agent: Disable interface restarting"
This reverts commit 9556c7f94b
because waagent looks for internal hostname changes and wants to
propagate them to the Azure VM properties by issuing a new DHCP request.
2024-05-03 20:37:34 +09:00
Kai Lüke
425a6df565
Merge pull request #1974 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2024-05-03 19:53:47 +09:00
Flatcar Buildbot
de844fcef9 Update mantle container image to latest HEAD 2024-05-03 10:26:07 +00:00
Flatcar Buildbot
5ce9e14fec sys-kernel/coreos-sources: Update from 6.6.28 to 6.6.30 2024-05-03 07:12:18 +00:00
flatcar-ci
4450bb6d1b New version: main-3958.0.0-nightly-20240502-2100 2024-05-02 21:00:25 +00:00
Kai Lüke
0e8527c5f4
Merge pull request #1967 from flatcar/kai/gh-extensions
.github: Add Flatcar extensions to vm-images artifact
2024-05-02 22:50:52 +09:00
Kai Lueke
5055ad99bb .github: Add Flatcar extensions to vm-images artifact
The Flatcar extensions get built by the GitHub PR CI but only their
content files get archived. Add the .raw image itself so that one can
copy it into the image (downloading it at boot time won't work because
this uses bincache - so one could get an extension image in case the but
version happens to match but it won't be the one that was built in the
GitHub CI).
2024-05-02 19:05:15 +09:00
Flatcar Buildbot
158314047b portage-stable/metadata: Monthly GLSA metadata updates 2024-05-01 07:18:57 +00:00
flatcar-ci
374e5764f9 New version: main-3956.0.0-nightly-20240430-2100 2024-04-30 21:00:24 +00:00
Adrian Vladu
d313533152
Merge pull request #1962 from flatcar/ader1990/add_kubevirt_image_support
image: add kubevirt image build
2024-04-30 10:43:21 +03:00
Adrian Vladu
6efe345d89 image: add kubevirt image build
As Ignition supports KubeVirt, add a custom oem for it and also the
required parts to be able to build an image in .qcow2 format that
is already using internal .qcow2 gzip compression.

Fixes: https://github.com/flatcar/Flatcar/issues/1358

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-04-30 09:19:16 +03:00
flatcar-ci
00e7839540 New version: main-3955.0.0-nightly-20240429-2100 2024-04-29 21:00:27 +00:00
Kai Lüke
0141b6f156
Merge pull request #1952 from flatcar/kai/gc-release
Migrate release AMI gc to ci-automation
2024-04-29 14:03:24 +02:00
flatcar-ci
76649556b0 New version: main-3952.0.0-nightly-20240426-2100 2024-04-27 02:32:20 +00:00
flatcar-ci
3b22a30050 New version: main-3952.0.0-nightly-20240426-2100-INTERMEDIATE 2024-04-26 21:00:25 +00:00
Dongsu Park
2f0e9ca9cb
Merge pull request #1956 from flatcar/containerd-1.7.16-main
Upgrade Containerd in main from 1.7.15 to 1.7.16
2024-04-26 13:16:41 +02:00
Flatcar Buildbot
3a7330f697 app-containers/containerd: Update from 1.7.15 to 1.7.16 2024-04-26 08:16:43 +00:00
Mathieu Tortuyaux
59842e9ee7
Merge pull request #1953 from flatcar/tormath1/image-ext
vm_image_util: produce qcow2 images for Scaleway
2024-04-26 09:48:29 +02:00
Mathieu Tortuyaux
0a7819a5f0
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:47:29 +02:00
Mathieu Tortuyaux
9dfcbe201b
ci-automation/vm: do not compress Scaleway images
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:47:29 +02:00
Mathieu Tortuyaux
9f02c8d262
vm_image_util: produce qcow2 images for Scaleway
For importing Scaleway images, extension needs to be '.qcow2'

See: https://www.scaleway.com/en/docs/compute/instances/how-to/snapshot-import-export-feature/
> Make sure that the QCOW / QCOW2 image file you want to import,
> uses the file extension .qcow or .qcow2 to avoid issues while importing the image.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:47:29 +02:00
Mathieu Tortuyaux
5c2a8cf8b9
vm_image_util: add IMAGE_DISK_EXTENSION variable
This variable allows to override the disk extension which is initially
based on the DISK_FORMAT.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:47:29 +02:00
flatcar-ci
038ec80ec0 New version: main-3951.0.0-nightly-20240425-2100 2024-04-25 21:00:28 +00:00
Krzesimir Nowak
ed642d106b
Merge pull request #1949 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-04-22
Weekly portage-stable package updates 2024-04-22
2024-04-25 17:16:42 +02:00
Krzesimir Nowak
eb19d6916f changelog: Add entries 2024-04-25 17:15:51 +02:00
Jeremi Piotrowski
0d40f3cba6
Merge pull request #1950 from flatcar/jepio/azure-fixes
Update Azure patch.
Add azure-nvme-utils for nvme symlinks.
Disable interface restart during waagent init on Azure.
2024-04-25 15:34:26 +02:00
Jeremi Piotrowski
9169dfd9f2
Merge pull request #1954 from flatcar/jepio/grub-cfg-tweaks
grub cfg tweaks
2024-04-25 12:21:17 +02:00
Jeremi Piotrowski
f53f1af51e grub_install: Add btrfs to core modules
The OEM partition is on a btrfs file system and grub has to be able to
read grub.cfg from there so it makes sense to include btrfs in core
modules. This avoids all other fs modules from being autoloaded during
boot.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-25 12:20:19 +02:00
Jeremi Piotrowski
e78a59cc65 grub_install: Use hd0,gpt1 as a hint when searching for root
In the context of load.cfg in the memdisk, root is set to memdisk, so
passing it as a hint to search is not helpful. While we don't know for
sure whether hd0 is the boot disk, it's a safe hint for most situations.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-25 12:20:19 +02:00
Dongsu Park
d669e08645
Merge pull request #1931 from flatcar/linux-6.6.28-main
Upgrade Linux Kernel for main from 6.6.21 to 6.6.28
2024-04-25 09:03:28 +02:00
flatcar-ci
5ec9031e9d New version: main-3950.0.0-nightly-20240424-2100 2024-04-24 21:00:27 +00:00
Jeremi Piotrowski
7a1a004700 changelog: Add entry for azure-nvme-utils 2024-04-24 16:03:31 +00:00
Jeremi Piotrowski
c7363daab5 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-04-24 16:03:31 +00:00
Jeremi Piotrowski
9556c7f94b 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-04-24 16:03:31 +00:00
Jeremi Piotrowski
f9a1e23a92 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-04-24 16:03:31 +00:00
Flatcar Buildbot
e62221d757 sys-kernel/coreos-sources: Update from 6.6.21 to 6.6.28 2024-04-24 15:05:13 +02:00
Dongsu Park
8e46d15150
Merge pull request #1951 from flatcar/dongsu/zfs-kernel-version
coreos/config zfs-kmod: fix Kernel version issue for build_sysext
2024-04-24 15:03:00 +02:00
Krzesimir Nowak
3fc61ba177
Merge pull request #1753 from flatcar/krnowak/systemd-sysext
overlay sys-apps/systemd: Sync with Gentoo, bump to v255.4 and add patches for mutable overlays functionality
2024-04-24 14:04:56 +02:00
Dongsu Park
17b1b63d76 config sys-fs/zfs-kmod: fix Kernel version issue of zfs-kmod
In case of sysext of zfs-kmod, pkg_setup() calls linux-info_get_any_version()
of eclass/linux-info.eclass with MERGE_TYPE=binary and
LINUX_INFO_BINARY_RESET=0. That results in KV_FULL and KV_OUT_DIR being
unset, which is not what we want. So set LINUX_INFO_BINARY_RESET=1 to
avoid such side effect.

Without setting them, build_sysext complains like below, i.e. it tries to find
System.map of a wrong Kernel version 6.6.21, when it should find a newer
version like 6.6.23. That results in subsequent zfs CI tests failing due to
missing files like System.map and module deps.

```
System.map for kernel 6.6.21-flatcar was not found, may be due to the
built kernel sources no longer being available and lacking the fallback:
```

Suggested-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-24 13:59:07 +02:00
Kai Lueke
e0ac1b5af9 Migrate release AMI gc to ci-automation
The deletion of old release AMIs was still relying on the previous
Jenkins setup. Move this to the ci-automation folder.
2024-04-24 16:52:11 +09:00
Kai Lüke
5f177dfa20
Merge pull request #1948 from space55/main
Add CONFIG_PPS_CLIENT_GPIO=m
2024-04-24 04:21:06 +02:00
flatcar-ci
2dda585bae New version: main-3949.0.0-nightly-20240423-2100 2024-04-23 21:00:39 +00:00
Krzesimir Nowak
36001a9f74 overlay profiles: Add accept keywords for dev-libs/expat 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
7560f9390a overlay profiles: Add accept keywords for sys-firmware/intel-microcode 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
96e56031e4 overlay profiles: Drop accept keywords for sys-apps/util-linux 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
6070b98955 overlay profiles: Update accept keywords for net-libs/gnutls 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
2fe8060c8f overlay profiles: Add accept keywords for dev-python/lxml 2024-04-23 17:52:33 +02:00