5200 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
Noel Georgi
e41a995253
fix: kube-apiserver authorizers order
Fixes handling of `kube-apiserver` authorization config authorizers.
order.

Fixes: #10110

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-14 16:49:25 +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
ed7e47d158
refactor: drop usage of objcopy to generate UKIs
This brings native implementation without external dependencies.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-13 13:43:36 +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
Andrey Smirnov
84fcc976f8
fix: yet another dashboard panic
Fixes #10088

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-09 15:58:01 +04:00
Andrey Smirnov
6d605fc859
fix: disable NRI plugin in a different way
This way it's easy to re-enable NRI plugins with a simple change.

See https://github.com/siderolabs/talos/discussions/10068

I tested that it works e2e with NRI plugins repository.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-09 15:19:10 +04:00
TomyLobo
499695e24e
fix: request previous IP address in discovery
This ensures that even in the event of a DHCP downtime that exceeds the
lease time, the current IP can be maintained.

Signed-off-by: TomyLobo <tomylobo@nurfuerspam.de>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-09 14:42:03 +04:00
Ganawa Juanah
cc84caf8c0
docs: update Cilium documentation
Update version references, add Gateway API.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Signed-off-by: Ganawa Juanah <ganawa@juanah.com>
2025-01-08 16:04:44 +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
Tim Olson
0abb3dabf6
docs: fix command to wait for ceph-rook HEALTH_OK
Fixed command to wait for ceph-rook HEALTH_OK

Signed-off-by: Tim Olson <shamme@gmail.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-08 13:54:13 +04:00
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
Dmitry Sharshakov
ae6d065beb
fix: mount selinuxfs only when SELinux is enabled
Having selinuxfs mounted might confuse some software, as conventional Linux systems do not have selinuxfs mounted when SELinux is disabled and no policy is loaded.

Fixes #10083

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
2025-01-05 19:17:34 +03:00
Noel Georgi
5ccbf4bcdb
feat: enable configfs
Enable `configfs`.

Ref: https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt

Part of: https://github.com/siderolabs/extensions/issues/562

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-03 20:06:17 +05:30
Noel Georgi
59582496d5
feat: bring in partity with sd-257
Bring in parity with systemd 257 by supporting more UKI sections.

The output of `sd-measure` and our measure code will be different until
https://github.com/systemd/systemd/pull/35765 is fixed upstream.

Fixes: #10075

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-03 17:34:17 +05:30
Noel Georgi
83d84a8318
chore(ci): better zfs checks
Part of: https://github.com/siderolabs/extensions/issues/572

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-02 21:12:31 +05:30
Andrey Smirnov
650eb3a4f2
refactor: rewrite cloud uploader to use AWS SDK Go v2
The v1 SDK was deprecated and archived.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-27 20:28:12 +04:00
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
Noel Georgi
e79c9e1277
chore(ci): drop equinix metal e2e-test
Drop Equinix Metal e2e tests, due to EM machines mostly not booting
properly over PXE, drop the test as it adds no value.

Fixes: #10034

Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-12-26 22:41:01 +05:30
Andrey Smirnov
4189454441
fix: build of talosctl on non-Linux platforms
The code from `talosctl` imports transitively tpm package, so make it
build on non-Linux.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-26 18:53:51 +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
f98efb333f
fix: ignore member not found error on leave cluster
Fixes #10040

Sometimes etcd after 'server stoppped' error actually removes a member,
so the next attempt returns member not found, ignore it, as our goal was
to remove a member.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-25 22:12:48 +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
27233cf0fc
test: use node informer instead of raw watch
This should improve watch reliability, as it was failing on channel
being closed.

Fixes #10039

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-25 18:52:07 +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
Andrey Smirnov
5f3acd0f26
fix: use correct default search domain
Search domain should be domain name of the hostname, not the FQDN.

Bug introduced in #9844

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-25 14:38:00 +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
0664807229
test: fix apparmor tests
Remove selinux more actively.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-24 20:10:59 +04:00
Andrey Smirnov
82ea44a6b2
fix: reduce installer image
This still allows running install on 1 GiB hardware.

Fixes #10024

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-24 19:03:42 +04:00
Dmitry Sharshakov
78b3e7f4f1
fix: get next rule number for IPv6 in the appropriate chain
Does not fix anything, but looks more correct

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
2024-12-24 13:45:07 +01:00
Andrey Smirnov
675854aa03
docs: fix two typos
Fixes #10014

Fixes #10007

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-23 20:09:45 +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>
v1.10.0-alpha.0 pkg/machinery/v1.10.0-alpha.0
2024-12-23 15:15:56 +04:00
Dmitry Sharshakov
bd85bd5b73
fix: fix Failed to initialize SELinux labeling handle udev error
Create a dummy SELinux file_contexts file to mitigate the warning. We do not rely on libselinux for labeling, so empty file suffices.

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
2024-12-20 18:38:46 +01: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
Andrey Smirnov
4c3261626f
docs: fix several typos
Fixes #10000

Fixes #10001

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-12-20 14:53:54 +04:00