1999 Commits

Author SHA1 Message Date
Andrey Smirnov
da2e81120f
fix: add informer resync period for node status watcher
Also use a constant everywhere in informers.

Add some debug logs.

Might fix #9991

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-14 19:32:59 +04:00
Noel Georgi
9b957df646
chore: uki code restructure
UKI code re-structure, no-op.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-14 18:01:53 +05:30
Andrey Smirnov
db4ca5668a
feat: add a kernel parameter to disable built-in auditd
Fixes #9907

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-14 14:24:50 +04:00
Andrey Smirnov
faa1490033
feat: update Linux to 6.12.9
Update to the latest 6.12.x.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-13 20:28:33 +04:00
Andrey Smirnov
8de19758da
fix: a couple of imager panics/crashes
Fixes #8987

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-13 19:32:15 +04:00
Andrey Smirnov
5bc3e34cb3
fix: detect GPT before ZFS
Fixes #10069

Pulls in https://github.com/siderolabs/go-blockdevice/pull/122

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-13 18:35:42 +04:00
Andrey Smirnov
edf5c5e29b
fix: extfs repair and resize
Fixes #10103

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-13 13:04:33 +04:00
Andrey Smirnov
6e32ea5b7f
fix: merge of VolumeConfig documents with sizes
Without the fix, the merge panics for `min`/`maxSize` due to missing
`Merge` method.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-10 21:40:28 +04:00
Andrey Smirnov
1be5f8ff25
feat: update Linux to 6.12.8
Also update runc to 1.2.4.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-10 20:18:43 +04:00
Noel Georgi
e6a4583ba8
feat: support generating unsigned UKIs
Support generating unsigned UKI's.

Also plumb in support to `talosctl cluster create` to boot off UKI's.
This doesn't work yet as installer needs more work.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-10 18:39:57 +05:30
Andrey Smirnov
bbd6067d42
fix: partition alignment on disks with 4k sectors
Fixes #10097

See https://github.com/siderolabs/go-blockdevice/pull/121

I added an option to QEMU provisioner to create disks with custom block
sizes (supported for some disk types).

Unfortunately, this case can't be built as a regression as QEMU's
firmware boots fine with ESP partition at 256/1024/2048 LBA.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-09 19:54:43 +04:00
Noel Georgi
fa5300d910
chore: revert: drop deprecated allowSchedulingOnMasters
This reverts commit 32c67c27c393c989f9d70ccb8506c4735f70d494.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-08 16:10:53 +05:30
Noel Georgi
32c67c27c3
chore: drop deprecated allowSchedulingOnMasters
Drop deprecated `.cluster.allowSchedulingOnMasters` machine config
field.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-06 18:20:25 +05:30
Andrey Smirnov
01bf8449b9
fix: update field name for bus path disk selector
`s/buspath/bus_path/`.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-27 16:05:20 +04:00
Andrey Smirnov
e915c98d58
fix: exclude disks with empty transport for disk selector
Fixes #10055

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-27 13:51:19 +04:00
Andrey Smirnov
b7a7fdc4b8
refactor: generate /etc/os-release file static way
The file which is exported back to source via `make generate` is using
short tag (vX.Y.Z), while the one generated for the actual build comes
with full version tag.

Fixes #8898

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-27 13:26:10 +04:00
Andrey Smirnov
4761a9e6aa
chore: update dependencies
Go modules, tools, pkgs, etc.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-26 14:48:31 +04:00
Andrey Smirnov
b72bda0a42
fix: talosctl support and race tests
1. Don't set max cgroups limit if race mode is enabled (only in test
   mode). When e.g. apid/trustd are built with race detector on, they
   consume 10x the memory.
2. Fix a data race in `talosctl support` when showing UI progress.
3. Fix an issue pulling `kubeconfig` in `talosctl support` - pull from
   endpoints (controlplanes) without setting any nodes.

Fixes #10036

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-25 21:05:27 +04:00
Andrey Smirnov
5dc15e8db4
fix: update go-blockdevice to v2.0.9
Pulls in https://github.com/siderolabs/go-blockdevice/pull/120

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-25 15:04:45 +04:00
Noel Georgi
7e5d36d469
fix: pci driver rebind config validation
We need a field named `name` to distinguish between named documents, as
decoder expects a `name` yaml key.

Fixes: https://github.com/siderolabs/talos/discussions/10025

Fixes by using standard `name` field instead of `pciID`.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-12-25 10:36:31 +05:30
Andrey Smirnov
4b97bbc3fe
fix: pull in containerd CNI deadlock fix
See https://github.com/siderolabs/pkgs/pull/1128

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-24 20:52:29 +04:00
Andrey Smirnov
f70b7386ac
test: add a xfs makefs test
Assert on exact allocation for different filesystem size.

Note: this test only reliably works in buildkit, with a specific version
of `xfsprogs`.

Fixes #10021

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-23 19:44:18 +04:00
Andrey Smirnov
8212e4864d
refactor: use quirks in kernel args
Make default args depend on quirks, and also pass quirks down to
platform code.

Reduces amount of hacks, but it is functionally equivalent.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-23 18:52:06 +04:00
Andrey Smirnov
b4aa5189d4
release(v1.10.0-alpha.0): prepare release
This is the official v1.10.0-alpha.0 release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-23 15:15:56 +04:00
Andrey Smirnov
73c82e3e56
feat: bring Linux 6.12.6, CNI plugins 1.6.1
To be backported to Talos 1.9.1.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-20 18:25:57 +04:00
Andrey Smirnov
c12b524914
docs: document Kubernetes service registry incompat with K8s 1.32
Fixes #9980

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-20 17:50:00 +04:00
Noel Georgi
a5660ed778
feat: pcirebind controller
Add a controller to support rebinding drivers for PCI devices.

Fixes: https://github.com/siderolabs/extensions/pull/488

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-12-20 17:35:37 +05:30
Noel Georgi
f75604313d
chore: support gcr.io auth for cache and image gen
Support gcr.io auth for cache and image gen.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-12-19 15:20:19 +05:30
Andrey Smirnov
7d39b9ec2b
feat: remove cgroupsv1 in non-container mode
Following up on deprecation in Talos 1.9, remove it completely for Talos
1.10.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-18 18:48:11 +04:00
Andrey Smirnov
8003536c7c
fix: restore previous disk serial fetching
See https://github.com/siderolabs/go-blockdevice/pull/119

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-18 15:03:53 +04:00
Andrey Smirnov
03116ef9bd
chore: prepare for Talos 1.10
Fork docs, update tests, trim release notes, etc.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-17 19:54:11 +04:00
Andrey Smirnov
284ab11794
feat: support link altnames/aliases
At the moment, we don't use/support aliases, but we might in the future.

Altnames are filled out by `systemd-udevd`.

This PR has two parts:

* show aliases & altnames in `LinkStatus`
* match links by aliases/altnames when we configure
  addresses/routes/links

This should make a transition to `systemd-udevd` less painful if the
previous link name is in `altNames`.

Forked rtnetlink for https://github.com/jsimonetti/rtnetlink/pull/241

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-17 14:09:26 +04:00
Andrey Smirnov
a49bb9ee45
feat: update Linux to 6.12.5
Latest 6.12.x for Talos 1.9.0.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-16 19:50:31 +04:00
Andrey Smirnov
590c016571
feat: update containerd to v2.0.1
See https://github.com/containerd/containerd/releases/tag/v2.0.1

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-16 15:03:11 +04:00
Noel Georgi
ab5bb68842
fix: generate and serve registries with port
Fix generating and serving registies having port in them.
This is needed to copy and serve imagecache from a vfat filesystem.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-12-14 09:33:39 +05:30
Andrey Smirnov
58236066dd
fix: support image cache on VFAT USB stick
Scenario: copy contents of the ISO to the USB VFAT stick.

Make sure VFAT filesystem has a label `TALOS_*`.

Fixes #9936

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-13 17:15:24 +04:00
Andrey Smirnov
d45e8d1d1d
feat: update Kubernetes to 1.32.0
Final Kubernetes release for Talos 1.9.0.

Also update COSI to pull in a fix for watch restarts:
https://github.com/cosi-project/runtime/pull/512

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-12 22:51:33 +04:00
Noel Georgi
136b129121
chore: drop semicolon for supporting vfat filesystems
Drop semicolon in generated cache to support copying image cache to vfat
filesystems.

Fixes: #9935

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-12-12 23:40:06 +05:30
Andrey Smirnov
3e9e027efb
test: add an option to boot from an USB stick
Emulates a boot from a USB stick.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-12 19:59:19 +04:00
Christian Luetke-Stetzkamp
470b75563a
fix: use mtu network option for podman
Fixes: #7881

Signed-off-by: Christian Luteke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-11 19:23:07 +04:00
Andrey Smirnov
bc3039acdb
feat: update runc to 1.2.3
See https://github.com/opencontainers/runc/releases/tag/v1.2.3

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-11 17:55:19 +04:00
Dmitriy Matrenichev
30016a0a8d
fix: avoid nil-pointer-panic in RegistriesConfigController
One billion dollar mistake strikes again. Increase code coverage.

Closes #9912

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-12-11 16:11:05 +03:00
Utku Ozdemir
fe04571527
fix: power on the machine on reboot request in qemu power api
IPMI powers on a machine when a PowerCycle command is sent, making a prior power on call unnecessary. We probably want to do the same thing in our API-based power implementation.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
2024-12-11 13:09:17 +01:00
Andrey Smirnov
10da553ef0
docs: build what's new for 1.9
Also contains various small fixes to the documentation.

Fixes #9853

Fixes #9901

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-10 18:00:21 +04:00
Andrey Smirnov
d946ccae31
feat: update Linux to 6.12.4
Update to the latest 6.12.x, fixes kexec reboot in QEMU.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-10 14:10:35 +04:00
Andrey Smirnov
707a77bf64
test: fix user namespace test, TPM2 fixes
Make sure the test runs on a specific node, wait for swtpm to be up.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-09 20:16:04 +04:00
Andrey Smirnov
c3537b2f54
feat: update Linux to 6.12.3
Latest 6.12.x release.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-09 12:24:33 +04:00
Dmitriy Matrenichev
c4724fc975
chore: add integration tests for image-cache
Provide separate `integration/image-cache` tag.

Closes #9860

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
2024-12-06 20:28:34 +03:00
Andrey Smirnov
07220fe7f5
fix: install iptables-nft to the host
These are used by CNI plugins.

Fixes #9883

See https://github.com/siderolabs/pkgs/pull/1106

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-06 19:59:50 +04:00
Andrey Smirnov
14841750bf
chore: add version compatibility for Talos 1.10
To be backported to 1.9 machinery to provide some forward compatibility.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-06 19:22:33 +04:00