You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
$ sudo ip -c link show type veth
134: vethadacb043@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master ovs-system state UP mode DEFAULT group default
link/ether 7a:60:ee:dc:36:8d brd ff:ff:ff:ff:ff:ff link-netns cni-25748b73-bbe2-9192-e577-08cd2f9a8c73
135: vethaa3b9d9e@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master ovs-system state UP mode DEFAULT group default
link/ether fe:46:d2:44:a1:62 brd ff:ff:ff:ff:ff:ff link-netns cni-b774f37d-5516-7169-3bbc-65902b03fce8
No DNS traffic observed on selected interface:
sudo tcpdump -vvvv -i vethadacb043 port 53
dropped privs to tcpdump
tcpdump: listening on veth7b3a3ac3, link-type EN10MB (Ethernet), capture size 262144 bytes
^C
To fix the problem I need to do the followiing:
Kill the dnsmasq process, manually modify the dnsmasq.conf file and set the interface to the ovs local port (ovsbr3), then restart dnsmasq.
Modify the container's /etc/resolv.conf to select the OVS local port's IP address (192.168.128.1).
The second issue can be managed with the podman create "--dns" parameter but the incorrect interface from the first issue is problematic. Expected behavior is that the correct interface is selected when the dnsmasq configuration file is generated.
The text was updated successfully, but these errors were encountered:
drchristensen
changed the title
Using dnsname plugin with ovs-cni Does Not Results in "Temporary failure in name resolution"
Using dnsname plugin with ovs-cni Results in "Temporary failure in name resolution"
May 25, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Running podman v2.0.5 and openvswitch v2.15.90 under RHEL 8.3 on a ppc64le PowerNV system.
Compiled and installed openvswitch from source (openvswitch/ovs@76b720e)
Compiled and installed ovs-cni from source (k8snetworkplumbingwg/ovs-cni@c176f8c), then created CNI configuration file:
Compiled and installed dnsname from source (43a45e5).
Create pods and attach containers:
Enter container and check DNS:
Check other settings:
No DNS traffic observed on selected interface:
To fix the problem I need to do the followiing:
The second issue can be managed with the podman create "--dns" parameter but the incorrect interface from the first issue is problematic. Expected behavior is that the correct interface is selected when the dnsmasq configuration file is generated.
The text was updated successfully, but these errors were encountered: