On host systems with IPv6 enabled, install fails at overcloud_prep_network step due to ipv6 dns server being used for ipv4 neutron network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Martin André |
Bug Description
CentOS 7 host system, with IPv6 enabled
OpenStack environment: Latest upstream via latest tripleo-quickstart devmode.sh
DNS resolver set thus:
[dpeacock@gandalf ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
search davidjpeacock.ca
nameserver 192.168.1.1
nameserver 2001:4860:
nameserver 2001:4860:
tripleo-quickstart kicked off against this host via:
`$ ./devmode.sh --no-gate gandalf`
Ansible failure information:
```
TASK [overcloud-
task path: /home/dpeacock/
Monday 04 December 2017 16:28:43 -0500 (0:01:09.077) 1:06:14.707 *******
changed: [undercloud] => {"changed": true, "checksum": "ddd8237240fd5f
TASK [overcloud-
task path: /home/dpeacock/
Monday 04 December 2017 16:29:22 -0500 (0:00:38.915) 1:06:53.622 *******
fatal: [undercloud]: FAILED! => {"changed": true, "cmd": "set -o pipefail && /home/stack/
PLAY RECAP *******
gandalf : ok=156 changed=75 unreachable=0 failed=0
localhost : ok=17 changed=8 unreachable=0 failed=1
undercloud : ok=49 changed=34 unreachable=0 failed=1
```
Log of failure from undercloud virt:
```
[stack@undercloud ~]$ tail -20 overcloud_
2017-12-04 21:29:46 | DEVICETYPE=ovs
2017-12-04 21:29:46 | TYPE=OVSIntPort
2017-12-04 21:29:46 | BOOTPROTO=static
2017-12-04 21:29:46 | IPADDR=10.0.0.1
2017-12-04 21:29:46 | NETMASK=
2017-12-04 21:29:46 | OVS_BRIDGE=
2017-12-04 21:29:46 | OVS_OPTIONS=
2017-12-04 21:29:46 | EOF'
2017-12-04 21:29:46 | + sudo ifup ifcfg-vlan10
2017-12-04 21:29:51 | ++ neutron net-list
2017-12-04 21:29:51 | ++ awk '/ctlplane/{print $(NF-2) }'
2017-12-04 21:29:51 | neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
2017-12-04 21:29:54 | ++ cat /etc/resolv.conf
2017-12-04 21:29:54 | ++ grep nameserver
2017-12-04 21:29:54 | ++ awk '{ print $2 }'
2017-12-04 21:29:54 | ++ sed ':a;N;$!ba;s/\n/ --dns-nameserver /g'
2017-12-04 21:29:54 | + neutron subnet-update f115ae1b-
2017-12-04 21:29:55 | neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
2017-12-04 21:29:57 | Invalid input for operation: dns_nameserver '2001:4860:
2017-12-04 21:29:57 | Neutron server returns request_ids: ['req-b7b17c8a-
```
Expected result:
Correct setup for DNS, and ultimate successful deployment.
Actual result:
Failure due to confusion of dns_nameserver not being an IPv4 address.
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → queens-3 |
summary: |
On host systems with IPv6 enabled, install fails at - overcloud_prep_network step + overcloud_prep_network step due to ipv6 dns server being used for ipv4 + neutron network |
tags: | added: quickstart |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Are you attempting to deploy the overcloud using ipv6?
If you are passing the following config to devmode [1]
[1] https:/ /github. com/openstack/ tripleo- quickstart/ blob/master/ config/ general_ config/ featureset024. yml