Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backports: for v1.7.3 #8817

Merged
merged 8 commits into from
May 29, 2024
Merged

Conversation

smira and others added 4 commits May 28, 2024 20:58
Using the latest LTS for Talos v1.7.3.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Try to activate/deactivate watchdogs, change timeout, run only on QEMU.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
(cherry picked from commit da8305f)
See siderolabs/go-tail#2

It seems to pop up more with compressed logs, but overall makes sense to
be fixed.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
(cherry picked from commit d430704)
Fixes siderolabs#8753

There seems to be a problem in the machine config anyways, as
`machine.ca.crt` is missing for the worker (this should break `apid`
connectivity), but still Talos controller shouldn't enter a panic loop.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
(cherry picked from commit ce8c86d)
@smira smira added this to the v1.7 milestone May 28, 2024
DmitriyMV and others added 4 commits May 29, 2024 14:02
- By default, github.com/miekg/dns uses `dns.MinMsgSize` for UDP messages, which is 512 bytes. This is too small for some
DNS request/responses, and can cause truncation and errors. This change sets the buffer size to `dns.DefaultMsgSize`
4096 bytes, which is the maximum size of a dns packet payload per RFC 6891.
- We also retry the request if the response is truncated or previous connection was closed.
- And finally we properly handle the case where the response is larger than the client buffer size,
and we return a truncated correct response.

Closes siderolabs#8763

Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
(cherry picked from commit a9cf9b7)
Logs:

```
[    7.127481] [talos] adjusting time (jump) by -205704h26m36.111961385s via 162.159.200.1, state TIME_OK, status STA_NANO {"component": "controller-runtime", "controller":t}
```

Fix: beevik/ntp#47

Fixes: siderolabs#8771

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
(cherry picked from commit 01ea820)
When `udevd` rescans block device partitions while Talos is doing
partitions, it might be that Talos can hit the following error
while trying to open/mount a partition:

```
no such device or address
```

Previous attempts to fix that were using `ENODEV`, while the proper code
is `ENXIO`.

Also take exclusive lock while working with user disks to prevent
concurrent udevd rescan.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
(cherry picked from commit 92a274e)
Fixes siderolabs/pkgs#963

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
(cherry picked from commit da7f276)
@smira
Copy link
Member Author

smira commented May 29, 2024

/promote integration-extensions

@smira
Copy link
Member Author

smira commented May 29, 2024

/promote integration-misc

@smira
Copy link
Member Author

smira commented May 29, 2024

/promote e2e-gcp

@smira
Copy link
Member Author

smira commented May 29, 2024

/promote integration-provision

@smira
Copy link
Member Author

smira commented May 29, 2024

/promote e2e-aws

@smira
Copy link
Member Author

smira commented May 29, 2024

/promote integration-qemu

@smira
Copy link
Member Author

smira commented May 29, 2024

/promote integration-trusted-boot

@smira
Copy link
Member Author

smira commented May 29, 2024

/m

@talos-bot talos-bot merged commit 92ec41c into siderolabs:release-1.7 May 29, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants