R5.0-micro-services provision - network interface default value eth0.

Bug #1763605 reported by Ritam Gangopadhyay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Won't Fix
High
Senthilnathan Murugappan
Trunk
Fix Committed
High
Senthilnathan Murugappan

Bug Description

https://github.com/Juniper/contrail-tools/blob/6dcab06b89e47b861809628d288a24a672b022f8/ansible/playbooks/roles/deploy/defaults/main.yml#L15

This should be populated from the CTRL_DATA_NET_LIST by openstack deployer tasks. Don't think we need it any longer.

Revision history for this message
Sudheendra Rao (sudheendra-k) wrote :
Download full text (4.8 KiB)

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: <class 'ansible.errors.AnsibleUndefinedVariable'>", "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-op...

Read more...

tags: added: sanityblocker
Revision history for this message
Jeba Paulaiyan (jebap) wrote :
Jeba Paulaiyan (jebap)
tags: added: sanity
removed: sanityblocker
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.