when running kolla-ansible deploy/genconfig with a dedicated tunnel_interface, it fails on the controller nodes. The failure is correct in the sense that the tunnel_interface is missing. However, the controller nodes does not have a tunnel_interface configured since the controllers do not require to have a tunnel interface. (and should not have it) Tunnel interface is only needed on network and compute nodes
TASK [neutron : Copying over ml2_conf.ini dest={{ node_config_directory }}/{{ item }}/ml2_conf.ini, sources=[u'{{ role_path }}/templates/ml2_conf.ini.j2', u'{{ node_custom_config }}/neutron/ml2_conf.ini', u'{{ node_custom_config }}/neutron/{{ inventory_hostname }}/ml2_conf.ini'], vars={u'service_name': u'{{ item }}'}] ***
fatal: [eselde02u32.mydomain.net]: FAILED! => {"failed": true, "msg": "{{ hostvars[inventory_hostname]['ansible_' + tunnel_interface]['ipv4']['address'] }}: 'dict object' has no attribute u'ansible_bond0.820'"}
fatal: [eselde02u34.mydomain.net]: FAILED! => {"failed": true, "msg": "{{ hostvars[inventory_hostname]['ansible_' + tunnel_interface]['ipv4']['address'] }}: 'dict object' has no attribute u'ansible_bond0.820'"}
fatal: [eselde02u33.mydomain.net]: FAILED! => {"failed": true, "msg": "{{ hostvars[inventory_hostname]['ansible_' + tunnel_interface]['ipv4']['address'] }}: 'dict object' has no attribute u'ansible_bond0.820'"}
Reviewed: https:/ /review. openstack. org/463509 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=a3f957591c3 cb6d44d8ed5629a f644d5885be963
Committed: https:/
Submitter: Jenkins
Branch: master
commit a3f957591c3cb6d 44d8ed5629af644 d5885be963
Author: Eduardo Gonzalez <email address hidden>
Date: Tue May 9 10:55:54 2017 +0200
Only use br-tun on network and compute nodes
Neutron-server does not use br-tun at all,
this is only needed at compute and network nodes.
Change-Id: I0e11baa3fc8ee1 5c951cf4fc9aaa3 a1d47819e81
Closes-Bug: #1642521