ansible/ansible/host_vars/10.204.216.64.yml\", ", " \"size\": 68, ", " \"state\": \"file\", ", " \"uid\": 0", "}", "", "TASK [create_openstack_config : Merge kolla_globals params] ********************", "fatal: [10.204.216.150]: FAILED! => {}", "", "MSG:", "", "The task includes an option with an undefined variable. The error was: {{ kolla_config.kolla_globals if kolla_config.kolla_globals is defined else default_kolla_globals}}: {u'neutron_opencontrail_init_image_full': u'{{ container_registry }}/contrail-openstack-neutron-init:{{ contrail_tag }}', u'openstack_release': u'ocata', u'ironic_notification_manager_image_full': u'{{ container_registry}}/contrail-openstack-ironic-notification-manager:{{ contrail_tag }}', u'enable_swift': True, u'customize_etc_hosts': False, u'heat_opencontrail_init_image_full': u'{{ container_registry}}/contrail-openstack-heat-init:{{ contrail_tag }}', u'contrail_api_interface_address': u'{{ contrail_node_control }}', u'enable_barbican': True, u'ironic_conductor_tag': u'4.0.0', u'kolla_external_vip_address': u'{{ os_node_mgmt }}', u'neutron_plugin_agent': u'opencontrail', u'kolla_internal_vip_address': u'{{ os_node_control }}', u'nova_compute_opencontrail_init_image_full': u'{{ container_registry}}/contrail-openstack-compute-init:{{ contrail_tag }}'}: {%- set node_list = [] -%}", " {%- for k,v in hostvars['localhost']['instances'].iteritems() -%}", " {%- if v.roles is not defined or v.roles.openstack is defined or v.roles.openstack_control is defined -%}", " {%- if hostvars[inventory_hostname]['ansible_' + hostvars[inventory_hostname]['external_interface_detected']].get('ipv4',{}).get('address') -%}", " {%- do node_list.append(v.ip) -%}", " {%- endif -%}", " {%- endif -%}", " {%- endfor -%}", " {{ node_list | first }}: 'dict object' has no attribute u'ansible_eth0'", "", "The error appears to have been in '/tmp/ansible.F9VZXN_contrail/contrail-ansible-deployer/playbooks/roles/create_openstack_config/tasks/main.yml': line 31, column 3, but may", "be elsewhere in the file depending on the exact syntax problem.", "", "The offending line appears to be:", "", "", "- name: Merge kolla_globals params", " ^ here", "", "exception type: ", "exception: {{ kolla_config.kolla_globals if kolla_config.kolla_globals is defined else default_kolla_globals}}: {u'neutron_opencontrail_init_image_full': u'{{ container_registry }}/contrail-openstack-neutron-init:{{ contrail_tag }}', u'openstack_release': u'ocata', u'ironic_notification_manager_image_full': u'{{ container_registry}}/contrail-openstack-ironic-notification-manager:{{ contrail_tag }}', u'enable_swift': True, u'customize_etc_hosts': False, u'heat_opencontrail_init_image_full': u'{{ container_registry}}/contrail-openstack-heat-init:{{ contrail_tag }}', u'contrail_api_interface_address': u'{{ contrail_node_control }}', u'enable_barbican': True, u'ironic_conductor_tag': u'4.0.0', u'kolla_external_vip_address': u'{{ os_node_mgmt }}', u'neutron_plugin_agent': u'opencontrail', u'kolla_internal_vip_address': u'{{ os_node_control }}', u'nova_compute_opencontrail_init_image_full': u'{{ container_registry}}/contrail-openstack-compute-init:{{ contrail_tag }}'}: {%- set node_list = [] -%}", " {%- for k,v in hostvars['localhost']['instances'].iteritems() -%}", " {%- if v.roles is not defined or v.roles.openstack is defined or v.roles.openstack_control is defined -%}", " {%- if hostvars[inventory_hostname]['ansible_' + hostvars[inventory_hostname]['external_interface_detected']].get('ipv4',{}).get('address') -%}", " {%- do node_list.append(v.ip) -%}", " {%- endif -%}", " {%- endif -%}", " {%- endfor -%}", " {{ node_list | first }}: 'dict object' has no attribute u'ansible_eth0'", "", "NO MORE HOSTS LEFT *************************************************************", "\tto retry, use: --limit @/tmp/ansible.F9VZXN_contrail/contrail-ansible-deployer/playbooks/install_contrail.retry", "", "PLAY RECAP *********************************************************************", "10.204.216.150 : ok=13 changed=4 unreachable=0 failed=1 ", "10.204.216.153 : ok=10 changed=1 unreachable=0 failed=0 ", "10.204.216.64 : ok=10 changed=1 unreachable=0 failed=0 ", "10.204.216.65 : ok=10 changed=1 unreachable=0 failed=0 ", "10.204.217.114 : ok=10 changed=2 unreachable=0 failed=0 ", "10.204.217.115 : ok=10 changed=1 unreachable=0 failed=0 ", "localhost : ok=3 changed=2 unreachable=0 failed=0 "]} to retry, use: --limit @/root/contrail-tools/ansible/playbooks/deploy.retry PLAY RECAP ********************************************************************* localhost : ok=20 changed=4 unreachable=0 failed=1