Open dsseng opened 9 months ago
Same if I use HOME=/tmp/tl-dev-home sudo --preserve-env=HOME talosctl cluster create --provisioner=qemu --extra-uefi-search-paths "/tmp"
with a talosctl binary from talos 1.5.6
Alright, that's a firewalld issue resolved after stopping it. Will keep the issue open as it should be documented somewhere that you need to ignore the interface in the firewall
I didn't find how to make firewalld accept everything so I just suspend it since I develop inside a network that is already firewalled and my only open ports are ones from Talos and a hardened ssh.
We are not using Red Hat-based OSes with firewalld
, so we don't know what the problem is. If you find a solution, please update the docs/fix it. In theory it should work, as CNI utils which set up networking should work directly with firewalld.
Okay, let's keep this open for others who stumble across this problem. If I think of a solution I'll reply.
Okay, this should fix it, for users using firewalld
sudo firewall-cmd --permanent --new-zone=talos
sudo firewall-cmd --permanent --zone=talos --set-target=ACCEPT
sudo firewall-cmd --permanent --zone=talos --add-interface="talos+"
sudo firewall-cmd --permanent --zone=talos --add-interface="veth+"
sudo firewall-cmd --reload
Apparently this broke again
Apparently this broke again
If you're using docker let it messes up with firewall rules, I've this in /etc/docker/daemon.json
{"iptables":false}
note that this will break non host network docker containers
note that this will break non host network docker containers
:(
note that this will break non host network docker containers
:(
I use podman for such cases and buildkit runs with host network, so all talos development should just work
Well, maybe. But for now with secure network I can just disable firewalld while testing
This behavior can also manifest itself when behind a proxy that does not let NTP traffic through. I work around that by setting an internal NTP server via a --config-patch
that looks like
machine:
time:
servers:
- ntp.example.com
Forgot to mention that I also pass a --nameservers
option to set a pair internal name servers.
Bug Report
QEMU test cluster ran from the guide fails because of inability to reach the 8.8.8.8 DNS resolver. 8.8.8.8 can be pinged from the host thus I believe it's a VM config issue or a compatibility problem.
Description
HOME is set to tmp to make installation temporary (I typically do one-time stuff and build artifacts on tmpfs). Extra search path includes OVMF_CODE.fd and OVMF_VARS.fd because provisioner couldn't find them in locations SUSE puts those in by default.
Logs
Environment
talosctl version --nodes <problematic nodes>
] main 5324d391671dfbf918aee1bd6b095adffadecf8ekubectl version --short
] 1.28 perhaps