-
Bug
-
Resolution: Done-Errata
-
Critical
-
None
-
None
-
5
-
False
-
-
False
-
?
-
openstack-ansible-ee-container-1.0.12-1
-
rhos-dfg-nfv
-
Yes
-
-
-
Rejected
-
Important
DNS nameserver is not updated by NetworkManager based on nmstate config for multinode network config in ci job cluster for OSP!8 deployment.
To Reproduce Steps to reproduce the behavior
Network Config:
[zuul@compute-0 ~]$ cat /etc/os-net-config/config.yaml --- network_config: - type: interface name: nic1 use_dhcp: true mtu: 1500 - type: ovs_bridge name: br-ex mtu: 1500 use_dhcp: false dns_servers: ['192.168.122.80'] domain: ['ctlplane.example.com', 'internalapi.example.com', 'storage.example.com', 'tenant.example.com'] addresses: - ip_netmask: 192.168.122.100/24 routes: [{'destination': '0.0.0.0/0', 'nexthop': '192.168.122.1'}] members: - type: interface name: nic2 mtu: 1500 # force the MAC address of the bridge to this interface primary: true - type: vlan mtu: 1500 vlan_id: 20 addresses: - ip_netmask: 172.17.0.100/24 routes: [] - type: vlan mtu: 1500 vlan_id: 21 addresses: - ip_netmask: 172.18.0.100/24 routes: [] - type: vlan mtu: 1500 vlan_id: 22 addresses: - ip_netmask: 172.19.0.100/24 routes: []
nmstate config:
[zuul@compute-0 ~]$ sudo nmstatectl show | grep "dns-resolver" -A20
[2025-05-07T13:16:05Z INFO nmstatectl] Nmstate version: 2.2.44
dns-resolver:
running:
server:
- 192.168.122.80
search:
- ctlplane.example.com
- internalapi.example.com
- storage.example.com
- tenant.example.com
config:
server:
- 192.168.122.80
search:
- ctlplane.example.com
- internalapi.example.com
- storage.example.com
- tenant.example.com
Same nmstate dns config manually applied:
[zuul@compute-0 ~]$ cat test-dns.yaml dns-resolver: config: search: - ctlplane.example.com - internalapi.example.com - storage.example.com - tenant.example.com server: - 192.168.122.80
DNS nameserve is not updated in '/etc/resolv.conf'
[zuul@compute-0 ~]$ cat /etc/resolv.conf # Generated by NetworkManager nameserver 199.204.44.24 nameserver 199.204.47.54
Environment details:
[zuul@compute-0 ~]$ nmstatectl --version nmstatectl 2.2.44 [zuul@compute-0 ~]$ nmcli -v nmcli tool, version 1.53.3-1.el9 [zuul@compute-0 ~]$ cat /etc/redhat-release CentOS Stream release 9 [zuul@compute-0 ~]$ sudo uname -a Linux compute-0 5.14.0-580.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 22 20:29:48 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Expected behavior
DNS nameserver should be updated in compute node based on nmsate config.
- links to
-
RHBA-2025:152103 Release of containers for RHOSO OpenStack EDPM images