[library] DNS settings are not applied to instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Bogdan Dobrelya |
Bug Description
{"build_id": "2014-03-
Steps to reproduce.
1. Deploy KVM with MasterFuel ISO.
2. Go to Fuel WebUI
3. Deploy OpenStack with parameters:
CentOS 6.4 distributive,
KVM hipervizor,
NovaNetwork,
Install Savanna.
{Controller (KVM)} + {Compute-Ceph OSD (Hardware).}
4. Start Instance(CentOS 6.4)
5. Establish ssh connect with instance.
6.
-------
[root@test-2 ~]# ping -c 3 ya.ru
ping: unknown host ya.ru
[root@test-2 ~]# 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=48 time=38.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=48 time=38.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=48 time=36.9 ms
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2040ms
rtt min/avg/max/mdev = 36.967/
-------
7. Start Instance(Ubuntu 12.04)
8. Establish ssh connect with instance.
9.
-------
ubuntu@test-1:~$ ping -c 3 ya.ru
ping: unknown host ya.ru
ubuntu@test-1:~$ 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_req=1 ttl=48 time=36.9 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=48 time=39.5 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=48 time=36.7 ms
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 36.796/
-------
resolv.conf in instances:
-------
ubuntu@test-1:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.0.0.3
search novalocal
-------
[root@test-2 ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-
search novalocal
nameserver 10.0.0.3
-------
IP 10.20.0.3 - Controller node IP
resolv.conf in controller node:
-------
[root@node-3 ~]# cat /etc/resolv.conf
# Generated by NetworkManager
domain domain.tld
search domain.tld
nameserver 10.20.0.2
-------
IP 10.20.0.2 - Fuel Master node IP
resolv.conf in Fuel Master node:
-------
[root@fuel ~]# cat /etc/resolv.conf
nameserver 127.0.0.1
-------
[root@fuel etc]# cat /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
static_
netmask: 255.255.255.0
dhcp_pool_end: 10.20.0.254
interface: eth0
static_pool_end: 10.20.0.127
ipaddress: 10.20.0.2
Changed in fuel: | |
milestone: | none → 5.0 |
Changed in fuel: | |
status: | Invalid → New |
Changed in fuel: | |
milestone: | 5.0 → 5.1 |
Changed in fuel: | |
assignee: | nobody → Bogdan Dobrelya (bogdando) |
importance: | Undecided → Medium |
Changed in fuel: | |
status: | Invalid → Confirmed |
summary: |
- DNS settings are not applied to instances + [library] DNS settings are not applied to instances |
If change nameserver in controller and conpute nodes in resolv.conf file from 10.20.0.2 to 8.8.8.8, DNS settings are applied