fuelmenu incorrectly selects astute.yaml for update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Matthew Mosesohn | ||
5.0.x |
Fix Committed
|
High
|
Matthew Mosesohn |
Bug Description
I've run fuelmenu on deployed master node and changed dns settings. Changes were saved /etc/astute.yaml.
After that I've run 'dockerctl restart cobbler' and it was update with broken settings from /etc/fuel/
# cat /etc/astute.yaml
HOSTNAME: fuel
DNS_DOMAIN: domain.tld
DNS_SEARCH: domain.tld
DNS_UPSTREAM: 172.18.16.11
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_
mac: 08:00:27:38:fd:41
dhcp_pool_end: 10.20.0.254
interface: eth0
static_pool_end: 10.20.0.127
ipaddress: 10.20.0.2
TEST_DNS: www.google.com
# cat /etc/fuel/
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_
mac: 08:00:27:38:fd:41
dhcp_pool_end: 10.20.0.254
interface: eth0
static_pool_end: 10.20.0.127
ipaddress: 10.20.0.2
# dockerctl shell cobbler
[root@9b6a7b0dfcd2 ~]# cat /etc/dnsmasq.
domain
search domain.tld
nameserver 8.8.8.8
Another strange point is empty 'domain' field in dnsmasq.upstream. Maybe there should be another bug report for it.
I've copy /etc/astute.yaml to /etc/fuel/
# puppet apply /etc/puppet/
ls: cannot access /dev/sda?: No such file or directory
ls: cannot access /dev/sda?: No such file or directory
Warning: Could not retrieve fact fqdn
Warning: Host is missing hostname and/or domain: 9b6a7b0dfcd2
Warning: Config file /etc/puppet/
Notice: Compiled catalog for 9b6a7b0dfcd2 in environment production in 1.43 seconds
ls: cannot access /dev/sda?: No such file or directory
ls: cannot access /dev/sda?: No such file or directory
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: Finished catalog run in 9.32 seconds
[root@9b6a7b0dfcd2 ~]# cat /etc/dnsmasq.
domain
search domain.tld
nameserver 172.18.16.11
Changed in fuel: | |
importance: | Undecided → High |
Also I had to restart nailgun receiverd in order to download diagnostic snapshot