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

Configuration of systemd-resolved does not behave as documented in docs/dns-stack.md #8560

Closed
onock opened this issue Feb 18, 2022 · 0 comments · Fixed by #8561 or #8575
Closed

Configuration of systemd-resolved does not behave as documented in docs/dns-stack.md #8560

onock opened this issue Feb 18, 2022 · 0 comments · Fixed by #8561 or #8575
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@onock
Copy link
Contributor

onock commented Feb 18, 2022

Environment:

Kubespray version (commit) (git rev-parse --short HEAD):
master branch including 063fc52

Network plugin used:
calico

Command used to invoke ansible:
ansible-playbook -i inventory/cluster/inventory.ini --become --become-user=root cluster.yml

Anything else do we need to know:
with following (default) variables set:

enable_nodelocaldns: true
resolvconf_mode: host_resolvconf

the playbook creates /etc/systemd/resolved.conf with "DNS=169.254.25.10" although this ip is not yet reachable at the beginning. According to the document docs/dns-stack.md this problem is known and with using of dns_early and dns_late "fixed". But for systemd-resolved there is no difference configured in both stages.

Furthermore in docs/dns-stack.md it is written that upstream_dns_servers should be used in host_resolvconf mode. But configured upstream_dns_servers are not added to /etc/systemd/resolved.conf.

If both would work correct the same DNS problems occur on running reset.yml. After this playbook DNS resolution is broken because of "DNS=169.254.25.10".

@onock onock added the kind/bug Categorizes issue or PR as related to a bug. label Feb 18, 2022
onock added a commit to onOfficeGmbH/kubespray that referenced this issue Feb 18, 2022
k8s-ci-robot pushed a commit that referenced this issue Mar 14, 2022
sakuraiyuta pushed a commit to sakuraiyuta/kubespray that referenced this issue Apr 16, 2022
LuckySB pushed a commit to southbridgeio/kubespray that referenced this issue Jun 29, 2023
LuckySB pushed a commit to southbridgeio/kubespray that referenced this issue Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
1 participant