Comment 4 for bug 1294085

Revision history for this message
Vadim Rovachev (vrovachev) wrote : Re: DNS settings are not applied to instances

{"build_id": "2014-04-30_10-31-20", "mirantis": "yes", "build_number": "170", "ostf_sha": "134765fcb5a07dce0cd1bb399b2290c988c3c63b", "nailgun_sha": "fb676be97794d4b63b8d179e2a8518ad70448f48", "production": "docker", "api": "1.0", "fuelmain_sha": "44954d8ffd74d27219434ec5b676874504b6bf76", "astute_sha": "3cffebde1e5452f5dbf8f744c6525fc36c7afbf3", "release": "5.0", "fuellib_sha": "fd547e5008957183200608124c677c096bf099f9"}

I really did not specify external DNS servers for node deployment.
But default DNS servers 8.8.4.4 and 8.8.8.8.

in fuel_master node:
vim /etc/astute.yaml:
HOSTNAME: fuel
DNS_DOMAIN: domain.tld
DNS_SEARCH: domain.tld
DNS_UPSTREAM: 8.8.8.8
NTP1: 0.pool.ntp.org
NTP2: 1.pool.ntp.org
NTP3: 2.pool.ntp.org
ADMIN_NETWORK:
  dhcp_pool_start: 10.20.0.128
  netmask: 255.255.255.0
  static_pool_start: 10.20.0.3
  mac: 52:54:00:95:3b:a4
  dhcp_pool_end: 10.20.0.254
  interface: eth0
  static_pool_end: 10.20.0.127
  ipaddress: 10.20.0.2

But I create instace and go to instance console:

.# ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=68.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=46 time=70.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=46 time=70.4 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2073ms

# ping -c 3 ya.ru
ping: unknown host ya.ru

# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search novalocal
nameserver 10.0.0.3