2016-11-17 09:50:44 |
bjolo |
description |
when running kolla-ansible 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, my 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)
Note, this only affects the genconfig action. kolla-ansible deploy works fine.
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'"} |
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'"} |
|